Source language: Translate to:

Idle event and timer

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Idle event and timer

Postby Wrangler » Mon Sep 24, 2012 10:32 am

From the help file:

Idle Event: These actions are executed if no keyboard or mouse activity has been detected during the time interval specified. Enter the time interval (in seconds) that the system must remain idle before the Action is triggered.


However, it doesn't seem to work when a timer is running. A timer doesn't really qualify as keyboard or mouse activity. The timer in this case just counts down seconds from a specified number.

Can this be fixed in the next update?
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1507
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Neosoft Support » Tue Sep 25, 2012 10:52 am

Does the timer execute any actions?

Is the timer interval less than the idle time?
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Wrangler » Tue Sep 25, 2012 10:55 am

Timer contains this action:

setvar "[timetogo]" "[timetogo]-1"

Is the timer interval less than the idle time?


Yes. It is set to 1000 msec, since it is a second countdown timer.

Idle time is 900 seconds.
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1507
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Neosoft Support » Tue Sep 25, 2012 10:58 am

If the timer executes an action, that will reset the idle event.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Wrangler » Tue Sep 25, 2012 11:02 am

OK. You may want to update the help file to reflect that. Is this something that can be changed in the next update?
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1507
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Neosoft Support » Wed Sep 26, 2012 10:15 am

Is this something that can be changed in the next update?


Maybe, if it can be done without breaking existing apps.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest