• 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: [Q] Get the folder the script is located in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Get the folder the script is located in


  • Subject: Re: [Q] Get the folder the script is located in
  • From: Adam Bell <email@hidden>
  • Date: Thu, 14 Sep 2006 11:50:29 -0300

Title: Re: [Q] Get the folder the script is located in
At 10:32 AM -0400 9/14/06, Eric Gorr wrote:
I would like to be able to get the folder my applescript is located in.

How can I do that?

set myFolder to ( get folder ... )

tell application "Finder" to set c to container of (path to me)

(Hopefully, this wasn't easily findable in the archives...I would have looked there first, but for some odd reason I cannot current access the search page.)

Thank you.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
>esscable.net

This email sent to email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: [Q] Get the folder the script is located in
      • From: Michelle Steiner <email@hidden>
References: 
 >[Q] Get the folder the script is located in (From: Eric Gorr <email@hidden>)

  • Prev by Date: [Q] Get the folder the script is located in
  • Next by Date: Re: [Q] Get the folder the script is located in
  • Previous by thread: [Q] Get the folder the script is located in
  • Next by thread: Re: [Q] Get the folder the script is located in
  • Index(es):
    • Date
    • Thread