Jump to content
Sign in to follow this  

my vlc install script with GuiTreeView clicks

Recommended Posts


Just thought I'd share, and I can't post in example scripts. My first time using GuiTreeView.au3. :blink:

#Include <GuiTreeView.au3>

$title = "VLC media player 1.1.2 Setup"


winwait("Installer Language", "Please select a language.")

controlclick("Installer Language", "Please select a language.", "OK")

winwait($title, "Welcome")

controlclick($title, "Welcome", "&Next >")

winwait($title, "License")

controlclick($title, "License", "&Next >")

winwait($title, "Choose Components")

; more reliable than sending arrow & space keystrokes

$hWnd = ControlGetHandle($title, "Choose Components", _


; uncheck

$desktopItem = _GUICtrlTreeView_FindItem($hWnd, "Desktop Shortcut")

_GUICtrlTreeView_ClickItem($hWnd, $desktopItem)

; uncheck

$filetypeItem = _GUICtrlTreeView_FindItem($hWnd, "File type associations")

_GUICtrlTreeView_ClickItem($hWnd, $filetypeItem)

controlclick($title, "Choose Components", "&Next >")

winwait($title, "Choose Install Location")

controlclick($title, "Choose Install Location", "&Install")

winwait($title, "Completing the VLC")

controlcommand($title, "Completing the VLC", "&Run VLC media player 1.1.2", _


controlclick($title, "Completing the VLC", "&Finish")

; get rid of first run nag


FileCopy("vlcrc", "C:\Users\Default\AppData\Roaming\vlc", 1)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.