Re: Idle time when in background
Re: Idle time when in background
- Subject: Re: Idle time when in background
- From: Emmanuel <email@hidden>
- Date: Tue, 11 Mar 2003 11:11:12 +0100
At 11:32 AM -0500 10/03/03, Michael McLaughlin wrote:
I have a stay-open-app, Classic** script (made with Script Editor,
Jaguar version) that is centered around an idle handler with a
global var, stage, to tell it what to do next.
I have another global var, waitTime, returned by the idle handler.
However, under Mac OS 10.2, it seems that, when this script/app is
in the background, the wait time is always 60 seconds regardless of
the idle-handler return value.
Is this the way it is supposed to be or am I doing something wrong?
Here (10.2.1) I could run a stay-open applet which runs "idle" every
3 seconds, so maybe your script is not performing what you think?
A few tests:
- returning pi is like returning 3
- returning true is like returning 1
- returning "true" is like returning 30
- returning false is like returning 30
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.