Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Start VLC minimized

$
0
0
I'd like to have VLC media player run minimized. I'm using this to run VLC:

[ autoit ]      
Run("cmd /c vlc --snapshot-path=" & $SnapPath & " " & $File, $WorkDir, @SW_HIDE)

The @SW_HIDE at the end hides the command window itself but not the program that is started, VLC. I might be able to use something like this to minimize the window:

[ autoit ]      
WinWait("[CLASS:QWidget]") WinSetState("[CLASS:QWidget]", "", @SW_MINIMIZE)

But this doesn't work, and it doesn't feel really satisfying either.

Is there a good solution to start VLC minimized? Thanks in advance.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>