• 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: osascript - path to me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osascript - path to me


  • Subject: Re: osascript - path to me
  • From: Chris Page <email@hidden>
  • Date: Wed, 22 May 2002 00:04:56 -0700

On Tuesday, May 21, 2002, at 10:51 PM, garbanzito wrote:

i haven't thought this through or attempted to implement it, but it would seem that if an "application bundle" could be wrapped around a script, and if in that bundle were a resource that was a small applet (for which "path to me" works as expected), then perhaps the main script could call the applet to reliably get the location. and application bundles work on Mac OS 9 too, so just maybe it would be a backwardly compatible, though kludgey, solution.

Maybe I missed something, but I thought "path to me" works fine for script applets? Although support for bundled applets sounds nice (and I thought that's what AppleScript Studio already produces), I think the problem of getting to resources in applets is a solved one.

The only remaining issue, AFAIAA, is the need for a way to pass along the original file location of a script that has been loaded into memory and run by a process other than the applet that contains the script.

--
Chris Page - Mac OS Lead, Palm Desktop - Palm, Inc.

The other, other Chris.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: osascript - path to me
      • From: garbanzito <email@hidden>
References: 
 >Re: osascript - path to me (From: garbanzito <email@hidden>)

  • Prev by Date: Re: osascript - path to me
  • Next by Date: Re: [OFF} Simple Digital Audio Recording
  • Previous by thread: Re: osascript - path to me
  • Next by thread: Re: osascript - path to me
  • Index(es):
    • Date
    • Thread