We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 287bacd commit 1033018Copy full SHA for 1033018
scripts/unattented_install.ahk
@@ -1,8 +1,12 @@
1
+#Requires AutoHotkey v2
2
AutoInstall(installerPath) {
3
Run(installerPath)
4
5
; continuously click controls with specific text if window is active
6
loop {
7
+ ; ensure the target process window always has focus
8
+ if WinExist("ahk_exe " . processName)
9
+ WinActivate("ahk_exe " . processName)
10
if !ProcessExist(processName)
11
break
12
if WinActive("ahk_exe " . processName) {
0 commit comments