• 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: Shane Stanley <email@hidden>
  • Date: Mon, 03 Oct 2005 09:27:52 +1000
  • Thread-topic: Get current working directory

On 3/10/05 9:18 AM, "Doug McNutt" <email@hidden> wrote:

> At 08:25 +1000 10/3/05, Shane Stanley wrote in part::
>> You may be correct that there's a working
>> directory, but I'm not sure that it gets used anywhere.
>
> If you "do shell script" asking for $PWD you must remember that you'll get a
> new temporary shell that will get some default directory possibly set in a
> profile or *rc script

But that's the shell; I was talking about AS itself.
>
> One thing that might be considered a working directory is the directory that
> will be the starting point of a Choose File or Open File request that offers
> an open dialog. Aqua and carbon applications do seem to remember that.

It gets stored in a .plist file. But I'm not sure that really constitutes a
working directory.

> Apple doesn't think "users" should be exposed to working directories. Too much
> like DOS.

Did someone tell you that, or are you just assuming motive?

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

References: 
 >Re: Get current working directory (From: Doug McNutt <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