Advertisement
VisualFeast

Resolve Studio Downloader

Feb 23rd, 2024 (edited)
1,160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance, Force
  2.  
  3. UrlDownloadToFile, https://pastebin.com/raw/k5FcGBJD, resolve_studio.txt
  4. Fileread, StudioURLs, resolve_studio.txt
  5.  
  6. Loop, parse, StudioURLs, `n
  7. {
  8.     page_name := StrSplit(A_LoopField," | ").1
  9.     list .= page_name  "|"
  10. }
  11.  
  12.  
  13. Gui, +AlwaysOnTop
  14. Gui, Add, ListBox, gAction vChoice w500 h175, %list%
  15. Gui, Show, , Resolve Studio direct links--click one to download
  16. return
  17.  
  18.  
  19. Action:
  20. Gui, Submit, NoHide
  21. Loop, parse, StudioURLs, `n
  22. {
  23.     If InStr(A_LoopField, Choice)
  24.     {
  25.         page := StrSplit(A_LoopField," | ").2
  26.         Run, "%page%"
  27.         return
  28.     }
  29. }
  30. return
  31.  
  32.  
  33. GuiClose:
  34. filedelete resolve_studio.txt
  35. ExitApp
  36.  
  37. ESC::
  38. filedelete resolve_studio.txt
  39. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement