• 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
Script time out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script time out


  • Subject: Script time out
  • From: louie <email@hidden>
  • Date: Fri, 16 Jul 2010 14:20:09 -0700

Hi all,
I get a time out message when running the below script.
It can take quite amount of time depending on the number of items to move.
What can I do to stop the time out?
Thank you for any help.



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




louie email@hidden



_______________________________________________
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
  • Follow-Ups:
    • Re: Script time out
      • From: "Stockly, Ed" <email@hidden>
  • Prev by Date: Re: Rant Generator
  • Next by Date: Re: Rant Generator
  • Previous by thread: RE: Problem going from 10.4 to 10.6 in Indesign
  • Next by thread: Re: Script time out
  • Index(es):
    • Date
    • Thread