Forge Posted June 11, 2004 Posted June 11, 2004 AutoItSetOption("SendKeyDelay", 10) HotKeySet ("+{F1}", "StartScan") HotKeySet ("+{F2}", "StopScan") HotKeySet ("+{F3}", "ExitScanner") While 1 Sleep (100) Wend Func StartScan() WinWaitActive ("Tibia") Do sleep (100) send ("^{NUMPAD8}") send ("^{NUMPAD2}") $coord = PixelSearch( 850, 300, 1024, 768, 0x80ACE8, 20) Until NOT @error send ("^{L}") MsgBox (0, "Logged!", "You logged at " & @Hour & ":" & @min & ":" & @sec) Endfunc Func StopScan() While 1 Sleep(6000) WEnd Endfunc Func ExitScanner() Msgbox (0, "Exit", "Exiting Forge AutoLog") Exit EndFunc Problem it doesn't send Numpad8 and 2
ezzetabi Posted June 11, 2004 Posted June 11, 2004 As it seems it would send CTRL+Numpad8 and 2. If that you want?
Forge Posted June 11, 2004 Author Posted June 11, 2004 I made a function of it and made some delay. Then it worked.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now