newbie with timeout problem
newbie with timeout problem
- Subject: newbie with timeout problem
- From: John Clark <email@hidden>
- Date: Thu, 13 Jun 2002 18:44:25 +0100
Can anyone help me with this
the script.....
tell application "Finder"
select file Pathtodata
move file Pathtodata to disk "untitled" with replacing
end tell
with timeout of 120 seconds
Movefiles()
end timeout
display dialog "Done!!"
on Movefiles()
tell application "Finder"
select every folder of Pathtotemp
delete selection
select every folder of folder Pathtoclients
with timeout of 120 seconds
move selection to folder Pathtotemp
end timeout
end tell
end Movefiles
end script....
When run from the OSA menu I get the error "Apple Event timed out etc."
after around five seconds of copying the files -- move selection to folder
Pathtotemp
I've tried tried -with timeout- everywhere with no luck.
Thanks with newbie problem with lists. Learnt loads.
Am I the only one who dosen't know what a vanilla script is ?
dumb photographer
regards
John Clark
0208 854 4069
07702 627 237
_______________________________________________
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.