Re: Script time out
Re: Script time out
- Subject: Re: Script time out
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 16 Jul 2010 16:32:13 -0500
- Acceptlanguage: en-US
- Thread-topic: Script time out
> What can I do to stop the time out?
Try this:
with timeout of 600 seconds
set script1 to "open ~/Downloads/*.zip" as string
set script2 to "ls -d ~/Desktop/DB*|cut -d \"-\" -f 3-3" as string
set script3 to "mv ~/Desktop/DB* /Volumes/VRStream/\\$VRDTB/." as string
tell application "Finder"
activate
do shell script script1
set books to do shell script script2
set the clipboard to books as text
say "Moving books to the SD card, please wait."
do shell script script3
say "The books " & books & "have been placed in the SD card."
say "A list of the books has been placed on the clipboard."
end tell
end timeout
HTH,
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden