AutoHotkey Community

It is currently May 26th, 2012, 8:56 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Can i do this with AHK?
PostPosted: April 21st, 2005, 10:32 am 
Offline

Joined: November 16th, 2004, 1:05 pm
Posts: 83
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 .


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 21st, 2005, 10:52 am 
AHK's BlockInput


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 21st, 2005, 11:14 am 
Offline

Joined: April 18th, 2005, 11:03 am
Posts: 14
Location: WI, USA
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 22nd, 2005, 1:26 pm 
Offline

Joined: September 24th, 2004, 3:00 pm
Posts: 814
Location: Germany
As I remember right, it could not block ctrl+alt+del.

Tekl


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], kkkddd1, poserpro and 69 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group