Repeat every 20 secunds

L

laah

Registriert
Thread Starter
Dabei seit
11.11.2003
Beiträge
4
Reaktionspunkte
0
Hello,

I need this script to run every 20 secunds:
-----------------------------------------------------
tell application "Finder"
activate
move every file in folder "test1" to folder "test2" with replacing
end tell
----------------------------------------------------

Any ideas?

Best Regards
Lars Aagaard
Denmark
 
You can use the "folder actions", if you have panther :)

Mika
 
welcome...

Hello laah,

try this:

on run
SyncFolders()
end run

on idle
SyncFolders()
return 20
end idle

on SyncFolders()
tell application "Finder"
activate
move every file in folder "test1" to folder "test2" with replacing
end tell
end SyncFolders

Save your script as "stay open".

Andi
 
THAT'S IT :) :)

Thanks

Best Regards
Lars
 
Zurück
Oben Unten