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

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

References: 
 >Script time out (From: louie <email@hidden>)

  • Prev by Date: Re: Rant Generator
  • Next by Date: Re: Rant Generator
  • Previous by thread: Script time out
  • Next by thread: Search and Replace in String
  • Index(es):
    • Date
    • Thread