• 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: Accessing the Desktop & directory path specifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing the Desktop & directory path specifications


  • Subject: Re: Accessing the Desktop & directory path specifications
  • From: Jake Pietrykowski <email@hidden>
  • Date: Tue, 30 Nov 2004 11:58:24 -0600

tell application "Finder"
    set userHome to system attribute "HOME"
    set pathToDesktop to userHome & "/Desktop"
end tell

OR

if you need the POSIX path add the line...

set pathToDesktopPOSIX to POSIX path of pathToDesktop

Regards,
Jake

On 11/30/04 11:07 AM, "Ken G. Brown" <email@hidden> wrote:

> I'm needing to script access to the same file on the Desktop of several
> different computers and signons. I could store the script in a folder in the
> Documents folder then within the script refer relatively up two levels and
> then down one onto the Desktop but I am unsure of how to do this
> specification in the open.
>
> Is there a nifty standardized way to access the local Desktop or to
> otherwise accomplish this type of thing?
>
> Where can I read up on AppleScript directory path specifications in general?
>
> Thx for any tips.
> Ken
>
>
>
>
>
>  _______________________________________________
> 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


 _______________________________________________
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: 
 >Accessing the Desktop & directory path specifications (From: "Ken G. Brown" <email@hidden>)

  • Prev by Date: Re: Accessing the Desktop & directory path specifications
  • Next by Date: Re: Entourage Rules & AppleScript
  • Previous by thread: Re: Accessing the Desktop & directory path specifications
  • Next by thread: Quark scripting question
  • Index(es):
    • Date
    • Thread