Re: applescript-users digest, Vol 3 #2495 - 18 msgs
Re: applescript-users digest, Vol 3 #2495 - 18 msgs
- Subject: Re: applescript-users digest, Vol 3 #2495 - 18 msgs
- From: Deivy Petrescu <email@hidden>
- Date: Fri, 5 Mar 2004 18:20:57 -0500
At 10:45 PM +0100 3/5/04, Emmanuel wrote:
>>I wonder how this would work
tell application "Finder"
try
delete file "tempA" of desktop
delay 1
delete file "tempB" of desktop
delay 1
delete file "tempC" of desktop
end try
end tell
Well you still should test to see if the file
is there but I see where you are going and,
yes, it might be a timing issue that he is
having. I'd say if he is having problems with
the last script I suggested then he should try
putting a short delay in-between the delete
statements.
And what about inserting "update desktop"
instead? Wouldn't it be more pro-active?
Emmanuel
Why does one need to update if the file has been removed and not touched again?
If one creates a file, I see the point.
Actually the original script works here without a hitch.
OS10.3.2, AS 1.9.3.
--
Regards
Saudagues
Deivy
http://www.dicas.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.