First project - silent install

Get help with using AutoHotkey and its commands and hotkeys
Posts: 1
Joined: 26 Dec 2019, 18:53

First project - silent install

26 Dec 2019, 20:29


I'm trying to create a silent install for Pathloss5. I can use an AHK script to get almost all the way the install, but then the Pathloss installer calls Microsoft DirectX Setup and I have not been able to interact with that window to accept the license. The ideal solution would be to the Yes button, but I have been unable to get it to work.
From Window Spy
WinTitle, Microsoft DirectX Setup
ahk_class #32770
ahk_exe msiexec.exe

I have tried

Code: Select all

ControlClick, &Yes, Microsoft DirectX Setup, &Yes

Code: Select all

ControlClick, &Yes, ahk_exe msiexec.exe ahk_class #32770, &Yes

Code: Select all

ControlSend, &Yes, {Tab}{Enter}, Microsoft DirectX Setup
I'm not sure what I'm missing, but nothing seems to work. Does anyone have pointers on how to tell ahk to focus/click in this window?

Thank you in advance!

Return to “Ask For Help”

Who is online

Users browsing this forum: 4k3or3et, Bing [Bot], enteleform, johnneedshelp, labrint, Smile_ and 42 guests