Created
December 9, 2018 20:13
-
-
Save DarthJahus/f0358a4eb0745c1b8c5ad9e15771bc1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min %~dpnx0 %* && exit | |
echo Switching to extended mode | |
displayswitch.exe /extend | |
echo openning %* in VLC | |
timeout 5 | |
"C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file %* | |
echo Switching to external mode | |
displayswitch.exe /external | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please, keep this file in a directory without spaces in the name.