• 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: Bernard Azancot <email@hidden>
  • Date: Thu, 10 Feb 2005 07:33:49 +0100


Le 10 févr. 05, à 07:12, Michelle Steiner a écrit :

On Feb 9, 2005, at 10:54 PM, Bernard Azancot wrote:

set MGBZNutriBU to folder ("Sauvegarde:Sauvegardes:" & word 1 of ((current date) as string))
set MGBZFolder to folder "MacDacoT:Applications:MegaBaze:"
duplicate MGBZFolder to MGBZNutriBU with replacing

I trust that's inside a "tell app "finder"" block.

Yes.

For one thing, are Sauvegarde and MacDacoT the names of separate volumes?

Yes.

So, "MacDacoT:Applications:MegaBaze:" is folder A, and ("Sauvegarde:Sauvegardes:" & word 1 of ((current date) as string)) is folder B? And it fails if folder B ("Sauvegarde:Sauvegardes:" & word 1 of ((current date) is missing?

No.
It fails if if folder B ("Sauvegarde:Sauvegardes:" & word 1 of ((current date):MegaBaze) is missing?



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.

Friendly
Bernard


_______________________________________________ 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: Michelle Steiner <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>)

  • 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