| View previous topic :: View next topic |
| Author |
Message |
steveiwonder
Joined: 16 Nov 2004 Posts: 83
|
Posted: Thu Apr 21, 2005 9:32 am Post subject: Can i do this with AHK? |
|
|
hi all,
just curious am i able to disable the mouse and keyboard, for a short while ? if i can could someone post up the code ,
thx
Steve . |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Thu Apr 21, 2005 9:52 am Post subject: |
|
|
| AHK's BlockInput |
|
| Back to top |
|
 |
TheLostBoy
Joined: 18 Apr 2005 Posts: 14 Location: WI, USA
|
Posted: Thu Apr 21, 2005 10:14 am Post subject: |
|
|
BlockInput, On
Sleep, X ; where x equals the amount of seconds in milliseconds i.e. 5000=5secs
or you could check the AHK help file...
| Code: | if A_OSType <> WIN32_WINDOWS ; i.e. it's not Windows 9x.
BlockInput, on
Run, notepad
WinWaitActive, Untitled - Notepad
Send, {F5} ; pastes time and date
BlockInput, off |
_________________ "It was when I found out I could make mistakes that I knew I was on to something."
--Ornette Coleman |
|
| Back to top |
|
 |
Tekl
Joined: 24 Sep 2004 Posts: 813 Location: Germany
|
Posted: Fri Apr 22, 2005 12:26 pm Post subject: |
|
|
As I remember right, it could not block ctrl+alt+del.
Tekl |
|
| Back to top |
|
 |
|