• 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: Duplicate with replacing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate with replacing


  • Subject: Re: Duplicate with replacing
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 9 Feb 2005 23:43:25 -0700

On Feb 9, 2005, at 11:33 PM, Bernard Azancot wrote:

If that's the case, of course it will fail; it can't duplicate a folder into something that does not exist. You would have to create folder B if it's not there, then duplicate into it.

Of course. Thanks again Michelle.

De nada.

And in case you need help with that part, here is some pseudo code.

tell app "Finder"
If not exists folder B then
make new properties at <where folder B should be> with properties {name: folder B's name}
end if
duplicate folder A in folder B
end tell


--
A great Idea!  That's what we need--a great idea.
 --Pesudolous, (A Funny Thing Happened on the way to the forum)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Duplicate with replacing
      • From: Bernard Azancot <email@hidden>
References: 
 >Duplicate with replacing (From: Bernard Azancot <email@hidden>)
 >Re: Duplicate with replacing (From: Michelle Steiner <email@hidden>)
 >Re: Duplicate with replacing (From: Bernard Azancot <email@hidden>)
 >Re: Duplicate with replacing (From: Michelle Steiner <email@hidden>)
 >Re: Duplicate with replacing (From: Bernard Azancot <email@hidden>)

  • Prev by Date: Re: Duplicate with replacing
  • Next by Date: Re: Duplicate with replacing
  • Previous by thread: Re: Duplicate with replacing
  • Next by thread: Re: Duplicate with replacing
  • Index(es):
    • Date
    • Thread