Corti Posted May 6, 2006 Posted May 6, 2006 (edited) Hello everyone, Im very new to this engine, and all i want you to do is, tell me how to replace the "goto" command from 2.x in 3.x ?? I'll post my source here if you could add it ?? --- starts here --- ; ; --------------------------------------- ; Angriff-Script ; www.Mafia1930.de - Firefox Version ; --------------------------------------- ; ; y <---------------------------------------------------- The point where i would like to jump to $delay = IniRead("settings.ini", "main", "delay", "Eintrag oder Datei nicht gefunden.") WinWaitActive("MAFIA :: 1930 - Mozilla Firefox") Send("{F5}") winWaitActive("Bestätigen") Send("{ENTER}") Send("^{TAB}") Sleep(& $delay) ; x <-------------------------------------------- The Point where i want the script to jump to y ; --- ends here --- P.S. Don't wonder about the language, im German Thank you very much, guys. Edited May 6, 2006 by Corti
Developers Jos Posted May 6, 2006 Developers Posted May 6, 2006 (edited) While 1 ; your stuff Wend Edited May 6, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Valuater Posted May 6, 2006 Posted May 6, 2006 maybe ;'--- starts here --- ; ; --------------------------------------- ; Angriff-Script ; www.Mafia1930.de - Firefox Version ; --------------------------------------- ; ; y <---------------------------------------------------- The point where i would like to jump to While 1 sleep(100); change sleep time accordingly my_function() WEnd Func my_function() $delay = IniRead("settings.ini", "main", "delay", "Eintrag oder Datei nicht gefunden.") WinWaitActive("MAFIA :: 1930 - Mozilla Firefox") Send("{F5}") winWaitActive("Bestätigen") Send("{ENTER}") Send("^{TAB}") Sleep($delay) EndFunc ; x <-------------------------------------------- The Point where i want the script to jump to y ; ;'--- ends here --- you could also use HotKeySet() to enter/exit/pause the script 8)
Micha1405 Posted May 6, 2006 Posted May 6, 2006 Function !! HotKeySet("{ESC}","_exit") $delay = IniRead("settings.ini", "main", "delay", "Eintrag oder Datei nicht gefunden.") while 1 sleep($delay) _Angriff() wend Func _Angriff() WinWaitActive("MAFIA :: 1930 - Mozilla Firefox") Send("{F5}") winWaitActive("Bestätigen") Send("{ENTER}") Send("^{TAB}") EndFunc Func _exit() exit EndFunc My TrayToolBar
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