Advertisement
Guest User

Auto Screen Switch.bat

a guest
Jul 15th, 2017
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. :loop
  3. set /p var=<G:\.switch
  4. timeout 1
  5. if "%var%"=="Idle" goto loop
  6. if "%var%"=="Linux" nircmd monitor off
  7. if "%var%"=="Windows" nircmd monitor on
  8. @echo Idle> "G:\.switch"
  9. goto loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement