I have the following script that worked fine on Java 32 bit in my office computer.
Yesterday it was updated to Java 64 bit and it stopped working.
Code: Select all
#IfWinActive, Viewer
; Control & Alt & F to highlight figures
!^f::
{
; wait for release of keys
KeyWait Control
KeyWait Alt
KeyWait f
; reproduce sequence
WinWaitActive, Viewer, , 2
Send {LAlt Down}
Send 1
WinWaitActive, Highlight document specific, , 2
Send f
sleep 200
Send o
Send {LAlt Up}
Return
}
#IfWinActive
If I remove the #IfWinActive condition, it works again, however it's not what I want, since the same key sequence on other apps causes undesirable results.
How can I work around the issue? Do you need additional details?