Crab Posted March 31, 2006 Posted March 31, 2006 (edited) Hi, i am new to the forums and AutoIt and i would like some direction For my first script i would like to make an auto talker for Runescape 2 what i would like to have in this script is the following. 1)Send a message with the press of a hotkey as many times as the user wants 2)Search the screen for the color of text that appears when a person request a trade and click that area I dont expect to be told how to do this but i would like to ask if someone can point me to the spots in the help file and maybe sample scripts so i can read/see how this can be done. Thanks Edited March 31, 2006 by Crab
Moderators big_daddy Posted March 31, 2006 Moderators Posted March 31, 2006 (edited) A few things to look at are: HotKeySet() Func Send() PixelSearch() MouseClick() Edited March 31, 2006 by big_daddy
Crab Posted March 31, 2006 Author Posted March 31, 2006 ok my problem now is i add function to send text i also add a WinWaitActive and when its active i give a messagebox but after that the script closes and the function doesnt run :\
Valuater Posted March 31, 2006 Posted March 31, 2006 (edited) Welcome to the Forums Craba great place to start is herehttp://www.autoitscript.com/forum/index.php?showtopic=21048#8) Edited March 31, 2006 by Valuater
bucky002 Posted March 31, 2006 Posted March 31, 2006 This might help somewhat. HotKeySet("{ESC}", "terminate") HotKeySet("{F2}", "msg") $input = InputBox("Phrase", "Enter a phrase", "", "", 50,50,50,50) GUICtrlRead($input) while 1 sleep(1000) WEnd func msg() send($input) endfunc Func terminate() Exit EndFunc You have to push F2 to talk though.
Evil_Has_Survived Posted April 5, 2006 Posted April 5, 2006 I don't know how old this forum is but I think everybody will like this program http://www.regsoft.com/keys/ Thanks in advance
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