Start VLC minimized
Posted: 16 Jun 2020, 03:58
Hello
I am currently using this script to read a folder randomly with VLC when I press a special key on my keyboard (I had to compile it as an EXE as Logitech's Setpoint — the program that controls the keyboard — doesn't recognise AHK scripts):
I would like to start VLC minimized to the taskbar and tried this:
but it doesn't work (note that I am using "ahk_exe vlc.exe" because the title of the window is different at every start, as it plays random songs).
I also tried to find an option to add to the command line, like the "--random" option that plays the folder randomly (see wiki.videolan.org /VLC_command-line_help, but it is outdated), unfortunately it doesn't seem to exist.
[EDIT] I actually found (there: wiki.videolan.org/VLC_command-line_help) that adding the option "--qt-start-minimized" starts VLC minimized, but it is in the system tray, and I'd prefer to have it minimized to the taskbar.
I also tried to make a shortcut of the EXE and choose "Start minimized" in its parameters, to no avail.
Does anyone have a solution?
I am currently using this script to read a folder randomly with VLC when I press a special key on my keyboard (I had to compile it as an EXE as Logitech's Setpoint — the program that controls the keyboard — doesn't recognise AHK scripts):
Code: Select all
run "C:\Program Files\VLC\vlc.exe" "--random" "D:\Musique\Reggea"
Code: Select all
run "C:\Program Files\VLC\vlc.exe" "--random" "D:\Musique\Reggea"
WinWait, ahk_exe vlc.exe
WinMinimize
I also tried to find an option to add to the command line, like the "--random" option that plays the folder randomly (see wiki.videolan.org /VLC_command-line_help, but it is outdated), unfortunately it doesn't seem to exist.
[EDIT] I actually found (there: wiki.videolan.org/VLC_command-line_help) that adding the option "--qt-start-minimized" starts VLC minimized, but it is in the system tray, and I'd prefer to have it minimized to the taskbar.
I also tried to make a shortcut of the EXE and choose "Start minimized" in its parameters, to no avail.
Does anyone have a solution?