stupidlazykid5 Posted June 13, 2008 Posted June 13, 2008 (edited) I have a script that starts when I press the key to start it. But I want to change it to start when it sees this text or color text and to begin it self. So I don't know how to do it, could you guys help me? So here's a simple script of mine if you don't want to install it, here's it HotKeySet("{Home}","Start") HotKeySet("{end}","stop") HotKeySet("{Pause}","Wait") Func start() #region --- ScriptWriter generated code Start --- Opt("WinWaitDelay",250) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) WinWait("Legend Ragnarok Online 4","") If Not WinActive("Legend Ragnarok Online 4","") Then WinActivate("Legend Ragnarok Online 4","") WinWaitActive("Legend Ragnarok Online 4","") Send("{F1}") Sleep("250") Send("{Enter}") Sleep("250") Send("{Enter}") Sleep("250") Send("{Home}") #endregion --- ScriptWriter generated code End --- EndFunc While 1 Sleep(25) WEnd Func Wait() sleep("99999999999999") EndFunc Func Stop() Sleep(25) Exit EndFunc Edited June 13, 2008 by stupidlazykid5
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