Code Comments
Programming Forum and web based access to our favorite programming groups.Hi all, Is it possible to lockout the keyboard and mouse while a script is running? tia, Mike
Post Follow-up to this messageMichael Herz wrote: > Is it possible to lockout the keyboard and mouse while a script is running?[/color ] Hi You can do this with AutoIt/AutoItX... AutoIt/AutoItX is free and can be found here: http://www.autoitscript.com/autoit3/index.php AutoItX is an ActiveX control version of AutoIt and can be used from a vbscript. -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/co...er/default.mspx
Post Follow-up to this messageThanks for the response. I have and use WinBatch usually. I was hoping for a native wsh method. It's kinda crazy to have a sendkeys method without a keyboard lockout method (but maybe that's just my bent ;-) "Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message news:%23f9DOm$QEHA.3124@TK2MSFTNGP12.phx.gbl... > Michael Herz wrote: > running? > Hi > > You can do this with AutoIt/AutoItX... > > AutoIt/AutoItX is free and can be found here: > http://www.autoitscript.com/autoit3/index.php > > AutoItX is an ActiveX control version of AutoIt and can be used from > a vbscript. > > > -- > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway > Administration scripting examples and an ONLINE version of > the 1328 page Scripting Guide: > http://www.microsoft.com/technet/co...er/default.mspx
Post Follow-up to this messageMichael Herz wrote: > Thanks for the response. I have and use WinBatch usually. I was hoping for a > native wsh method. Hi Sorry, a native wsh method for this does not exist... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/co...er/default.mspx
Post Follow-up to this messageA buddy of mine wrote an exe that disabled the keyboard and mouse a while back as we had the same need. Rather than trying to find it I will inform you that when the keyboard and mouse are disabled, sendkeys do not function... Richard "Michael Herz" <mherz@uwaterloo.ca> wrote in message news:eGg8f0$QEHA.1548@TK2MSFTNGP10.phx.gbl... > Thanks for the response. I have and use WinBatch usually. I was hoping for a > native wsh method. It's kinda crazy to have a sendkeys method without a > keyboard lockout method (but maybe that's just my bent ;-) > > "Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message > news:%23f9DOm$QEHA.3124@TK2MSFTNGP12.phx.gbl... > running? > >
Post Follow-up to this messageThanks for the reply. I think I decided that the few problems I had with WinBatch weren't so bad afterall ;-)
Post Follow-up to this message"Richard" <NoSpam@NoSpam.net> wrote in message news:%23s1FkuNREHA.2876@TK2MSFTNGP09.phx.gbl... > A buddy of mine wrote an exe that disabled the keyboard and mouse a while > back as we had the same need. Rather than trying to find it I will inform > you that when the keyboard and mouse are disabled, sendkeys do not > function... There's an API method, BlockInput, which does just this. It doesn't block ctrl+alt+del, though (probably a good idea). Troels
Post Follow-up to this messageI'll have to look that one up :-) Thanks "Troels Jakobsen" <dont@like.spam> wrote in message news:uclc4oVREHA.3452@TK2MSFTNGP10.phx.gbl... > > "Richard" <NoSpam@NoSpam.net> wrote in message > news:%23s1FkuNREHA.2876@TK2MSFTNGP09.phx.gbl... while inform > > There's an API method, BlockInput, which does just this. > It doesn't block ctrl+alt+del, though (probably a good idea). > > Troels > >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.