• 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
Determining File Path of Running Script Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining File Path of Running Script Application


  • Subject: Determining File Path of Running Script Application
  • From: Rick Gordon <email@hidden>
  • Date: Thu, 29 Jul 2004 02:12:22 -0700

How can a script application determine its own file path?

For instance, if I wanted to write a script that would do something like this:

do shell script "cd MY_FILEPATH; open ./TARGET_PACKAGE/Contents/MacOS/TARGET_FILE"

...where the intention is to be able to traverse a relative filepath to the target.
--

___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________

WWW: http://www.shelterpub.com
_______________________________________________
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: Determining File Path of Running Script Application
      • From: Walter Ian Kaye <email@hidden>
    • Re: Determining File Path of Running Script Application
      • From: Walter Ian Kaye <email@hidden>
References: 
 >WAS: Re: I cannot even successfully have the Finder make a folder on the Desktop! (From: Bill Planey <email@hidden>)
 >Re: WAS: Re: I cannot even successfully have the Finder make a folder on the Desktop! (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: Permanently delete message in Mail
  • Next by Date: Re: Determining File Path of Running Script Application
  • Previous by thread: Re: WAS: Re: I cannot even successfully have the Finder make a folder on the Desktop!
  • Next by thread: Re: Determining File Path of Running Script Application
  • Index(es):
    • Date
    • Thread