• 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
Re: how can script bundles store extra stuff?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can script bundles store extra stuff?


  • Subject: Re: how can script bundles store extra stuff?
  • From: Emmanuel <email@hidden>
  • Date: Sun, 24 Jul 2005 21:32:07 +0200

At 7:27 PM +0100 7/24/05, has wrote:
The problem is that AppleScript packs both the 'me' reference and 'current application' constant into an Apple event as null descriptors, so an application or osax handling that event is unable to determine which one the user meant. For example, in Smile, both 'path to me' and 'path to current application' return the path to the script file if one exists, or to the Smile application if not. Whereas for 'path to me' what it ought to do is return the path to the script file if one exists or raise an error if not, and for 'path to current application'. always return the path to Smile.app.

That's very minor, but I think that previous versions of Smile would return the path to the script for a "path to me" run from a compiled script in Smile, whereas "path to current application" would always return Smile's path.


This has been changed into what you say, in order to make debugging applets easier, so I would rather disagree with your statement about what Smile "ought to do".

Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: how can script bundles store extra stuff? (From: Daniel Jalkut <email@hidden>)
 >Re: how can script bundles store extra stuff? (From: has <email@hidden>)

  • Prev by Date: Re: set myList to myList & ... and unexpected results
  • Next by Date: Re: set myList to myList & ... and unexpected results
  • Previous by thread: Re: how can script bundles store extra stuff?
  • Next by thread: Re: how can script bundles store extra stuff?
  • Index(es):
    • Date
    • Thread