ControlSend and Autofocus?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
blad4
Posts: 315
Joined: 07 Oct 2015, 11:06

ControlSend and Autofocus?

05 Dec 2017, 13:15

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.
blad4
Posts: 315
Joined: 07 Oct 2015, 11:06

Re: ControlSend and Autofocus?

11 Dec 2017, 16:16

Is this impossible?
blad4
Posts: 315
Joined: 07 Oct 2015, 11:06

Re: ControlSend and Autofocus?

17 Dec 2017, 14:46

Can someone just let me know if it's possible at least

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Starker and 306 guests