• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange Error


  • Subject: Strange Error
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 20 Jan 2011 11:52:12 -0600

I have a really strange error that I can't resolve.
I found the offending line of code ...

try
set applAlias to (file applPosixPath) as alias
on error
tell me to display dialog "error" --***********************
return itemNamesList
end try

When I run the script from Smile, it works perfectly. But ...
When I compile the script to an application bundle, using either Smile or AppleScript Editor, the application displays "error". Every time!

Anyone have any idea what's going wrong?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange Error
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: varibles in handler
  • Next by Date: Re: Strange Error
  • Previous by thread: Re: Setting QuickTime Player 7 Preferences
  • Next by thread: Re: Strange Error
  • Index(es):
    • Date
    • Thread