Advertisement
EvilAsh25

Dragon Quest 9 Scene Switcher

Oct 20th, 2018
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Loop
  2. {
  3.     IfWinActive, DS Capture Bottom
  4.     {
  5.         ;Compare color: 0x9A5928
  6.         ;Coordinates: 768, 600 or 20, 36
  7.        
  8.         PixelGetColor, px1_color, 768, 600, RGB
  9.         PixelGetColor, px2_color, 20, 36, RGB
  10.         sleep 150
  11.         if (px1_color = 0x9A5928 or px2_color = 0x9A5928)
  12.         {
  13.             controlSend,,{F7},ahk_class Qt5QWindowIcon
  14.         }
  15.         else
  16.         {
  17.             controlSend,,{F8},ahk_class Qt5QWindowIcon
  18.         }
  19.            
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement