![]() directx-device="DISPLAY1" -> My display where I want VLC to appear. one-instance -> Only one instance of VLC can run at a time, forcing every vlc.exe command to go to the same instance global-key-clear-playlist -> The key stroke that can be pressed, no matter what window you are focused in It will then open vlc with the attributes: > This command will navigate to the directory where VLC is installed. vlc.exe -loop -Z -global-key-clear-playlist='CTRL+W' -one-instance -directx-device="DISPLAY1" -directx-volume=1.00 '"Path\To\Your\Playlist\playlist.m3u'" This is done with the following command: Powershell.exe cd 'C:\Program Files\VideoLAN\VLC\'. The second action is adding the playlist to VLC. In case you don't have anything open or you have not started VLC yet because this is your first press, this has no effect. > This will send over the key stroke CTRL + W. Once VLC has started this way, send over a key stroke for example, through PowerShell, to press the key.Įxample command: powershell.exe $wshell = New-Object -ComObject wscript.shell $wshell.SendKeys('^') ![]() global-key-clear-playlist='CTRL+W' You can choose your own keys to your liking by changing CTRL+W to what you desire.Įxample command: Powershell.exe cd 'C:\Program Files\VideoLAN\VLC\'. This is done by adding the following attribute: Then send a key stroke of the key you just configured. This setting is configured during the startup of VLC. This enables you to clear a playlist without being focused in the VLC window. You need to configure a global key that can be pressed anywhere to clear the playlist.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |