Re: Path to DeskTop
Re: Path to DeskTop
- Subject: Re: Path to DeskTop
- From: Wayne Melrose <email@hidden>
- Date: Thu, 19 Apr 2007 19:02:28 +0200
On 19/04/2007, at 6:54 PM, Mark J. Reed wrote:
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.
Good point.
Also, you can change where the Desktop folder is located, so it's not
necessarily ~/Desktop.
I didnt know that..? how do you do that?
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.
Good point.
So don't assume anything about where the Desktop is. Ask the system
to tell you.
Cheers..
--
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