• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >(no subject) (From: "email@hidden" <email@hidden>)
 >Re: (no subject) (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Re: AppleScript access to databases
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread