• 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: applescript-users digest, Vol 3 #2495 - 18 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: applescript-users digest, Vol 3 #2495 - 18 msgs (From: Graff <email@hidden>)

  • Prev by Date: Re: applescript-users digest, Vol 3 #2495 - 18 msgs
  • Next by Date: Scripting Page Setup
  • Previous by thread: Re: applescript-users digest, Vol 3 #2495 - 18 msgs
  • Next by thread: Re: applescript-users digest, Vol 3 #2495 - 18 msgs
  • Index(es):
    • Date
    • Thread