SHARE
TWEET

WGT Unity Game Resolution Picker

ScottBin May 21st, 2020 3,920 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance Force
  2.  
  3. Width := "640|800|1024|1280|1360|1366|1440|1536|1600|1680|1920|2048|2560|3440|3840"
  4. Height := "360|600|720|768|800|864|900|1024|1050|1080|1152|1200|1440|2160"
  5.  
  6. SysGet, Screen, MonitorWorkArea
  7.  
  8. Gui, +AlwaysOnTop
  9. Gui, Color, aaaaaa
  10. Gui, Font, s14 Tahoma
  11. Gui, Add, DropDownList, choose1 w70 vWidthValue gSubmit, % Width
  12. Gui, Add, Text, ym,x
  13. Gui, Add, DropDownList, ym choose1 w70 vHeightValue gSubmit, % Height
  14. Gui, show, ,WGT
  15.  
  16.  ^r::
  17.  Gui, show, ,WGT
  18.  return
  19.  
  20.  
  21. Submit:
  22. Gui, Submit, NoHide
  23. WinMove, WGT Golf, , (ScreenRight-WidthValue)/2, (ScreenBottom-HeightValue)/2,WidthValue,HeightValue
  24. WinActivate, WGT
  25. return
  26.  
  27. ^x::ExitApp
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top