The shortcut is predefined as ALT + c.
I want to use a keyboard shortcut to roll up/down the window without having to focus on the Window. I've been working on it for several days without success. Here are some code that I have used without success.
Code: Select all
!,::
SetKeyDelay, 10, 10
WinActivate, ahk_class TViewForm ahk_exe BCompare.exe, folder1- Folder Compare - Beyond Compare
; just using "ahk_exe BCompare.exe" did not work either
;ControlSend, ahk_class TViewForm, !c, ahk_exe BCompare.exe, folder1- Folder Compare - Beyond Compare
; also tried without success
;Sleep, 1000 also tried without success
!c
;Send, {Alt down}c{Alt up} also tried without success
return
What am I missing?