Advertisement
Guest User

Untitled

a guest
Sep 11th, 2016
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.53 KB | None | 0 0
  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%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement