Hi,
New to this forum. I have a problem in that if Caps Lock is on, when I send commands to a particular GUI, the {ENTER} commands are being ignored, meaning my script fails. If I manually switch the Caps lock off, the script works great. I have used the following:
#include <Constants2.au3>
#include <Misc.au3>
If _GetScrollLock() = 1 Then Send("{SCROLLLOCK Toggle}"); 0 = Off / 1 = On
Func _GetScrollLock(); Checks to see if Scroll Lock is on
Local $ret
$ret =