• 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
newbie with timeout problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie with timeout problem


  • Subject: newbie with timeout problem
  • From: John Clark <email@hidden>
  • Date: Thu, 13 Jun 2002 16:47:29 +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.

  • Follow-Ups:
    • Re: newbie with timeout problem
      • From: Richard Morton <email@hidden>
  • Prev by Date: Desktop pic
  • Next by Date: [PR] 24U has released 24U Appearance OSAX 1.2.2 for MacOS
  • Previous by thread: Re: newbie with timeout problem
  • Next by thread: Re: newbie with timeout problem
  • Index(es):
    • Date
    • Thread