Re: Accessing the Desktop & directory path specifications
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