Re: simple duplicate script question
Re: simple duplicate script question
- Subject: Re: simple duplicate script question
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 12 Mar 2007 14:46:16 +0100
Le 12 mars 07 à 14:19:57, Jacco Rens a écrit : Hi All,
I'm just picking up AppleScript again after a while, and my troubles with the Finder are there again ;-)
I try to copy an document from my documents folder, to the desktop like this:
tell application "Finder" try set theDocumentsFolder to (path to documents folder) set theWorkFolder to (path to desktop folder) set ThisSjabloon to theDocumentsFolder & "sjabloon" as alias copy ThisSjabloon to theWorkFolder end try end tell
No workey, but no error either.
Any insight, anyone?
Best, Jacco
Hello
I would edit like that:
tell application "Finder" try set theDocumentsFolder to (path to documents folder) set theWorkFolder to (path to desktop folder) as alias set ThisSjabloon to (theDocumentsFolder as unicode text & "sjabloon" ) as alias copy ThisSjabloon to theWorkFolder end try end tell
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