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: Paul Berkowitz <email@hidden>
- Date: Fri, 05 Mar 2004 13:29:59 -0800
On 3/5/04 12:54 PM, "Graff" <email@hidden> 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.
Instead of delay, try
update desktop
after each deletion, and see how that works.
--
Paul Berkowitz
_______________________________________________
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.