Hi Marcus,
I think you’re a genius in what you do and I really like all the improvements, addition and the awesome forum support you give all of us.
What I was wondering, is it possible to block only mouse inputs or only keyboard inputs? The way it stands now, if I want to block mouse inputs I have to also block all keyboard inputs. It would be nice to be able to choose which one to block. Is that something that can be added to the whish list?
Thank you for your time.
Rain
Ability to choose which input to block
Moderators: JRL, Dorian (MJT support)
Hi Marcus,
I am curious as well... possible?
To further this along, can anyone out there think of scenarios where it would be very useful to be able to block only keyboard or only mouse input? If so, please post them here...
Thanks
I am curious as well... possible?
To further this along, can anyone out there think of scenarios where it would be very useful to be able to block only keyboard or only mouse input? If so, please post them here...
Thanks
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -

- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Don't know off the top of my head. When I get a chance I'll see if I can find out. I suspect it probably is, but until I get the hood off of Windows, open up the Win32 API spec and start tinkering, it is rather difficult to say.Rain wrote:Hi Marcus,
I’m kind of curious if this even possible?
Rain
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Hi Marcus,
Seriously though, good things happen when you start tinkering so... tinker away.
Hi Bob,
Kiosk Mode is an interesting capability of IE that I discovered by reading posts in these forums (search for kiosk). I can imagine it would very useful to be able to run a slideshow presentation on a PC under the control of a macro that could block all keyboard input... but allow the user control of the slideshow via mouse only. As far as I know, Kiosk Mode can only be shut down using the keyboard: Ctrl+W Close (same as Alt+F4) so if you block all keyboard input, those are blocked and the user would not be able to escape Kiosk Mode (short of powering down the box... and in that case, you'd have it protected on startup).
Something *REALLY* handy here would be if the OnEvent>KEY_DOWN command could still be used to watch for some secret CTRL-ALT-letter combination of keys being pressed. In other words, all keyboard input is blocked *EXCEPT* for any specific keys/modifier keys we are watching for using OnEvent>KEY_DOWN. When the special key combination is detected, the macro could re-enable keyboard input to allow the operator access. Hitting the secret key-combination again could re-enable keyboard blocking.
Let's say you set the secret unlock key combination to CTRL-ALT-U. Yes, its possible that someone fumbling at the keyboard might stumble upon the right key combination by accident. Or perhaps they see you hit some keys to get access... so after you leave, they try every combination of CTRL, SHIFT, ALT with every key. With enough determination, they would be able to find your secret key combination through trial and error.
Not a problem though, just write the macro to watch for two or three keys instead and require that all three key combinations be struck and released within a 5 second window. Using tricks like this could make it virtually impossible for anyone to find the combination.
Marcus, if this functionality is possible and you add it, I promise to post an example macro demoing the capability... that is if someone doesn't beat me to it.
Thanks Bob, excellent example!
Does anyone else have any other scenarios where the ability to block either keyboard *OR* mouse input separately would be useful?
Hood? I thought they called it a Bonnet in England?mtettmar wrote:until I get the hood off of Windows, open up the Win32 API spec and start tinkering, it is rather difficult to say.
Seriously though, good things happen when you start tinkering so... tinker away.

Hi Bob,
Kiosk Mode is an interesting capability of IE that I discovered by reading posts in these forums (search for kiosk). I can imagine it would very useful to be able to run a slideshow presentation on a PC under the control of a macro that could block all keyboard input... but allow the user control of the slideshow via mouse only. As far as I know, Kiosk Mode can only be shut down using the keyboard: Ctrl+W Close (same as Alt+F4) so if you block all keyboard input, those are blocked and the user would not be able to escape Kiosk Mode (short of powering down the box... and in that case, you'd have it protected on startup).
Something *REALLY* handy here would be if the OnEvent>KEY_DOWN command could still be used to watch for some secret CTRL-ALT-letter combination of keys being pressed. In other words, all keyboard input is blocked *EXCEPT* for any specific keys/modifier keys we are watching for using OnEvent>KEY_DOWN. When the special key combination is detected, the macro could re-enable keyboard input to allow the operator access. Hitting the secret key-combination again could re-enable keyboard blocking.
Let's say you set the secret unlock key combination to CTRL-ALT-U. Yes, its possible that someone fumbling at the keyboard might stumble upon the right key combination by accident. Or perhaps they see you hit some keys to get access... so after you leave, they try every combination of CTRL, SHIFT, ALT with every key. With enough determination, they would be able to find your secret key combination through trial and error.
Not a problem though, just write the macro to watch for two or three keys instead and require that all three key combinations be struck and released within a 5 second window. Using tricks like this could make it virtually impossible for anyone to find the combination.
Marcus, if this functionality is possible and you add it, I promise to post an example macro demoing the capability... that is if someone doesn't beat me to it.
Thanks Bob, excellent example!

Does anyone else have any other scenarios where the ability to block either keyboard *OR* mouse input separately would be useful?
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -

- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
You may often want everything locked up while you are running a macro.
Could be doing anything that takes time, and want to prevent anyone from interrupting, changing focus, etc. Might be good code to include at beginning of many macros.
Could be doing anything that takes time, and want to prevent anyone from interrupting, changing focus, etc. Might be good code to include at beginning of many macros.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!