Hello,
I have a lengthy script that relies on mouse movement. Users occasionally move the mouse accidently and mess this up. I see you can lockout input from the mouse and keyboard (I would want to allow the escape key). Is there a way to put a popup on the screen that input is locked while the script is running and if you want to break out of it what key to hit? Or must you presume the user can remember the ESC is the way out of the script?
Thanks!
Lock Out Mouse & Keyboard Interference
-
- Posts: 16
- Joined: 16 Jun 2018, 00:54
Re: Lock Out Mouse & Keyboard Interference
Blockinput, on
-script-
Blockinput, off
(Must have Administrator priv)
-script-
Blockinput, off
(Must have Administrator priv)
Re: Lock Out Mouse & Keyboard Interference
I'm not sure what BlockInput, MouseMove does. Is it to BlockInput, Mouse, which only blocks mouse input?
Re: Lock Out Mouse & Keyboard Interference
Code: Select all
Gui, -Caption +Border
Gui, Font, s10
Gui, Color, FFFFE9
Gui, Add, Text,, Message
Gui, Show
Sleep, 1000
Gui, Hide
BlockInput
Re: Lock Out Mouse & Keyboard Interference
I had read the page and I'm just not sure of the difference.
Re: Lock Out Mouse & Keyboard Interference
Mouse: The user's keyboard and mouse input is ignored while a Click, MouseMove, MouseClick, or MouseClickDrag is in progress.