• 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: 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.


  • Follow-Ups:
    • Re: Deleting files
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: applescript-users digest, Vol 3 #2495 - 18 msgs (From: Bernard Azancot <email@hidden>)
 >Re: applescript-users digest, Vol 3 #2495 - 18 msgs (From: Graff <email@hidden>)
 >Re: applescript-users digest, Vol 3 #2495 - 18 msgs (From: Robert Poland <email@hidden>)
 >Re: applescript-users digest, Vol 3 #2495 - 18 msgs (From: Graff <email@hidden>)
 >Re: applescript-users digest, Vol 3 #2495 - 18 msgs (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Color Setting in Photoshop
  • Next by Date: Re: Deleting files
  • Previous by thread: Re: applescript-users digest, Vol 3 #2495 - 18 msgs
  • Next by thread: Re: Deleting files
  • Index(es):
    • Date
    • Thread