• 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: "Mark J. Reed" <email@hidden>
  • Date: Mon, 3 Oct 2005 15:38:48 -0400

On 10/3/05, Thomas Vatter <email@hidden> wrote:
> Nearly - [path to me] returns not only the path but also the name of the
> script, for instance /.../this_script.app.
> I'm now trying to cut off the name of the script.

tell application "Finder" to get folder of (path to me)

--
Mark J. Reed <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: Get current working directory
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Get current working directory (From: Thomas Vatter <email@hidden>)

  • Prev by Date: Re: Set monitor resolution/depth
  • Next by Date: Re: I wish Apple would follow its own advice
  • Previous by thread: Re: Get current working directory
  • Next by thread: Re: Get current working directory
  • Index(es):
    • Date
    • Thread