• 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: Getting the Documents Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the Documents Folder


  • Subject: Re: Getting the Documents Folder
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 14 Mar 2002 09:20:28 -0800

On 3/14/02 8:57 AM, "Gnarlodious" <email@hidden> wrote:

> I want to eliminate naming my Startup Disk.
> Now I am saying:
>
> tell application "Finder"
> set identityList to every folder of folder ,
> "Apple:Documents:Microsoft User Data:Identities:";
>
> But isn't there a way to say:
> path to Startup Disk & "Documents"

You can do it with

alias ((path to startup disk as string) & "Documents:")
>
> or do I need:
> Path to At Ease Folder

path to At Ease documents folder

is the best way if you might be distributing your script to other users,
since people with non-English language system won't have a "Documents"
folder by name, and other people may have moved their Documents folder and
replaced it by an alias, which is a file (no colon), not a folder, and there
may or may not be problems resolving the alias (I've never been clear on
that). 'path to At Ease documents folder' will always work, even in OS X.
>
> and what is At Ease anyway?

It was something tried out in OS 7.x and later abandoned. I wasn't scripting
at the time, and may not even have had a computer yet, so someone else will
fill in details here, I'm sure.
>

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting the Documents Folder
      • From: Gnarlodious <email@hidden>
    • Re: Getting the Documents Folder
      • From: Phi Sanders <email@hidden>
References: 
 >Getting the Documents Folder (From: Gnarlodious <email@hidden>)

  • Prev by Date: Getting the Documents Folder
  • Next by Date: Re: form validation [OT]
  • Previous by thread: Getting the Documents Folder
  • Next by thread: Re: Getting the Documents Folder
  • Index(es):
    • Date
    • Thread