Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suspend execution of a script



At 18:55 +0100 12/02/2005, Guido Casiraghi wrote:
Il giorno 12/feb/05, alle 18:48, Guido Casiraghi ha scritto:

I want to suspend the execution of a script for a fixed timeout (this is usually called "sleep" in other languages)

I've tried this but it seems to freeze the whole script:
do shell script "sleep 2"

Sorry, it actually works. The freeze is caused by something else...

Anyway, a "native" way to do this?

Guido



else I believe delay 2

will wait for 2 seconds

--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >suspend execution of a script (From: Guido Casiraghi <email@hidden>)
 >Re: suspend execution of a script (From: Guido Casiraghi <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.