Re: Path to DeskTop
Re: Path to DeskTop
- Subject: Re: Path to DeskTop
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 19 Apr 2007 12:54:46 -0400
On 4/19/07, Wayne Melrose <email@hidden> wrote:
or "~/Desktop/" .... if you want the unix path
"~/Desktop" doesn't work outside of a few special circumstances where
tilde expansion is performed, such as in an unquoted argument on a
shell command line. Otherwise it refers to a subfolder of the current
folder named "~", which is probably not what you want.
Also, you can change where the Desktop folder is located, so it's not
necessarily ~/Desktop.
And you can run scripts as a user other than the one currently logged
in, so ~/Desktop might not be the Desktop that matters at the moment.
So don't assume anything about where the Desktop is. Ask the system
to tell you.
--
Mark J. Reed <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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden