1)
To Activate child-window 2 of Sierra:
Code: Select all
SendMessage, 0x1330, 2, 1, SysTabControl321, Sierra ;TCM_SETCURFOCUS = 0x1330
To send a press of the 'end' key to Sierra:
Code: Select all
Controlsend,, {end}, ahk_exe SierraChart.exe
I would love to be able to combine these two. At the moment obviously I can only controlsend to whatever child-window happens to be open, so I am at mercy of activating that child-window before sending the command of 'end'.
Now if it was possible to use Controlsend to individual child-windows, instead of just the open ones, it would allow so much more function as it would send the 'end' command in the background, without me having to bring the window into the control's focus.