Quote:
Originally Posted by caitdeen
p.d: Already tried with an autoit / autohotkey script. But for any reason, autoit cant manipulate .NET app controls. :confused:
|
If you want to send a command to a windows forms interface then AutoHotkey handles that quite nicely. The abridged syntax is as follows:
Code:
Control, Check,, <ClassNN of control>, <Class of form>
So to check the sprint checkbox in Unf, you could use the following hotkey, F8 (note that these values might be different depending on your system):
Code:
UNF := "ahk_class WindowsForms10.Window.8.app.0.33c0d9d"
SPRINT := "WindowsForms10.BUTTON.app.0.33c0d9d11"
F8::
Control, Check,, %SPRINT%, %UNF%
return
This also handles un-checking automatically since the command acts as a toggle.