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

Re: Determining path to script


  • Subject: Re: Determining path to script
  • From: Bill White <email@hidden>
  • Date: Tue, 02 Mar 2004 15:45:23 -0500

> How do I make a script find out its own path?
>
> A few websites have suggested 'path to me' but on my system (OS X) that
> returns the location of the Script Editor rather than the script file
> itself.

As a compiled script, "path to me" will give you the location of the
application that created the script (Script Editor, Script Debugger, etc).
If you save your script as an application, "path to me" will locate the
script.

--Bill
_______________________________________________
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.


References: 
 >Determining path to script (From: Chap Harrison <email@hidden>)

  • Prev by Date: Re: Determining path to script
  • Next by Date: Re: Home directory
  • Previous by thread: Re: Determining path to script
  • Next by thread: Re: Determining path to script
  • Index(es):
    • Date
    • Thread