• 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
Path to current script file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Path to current script file?


  • Subject: Path to current script file?
  • From: Jakob Peterhänsel <email@hidden>
  • Date: Mon, 21 Apr 2003 13:09:12 +0100

Hi All.

Ok, I'm running some scripts via automated solutions (Like iChatStatus) and would like to get the path the the current script file location.

If I do a 'path to me' I get the path to the host application running the script. Is there a way to get the path to the script file instead?

Or should I just hard code the path the the default location? (~/Library/Application Support/iChatStatus/)

If yes, could some AS Master refresh my memory on how to convert the UNIX path to a usable path for 'run script' ?


TIA

Jakob Peterhdnsel

'I don't have to try to be a sex bomb, I am one!'
- Kylie Minogue

Email: email@hidden
AIM: Marook
Phone: +45 40163806
_______________________________________________
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: Path to current script file?
      • From: Paul Berkowitz <email@hidden>
    • Re: Path to current script file?
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: how can I stop a print job in OSX with AS? response
  • Next by Date: Re: Read file bug?
  • Previous by thread: Re: AppleScript Syntax File?
  • Next by thread: Re: Path to current script file?
  • Index(es):
    • Date
    • Thread