Re: Duplicate with replacing
Re: Duplicate with replacing
- Subject: Re: Duplicate with replacing
- From: Michelle Steiner <email@hidden>
- Date: Wed, 9 Feb 2005 23:12:56 -0700
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.
For one thing, are Sauvegarde and MacDacoT the names of separate
volumes?
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?
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.
--
There's no place like 127.0.0.1
There's no place like 127.0.0.1
There's no place like 127.0.0.1
_______________________________________________
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