• 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 AppleScript directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get AppleScript directory


  • Subject: Re: Get AppleScript directory
  • From: Emmanuel <email@hidden>
  • Date: Wed, 11 Feb 2004 23:33:47 +0100

At 2:18 PM -0200 2/11/04, mrykoga wrote:
>Hi,
>
>Does anyone know how to get the
>directory path where a applescript is
>running i.e. the directory of the
>applescript?

Use "path to me" to find the path of the script itself, then you can use Finder to retrieve its container, or work on the path as a string to chop the name and keep the directory.

Emmanuel
_______________________________________________
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: 
 >Get AppleScript directory (From: "mrykoga" <email@hidden>)

  • Prev by Date: Re: Error in the Finder
  • Next by Date: Re: Finding out is an Application is running
  • Previous by thread: Re: Get AppleScript directory
  • Next by thread: Re: Setting file permissions with Applescript
  • Index(es):
    • Date
    • Thread