daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Sep 11th, 2016 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. :TITEL
  3. title MPV Start
  4. :URLEINGABE
  5. set /p URL=Bitte Link einfuegen:
  6. if not defined URL GOTO :URLEINGABE
  7. :FENSTERPOSITION
  8. set /p POS=Position:
  9. if not defined POS GOTO :START
  10. if /i %POS%==OL GOTO OL
  11. if /i %POS%==OR GOTO OR
  12. if /i %POS%==UL GOTO UL
  13. if /i %POS%==UR GOTO UR
  14. :OL
  15. set POS2=--geometry=1920:0
  16. GOTO :START
  17. :OR
  18. set POS2=--geometry=2880:0
  19. GOTO :START
  20. :UL
  21. set POS2=--geometry=1920:540
  22. GOTO :START
  23. :UR
  24. set POS2=--geometry=2880:540
  25. GOTO :START
  26. :START
  27. start "mpv" "C:\Program Files\mpv\mpv.exe" %POS2% %URL%
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top