• 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: newbie question about timers...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question about timers...


  • Subject: Re: newbie question about timers...
  • From: "J. Stewart" <email@hidden>
  • Date: Tue, 10 Mar 2009 04:54:43 -0400

On 3/9/09 at 3:11 PM, email@hidden spake thusly:

That really is the preferred way (an idle handler) but for quick and dirty
pauses I just stick in a perl command:

set SECONDS_TO_PAUSE to 30
...
do shell script "perl -e 'sleep " & SECONDS_TO_PAUSE & ";'"

- Dan


Why bother when -

delay 30

is a lot simpler to write and doesn't need to spawn a shell.

John
--
Any government big enough to do things for you is big enough to do things to you.
_______________________________________________
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: newbie question about timers...
      • From: Axel Luttgens <email@hidden>
References: 
 >Re: newbie question about timers... (From: email@hidden)

  • Prev by Date: Screen sharing
  • Next by Date: Re: copy
  • Previous by thread: Re: newbie question about timers...
  • Next by thread: Re: newbie question about timers...
  • Index(es):
    • Date
    • Thread