Re: Duplicate with replacing
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