Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Luther Fuller <email@hidden>
- Date: Thu, 25 Mar 2010 10:55:38 -0500
On Mar 25, 2010, at 10:36 AM, Michelle Steiner wrote:
> On Mar 25, 2010, at 8:33 AM, email@hidden wrote:
>
>> set tSourceFolder to alias "drive 1:test1:"
>> set tDestFolder to alias "drive 1:test2:"
>> tell application "Finder" to duplicate tSourceFolder to folder tDestFolder
>
> set tSourceFolder to alias "drive 1:test1:"
> set tDestFolder to alias "drive 1:test2:"
> tell application "Finder" to duplicate tSourceFolder to folder tDestFolder with replacing
True. But, you should also lose the "folder" in the last line. There is no need to convert an alias to a reference when an alias will do. So ...
tell application "Finder" to duplicate tSourceFolder to tDestFolder with replacing
_______________________________________________
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