Page 1 of 1

ControlSend and Autofocus?

Posted: 05 Dec 2017, 13:15
by blad4
Hello guys. I am using the following two things currently:

1)

To Activate child-window 2 of Sierra:

Code: Select all

SendMessage, 0x1330, 2, 1, SysTabControl321, Sierra ;TCM_SETCURFOCUS = 0x1330
2)

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.

Re: ControlSend and Autofocus?

Posted: 06 Dec 2017, 10:47
by blad4
bump

Re: ControlSend and Autofocus?

Posted: 11 Dec 2017, 16:16
by blad4
Is this impossible?

Re: ControlSend and Autofocus?

Posted: 17 Dec 2017, 14:46
by blad4
Can someone just let me know if it's possible at least