Guest User

Doppelklicker

a guest
Jul 13th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.78 KB | None | 0 0
  1. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  2. #AutoIt3Wrapper_UseUpx=n
  3. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  4. #include <Misc.au3>
  5.  
  6. Global Const $key = InputBox("Key CODE","Gebe bitte den Code der taste ein die überwacht werden soll")
  7. Global Const $number = InputBox("Key","Gebe bitte die eigentliche taste ein die an das 2. Fenster gesendet werden soll.")
  8.  
  9.  
  10. MsgBox(64,"Info","Starte beide Flyff Fenster und drücke dann auf OK")
  11. $avWinList = WinList ("FLYFF")
  12. WinSetTitle($avWinList[1][1],"","MAIN GUI 1")
  13. WinSetTitle($avWinList[2][1],"","RINGMASTER")
  14. Do
  15.     If _IsPressed($key) And WinActive($avWinList[1][1]) Then
  16.         Do
  17.             Sleep(100)
  18.         Until Not _IsPressed($key)
  19.         ControlSend($avWinList[2][1],"","",$number)
  20.     Endif
  21. Until _IsPressed("1B")
Advertisement
Add Comment
Please, Sign In to add comment