• 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: Home directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Home directory


  • Subject: Re: Home directory
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 2 Mar 2004 01:17:45 -0700

On Mar 2, 2004, at 12:54 AM, Adrien FRANCOIS wrote:


To update the following script for MAC OS X, I need to know how is called
the home directory on OS X.

Here is one way; I wouldn't be surprised if there were an easier or more elegant way.

set the userDesktop to (path to desktop)
tell application "Finder" to set the user to the container of the userDesktop

If you want to find the user's document folder this will do it:

set the userDocumentFolder to path to "docs"

--
Give Peace A Chance.
_______________________________________________
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: Home directory
      • From: Paul Berkowitz <email@hidden>
References: 
 >Home directory (From: Adrien FRANCOIS <email@hidden>)

  • Prev by Date: Home directory
  • Next by Date: "Path to" shortcuts
  • Previous by thread: Home directory
  • Next by thread: Re: Home directory
  • Index(es):
    • Date
    • Thread