Re: Path to DeskTop
Re: Path to DeskTop
- Subject: Re: Path to DeskTop
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 19 Apr 2007 18:59:37 +0200
Le 19 avr. 07 à 18:48:56, Michelle Steiner a écrit :
On Apr 19, 2007, at 9:38 AM, James Nierodzik wrote:
set deskPath to path to desktop
"path to desktop folder" is slightly better because it works within
a tell block for the Finder, whereas "path to desktop" doesn't.
tell application "Finder"
path to desktop folder
end tell
Both forms work with other applications, however, and both work
outside of tell blocks.
Advices may differ ;-)
From my point of view,
path to desktop
is better because it doesn't require the Finder which I try to drop
each time I may replace it by Sytem Events.
Yvan KOENIG _______________________________________________
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