Delay in the Finder
Delay in the Finder
- Subject: Delay in the Finder
- From: Jim Brandt <email@hidden>
- Date: Sat, 2 Mar 2002 10:47:51 -0600
Is there preferred way to tell a script to wait for a Finder function
to complete?
I am moving some files to the trash, then emptying the trash. The problem is,
the empty trash command executes before the files are actually move to the
trash folder. Thus, the empty trash command doesn't do anything.
Here's the script:
tell application "Finder"
activate
set root to startup disk as text
set infomac_hold to root & "InfoMac: Hold"
delete contents of folder infomac_hold
empty trash
end tell
TIA
Jim
_______________________________________________
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.