Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ChangeResolution(1280,960)
- Sleep 150
- Run "C:\Program Files\NVIDIA Corporation\Control Panel Client\nvcplui.exe"
- WinHide,NVIDIA Control Panel
- Run "steam://rungameid/730"
- Sleep 200
- ControlSend,Button4,^s,NVIDIA Control Panel
- Sleep 10000
- WinWaitClose,ahk_class Valve001
- WinShow,NVIDIA Control Panel
- Sleep 100
- ControlSend,Button4,^o,NVIDIA Control Panel
- ChangeResolution(1920,1080)
- ExitApp
- ChangeResolution(w,h) {
- VarSetCapacity(dM,156,0)
- NumPut(156,dM,36)
- NumPut(0x5c0000,dM,40)
- NumPut(w,dM,108)
- NumPut(h,dM,112)
- DllCall( "ChangeDisplaySettingsA", UInt,&dM, UInt,0 )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement