| View previous topic :: View next topic |
| Author |
Message |
SAbboushi
Joined: 18 Sep 2004 Posts: 60
|
Posted: Sun Feb 27, 2005 6:26 am Post subject: How to disable keyboard and mouse input during script? |
|
|
Hi-
I have a script that launches processes that takes a LONG time to finish. After each process finishes, the script continues to feed keystrokes to do the next part of the script - which again takes a couple hours to finish. I want to use my computer in the meantime - but am afraid that I could mess up the execution of the script if I am typing when AHK is, at different times, executing 'send' and 'winactivate' commands while I am using the computer.
Is there a way to temporarily disable keyboard and mouse entry at specific points in my script so as not to interfere with the AHK send and winactivate commands? I need something automated (e.g. I am not always at the keyboard, so I would not want the script to pause execution and prompt me to stop using my laptop for the next 10 second while it sends keystrokes). |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Sun Feb 27, 2005 6:33 am Post subject: |
|
|
the BlockInput cmd! _________________
 |
|
| Back to top |
|
 |
JSLover
Joined: 20 Dec 2004 Posts: 542 Location: LooseChange911.com... the WTC attacks were done by the US Gov't... the official story is a lie...
|
Posted: Sun Feb 27, 2005 6:38 am Post subject: Re: How to disable keyboard and mouse input during script? |
|
|
BlockInput anyone?
Ha! You beat me Rajat, but I linked, so I'm still posting... _________________
Home • Click image! • Blog |
|
| Back to top |
|
 |
SAbboushi
Joined: 18 Sep 2004 Posts: 60
|
Posted: Sun Feb 27, 2005 7:21 am Post subject: |
|
|
Thanks - goodnight...zzzz...zzzzz  |
|
| Back to top |
|
 |
|