AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can i do this with AHK?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
steveiwonder



Joined: 16 Nov 2004
Posts: 83

PostPosted: Thu Apr 21, 2005 9:32 am    Post subject: Can i do this with AHK? Reply with quote

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
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Apr 21, 2005 9:52 am    Post subject: Reply with quote

AHK's BlockInput
Back to top
TheLostBoy



Joined: 18 Apr 2005
Posts: 14
Location: WI, USA

PostPosted: Thu Apr 21, 2005 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Fri Apr 22, 2005 12:26 pm    Post subject: Reply with quote

As I remember right, it could not block ctrl+alt+del.

Tekl
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group