GraySloth

Livestreamer GUI

Dec 2nd, 2013
661
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;v1.1 : added best quality option
  2. #NoEnv
  3. #SingleInstance Force
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5. SetBatchLines -1
  6. SendMode Input
  7. SetTitleMatchMode 2
  8.  
  9. Gui, Add, Button, x22 y95 w120 h30 , i'll do it!
  10. Gui, Add, ComboBox, x22 y20 w130 h20 r4 vChannel , yogscast||sips_|totalbiscuit ; Add channels to this list seperated by a | the || in front of a name indicates that is the default.
  11. Gui, Add, DropDownList, x32 y60 w100 h20 r5 vQuality, best|mobile_high||mobile_medium|mobile_low|mobile_mobile
  12. ; Generated using SmartGUI Creator for SciTE
  13. Gui, Show, w175 h148, LiveStreamer
  14. return
  15.  
  16. Buttoni'lldoit!:
  17. Gui, Submit
  18. run "C:\Program Files (x86)\Livestreamer\livestreamer.exe" twitch.tv/%Channel% %Quality%
  19. ExitApp
  20.  
  21. GuiClose:
  22. ExitApp
Add Comment
Please, Sign In to add comment