ControlSend and Autofocus?

Get help with using AutoHotkey and its commands and hotkeys
blad4
Posts: 119
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] [Download] GeSHi © Codebox Plus

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


2)

To send a press of the 'end' key to Sierra:

Code: [Select all] [Download] GeSHi © Codebox Plus

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: 119
Joined: 07 Oct 2015, 11:06

Re: ControlSend and Autofocus?

06 Dec 2017, 10:47

bump
blad4
Posts: 119
Joined: 07 Oct 2015, 11:06

Re: ControlSend and Autofocus?

11 Dec 2017, 16:16

Is this impossible?
blad4
Posts: 119
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”

Who is online

Users browsing this forum: VISHALVODRO and 49 guests