Advertisement
Guest User

VLC open/playandpause hotkey help

a guest
Apr 17th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Insert::
  2.  
  3.     Process, Exist, vlc.exe ; check to see if VLC is running
  4.     If (ErrorLevel = 0) ; If it is not running
  5.         {
  6.         run, C:\Program Files\VideoLAN\VLC\vlc.exe, C:\Program Files\VideoLAN\VLC\
  7.         }
  8.     Else {
  9.     playpause()
  10.     ControlSend,,{space}, VLC
  11.     sleep 5
  12.     ControlSend,,+{left}, VLC
  13.     }
  14. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement