• 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: Sun, 02 Oct 2005 18:47:22 -0400

"Mark J. Reed" wrote:

> On 10/2/05, Gary (Lists) <email@hidden> wrote:
>> Well, you must mean "in the shell, via AppleScript" because AS does not have
>> "working directories".
>
> C'est impossible.  Every single process that ever runs in OS X has a
> current working directory defined at all times.  AppleScript may not
> provide any means to find out what that is for the AS interpreter
> process, but that doesn't change the fact that it's there.

Blah. Blah. Not the point. Not what I was saying. Not related to what the OP
was asking.

AppleScript has no "current working directory" concept in the language,
other than, maybe, a similar construct in 'path to', or when passing a
parameter to a 'choose application/file/folder' as a starting point.

The user asked how to use 'do shell script' to get the path to the working
directory.  That implies, "in the shell", not in AppleScript.

--
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

  • Follow-Ups:
    • Re: Get current working directory
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Get current working directory (From: "Mark J. Reed" <email@hidden>)

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