Re: copy files
Re: copy files
- Subject: Re: copy files
- From: Michelle Steiner <email@hidden>
- Date: Wed, 4 Jun 2008 08:55:53 -0700
On Jun 4, 2008, at 8:46 AM, Laine Lee wrote: try set storagefolder to make new folder at desktop with properties {name:"storagefolder"} on error set destpath to (((path to desktop) as Unicode text) & "storagefolder:") set storagefolder to destpath as alias end try
How about this:
tell application "Finder" if folder "storagefolder" of the desktop exists then set storagefolder to folder "storagefolder" of the desktop else set storagefolder to make new folder at desktop with properties {name:"storagefolder"} end if --rest of script goes here end tell
-- Michelle
-- I'm at an age where I can satisfy my wants without too many guilt feelings.
|
_______________________________________________
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