• 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: Get current working directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get current working directory


  • Subject: Re: Get current working directory
  • From: "Gary (Lists)" <email@hidden>
  • Date: Mon, 03 Oct 2005 13:32:17 -0400

"Paul Berkowitz" wrote:

>> If you're looking for the folder containing the AppleScript program
>> being run, you could try using "path to me", but that only works if
>> you compile the script as an app.  Otherwise it returns the path to
>> the host app instead (e.g. Script Editor).
>
> In Tiger (and, I think, Panther?) it also returns a .scpt file's location
> when running from the system's script menu.

Panther clarification, from system's script menu ...

.scpt files: 'path to me' returns path to System Events

.app files: 'path to me' returns path to the .app file

...OMM, that is.
--
Gary

 _______________________________________________
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: Get current working directory (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Getting at some Hidden Clipboard Contents
  • Next by Date: Set monitor resolution/depth
  • Previous by thread: Re: Get current working directory
  • Next by thread: Re: Get current working directory
  • Index(es):
    • Date
    • Thread