is there a command or a way to lock out the mouse and or keyboard prior to executing command for a found image? This way if the user is using said devices they become frozen out and allows the script to do its thing before it releases control back to the user.
Thanks for any info
Mouse / Keyboard Locking
Moderators: Dorian (MJT support), JRL
Use BlockInput> function
Help for BlockInput wrote:BlockInput>block
Blockinput prevents or enables keyboard and mouse input from the user.
Set block to 1 to block input from the user.
Set block to 0 to enable input.
Be aware that this prevents all user input apart from CTRL-ALT-DEL. If you need to stop a running script that has blocked input press CTRL-ALT-DEL and then stop the script