-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.au3
More file actions
29 lines (19 loc) · 751 Bytes
/
sample.au3
File metadata and controls
29 lines (19 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#RequireAdmin
AutoItSetOption('SendKeyDelay',10)
Run(@ScriptDir & '\vlc-3.0.4-win64')
WinWait('Installer Language')
WinActivate('Installer Language')
ControlClick('Installer Language','','Button1')
WinWait('VLC media player Setup')
WinActivate('VLC media player Setup')
ControlClick('VLC media player Setup','','Button2')
ControlClick('VLC media player Setup','','Button2')
send('{TAB}{DOWN}{DOWN}{SPACE}{TAB}{TAB}{ENTER}{ENTER}')
Do
$Finish = ControlGetHandle("VLC media player Setup", "Finish", 1)
Sleep(100)
Until $Finish <> ""
ControlClick("VLC media player Setup", "Finish", 1)
;~ WinWait('VLC media player Setup')
;~ WinActivate('VLC media player Setup')
;~ ControlClick('VLC media player Setup','','Button2')