• 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: applescript-users digest, Vol 2 #287 - 15 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #287 - 15 msgs


  • Subject: Re: applescript-users digest, Vol 2 #287 - 15 msgs
  • From: Peter Gort <email@hidden>
  • Date: Sun, 28 Jan 2001 19:17:21 +1100

> From: Paul Berkowitz <email@hidden>
> To: Applescript-Users <email@hidden>
>
> On 1/27/01 6:46 PM, "Peter Gort" <email@hidden> wrote:
>
>> Hi People,
>>
>> There is a (path to preferences folder) that correctly returns the apth to
>> the preferences folder of whichever user is logged into the computer
>> (Multiple Users under Mac OS 9 and 9.1).
>>
>> However there does not appear to be a (path to documents folder). Does
>> anybody know of a way to get to the currently logged in User's Documents
>> folder?
>
> Hi, Peter
>
> (path to startup disk) as string & "Documents:"
>
> gives you the string version.
>
> alias ((path to startup disk) as string & "Documents:")
>
> gives you the actual folder (if it exists on the root hard disk, and hasn't
> been moved somewhere else).
>
> --
> Paul Berkowitz

That's the problem, that's only valid for the owner of the machine, all
other users it will be
(startup disk):Users:<User's name>:Documents
but how do you find out the Username?

--
Peter Gort


  • Prev by Date: Re: R23's Osaxen Rant (or much too much ado about nihil)
  • Next by Date: Re: R23's Osaxen Rant (or much too much ado about nihil)
  • Previous by thread: Re: scripts won't compile since 9.1
  • Next by thread: FrameMaker select paragraph
  • Index(es):
    • Date
    • Thread