WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: oradba4u on February 20, 2015, 04:26:02 AM

Title: WIL and VLC
Post by: oradba4u on February 20, 2015, 04:26:02 AM
Trying to get VLC Media Player (v2.5.1) to play an mp3 file minimized.

According to online sources, this should work:
"C:\Program Files\VideoLAN\VLC\vlc.exe" --qt-start-minimized

I am using this code in WinBatch:
Run("C:\Program Files\VideoLAN\VLCx64\vlc.exe","--qt-start-minimized Song.mp3")

It plays the song, but the VLC player is still visible...

Any ideas?
Title: Re: WIL and VLC
Post by: td on February 20, 2015, 06:46:42 AM
The online command line documentation doesn't appear to mention a '--qt-start-minimized'  option so I am not sure what the proper usage is.

To run an exe minimized you can use either the WIL 'RunIcon' or 'RunShell' function.  You can find more information on either in the WIL Consolidated help file.
Title: Re: WIL and VLC
Post by: oradba4u on February 20, 2015, 07:22:18 AM
No go! VLC player plays the song, but is still visible, using either method (RunIcon or RunShell)

Anyone have any ideas/recommendations for a simple piece of software that can play mp3 songs minimized?
Title: Re: WIL and VLC
Post by: JTaylor on February 20, 2015, 07:50:38 AM
Search for "Play MP3 Files" in the Tech Database.   The last entry in the results list may do what you want.

Jim
Title: Re: WIL and VLC
Post by: td on February 20, 2015, 10:14:09 AM
The Tech Database should always be the first or second place to go for WinBatch related questions - the first is sometimes the help file documentation depending on the nature of the information you seek.
Title: Re: WIL and VLC
Post by: oradba4u on February 20, 2015, 10:34:05 AM
Thanks for the info...

Jim: I saw the reference you pointed out (which works great) a couple of days ago, but I got fixated on finding a solution for VLC player.

Anyway, this is pretty cool and will do the job just fine.