| View previous topic :: View next topic |
| Author |
Message |
rockit0
Joined: 06 Oct 2006 Posts: 14
|
Posted: Wed Nov 21, 2007 12:03 am Post subject: A_TimeIdle |
|
|
When "sendmode play" or "sendmode inputthenplay" the script ignore A_TimeIdle.
Look yourself
EX:
| Code: | settimer,msg,2000
Loop
{
send {space}
sleep 10
}
msg:
msgbox, %A_TimeIdle%
return |
Please, improve this at next Version,
Thank's
Lucas Aguiar |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6307 Location: Pacific Northwest, US
|
Posted: Wed Nov 21, 2007 12:29 am Post subject: |
|
|
perhaps you are expecting the result that you get from A_TimeIdlePhysical? _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Wed Nov 21, 2007 3:13 am Post subject: |
|
|
| Since A_TimeIdle is based on the OS function GetLastInputInfo(), I don't think anything can be done to change it. Furthermore, MSDN does not have any details about exactly what forms of artificial input cause a reset of time-idle. |
|
| Back to top |
|
 |
|