Advertisement
Enlight432

Untitled

Oct 20th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. myWindow1 := ""
  2. myWindow2 := ""
  3.  
  4. 1::
  5.     Global myWindow1 := WinActive("A") ;
  6.     Sleep, 1000
  7. return
  8.  
  9. 2::
  10.     Global myWindow2 := WinActive("A")
  11.     Sleep, 1000
  12. return
  13.  
  14. NumpadUp::
  15.     If WinExist(myWindow1)
  16.     {
  17.         WinActivate(myWindow1)
  18.         Sleep, 1000
  19.     }
  20.    
  21.     SendInput, {T}
  22.     SendInput, {Backspace}
  23.     SendInput, ^v
  24.     SendInput, {Enter}
  25.     Sleep, 3000
  26.     Click 420, 810
  27. return
  28.  
  29. NumpadRight::
  30.     If WinExist(myWindow2)
  31.     {
  32.         WinActivate(myWindow2)
  33.         Sleep, 1000
  34.     }
  35. return
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement