lebisol Posted March 30, 2004 Posted March 30, 2004 (edited) Hello People! 1st. many thanx for this great utility! As other beginers, I too have a rather "stupid" question.... Is it possbile to disable user's keybaord/mouse/any script interferance while script is running? I am using V 2.6....any ideas? Much apprechiated! Edited March 30, 2004 by lebisol
ezzetabi Posted March 31, 2004 Posted March 31, 2004 BlockInput,on Just be careful that in W98/ME and WNT pre SP 6 it stops also Autoit symulated input and in W95 have no effect. But if you have not the need to emulate key, it just work fine.
Helge Posted March 31, 2004 Posted March 31, 2004 Was there a BlockInput-command in the 2.x-versions ? Hmm...can't remember.. Anyway, there is also some RunDLL-command that can lock both keyboards and mouse.. Can't remember them though..
ezzetabi Posted March 31, 2004 Posted March 31, 2004 Ripped from help file. BlockInput, <on | off> This command with disable both mouse and keyboard input. This only works on various operating system configurations as indicated below: Operating System "BlockInput" Results Windows 95 No effect. Windows 98 User input is blocked but AutoIt is also unable to simulate input. Windows NT 4 (Without ServicePack 6) No effect. Windows NT 4 (With ServicePack 6) User input is blocked and AutoIt can simulate input. Windows 2000 User input is blocked and AutoIt can simulate input. Input will be automatically enabled when the script closes. That show how I was wrong about Windows NT
lebisol Posted March 31, 2004 Author Posted March 31, 2004 Hello People! Many thanx for the quikc respond! This "little" utility keeps imressing me every time I find use for it! Great stuff!
Recommended Posts