Gonji Posted October 11, 2004 Share Posted October 11, 2004 I tried to find 'Up Arrow' or 'UP' command and do not work. I couldn't find it.Send ("{ENTER}") ; Enter menuSleep (0550) ; SleepSend ("{UPARROW}") ; <--- Tried to up arrow, not numpad.Sleep (0550) ; SleepSend ("{ENTER}") ; Enter menuSleep (0550) ; SleepSend ("{ESCAPE}") ; Exits open windowsAnyone can help which command for UpArrow, DownArrow, LeftArrow and RightArrow, do not want to use numpad please.Thank you Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 11, 2004 Share Posted October 11, 2004 Just grabbed this from the help file I hope it helps...{UP} Cursor up {DOWN} Cursor down {LEFT} Cursor left {RIGHT} Cursor rightThat should be the arrows you are looking for.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Gonji Posted October 11, 2004 Author Share Posted October 11, 2004 Just grabbed this from the help file I hope it helps...That should be the arrows you are looking for.JS<{POST_SNAPBACK}>Exactly what I did 'UP' first then I added UPARROW. I wonder why it dont work. Maybe my WindowXP fault? Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 11, 2004 Share Posted October 11, 2004 What program are you trying to send('{UP}') to? I should think it would work fine in XP. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Gonji Posted October 11, 2004 Author Share Posted October 11, 2004 (edited) I am using AU3 to send('{UP}') to 'yes' commands in Final Fantasy XI. Edited October 11, 2004 by Gonji Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 11, 2004 Share Posted October 11, 2004 I dont understand what it is that you are trying to do. Send a command to a 'yes'? :-/ Sorry I just want to understand because that should have worked for you. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
this-is-me Posted October 11, 2004 Share Posted October 11, 2004 He is trying to send {UP} to final fantasy. The game then highlights the "yes". The very word game throws much of this out the window. Does the game respond to any of the key presses? Who else would I be? Link to comment Share on other sites More sharing options...
Gonji Posted October 12, 2004 Author Share Posted October 12, 2004 Yes. Thank you for explain, this-is-me. Sorry that I dont explain it clearly. Does the game respond to any of the key presses?No luck. Link to comment Share on other sites More sharing options...
Guest Auzmoden Posted October 12, 2004 Share Posted October 12, 2004 Looks to me like you're working on the same script I am. I'm working on a fishing bot for Final Fantasy XI. The one I have though, uses the mouse to click a button on the screen. The script is a little incorrect though, and seems to click on the wrong place. I'm going to try and change the cords so it clicks in the correct spot but would rathor use the "up arrow" key to select the correct button in the "in-game" menu list. Heres a section of the script where the changes need to be made: Func autosort() Sleep(9000); AutoItSetOption("SendKeyDelay", 0235); Send ("!i"); Sleep(0250); Send ("{NUMPADADD}"); Sleep (0250); Send ("{ENTER}"); sleep(0250); MouseMove(1209,122,10); <===This is the inccorect part sleep(0250); Send ("{ENTER}"); sleep(0250); Send ("{ESCAPE}"); sleep(0250); Send ("{ESCAPE}"); Sleep (0250); EndFunc If anyone knows of a way to change this so the up arrow key is used inplace of a MouseMove I'm sure many of use would be greatful for any info on this. Thanks guys. Link to comment Share on other sites More sharing options...
this-is-me Posted October 12, 2004 Share Posted October 12, 2004 Just to clarify, if the game will not respond to any key presses from autoit, then it has hooked the keyboard, and you will not be able to send keys at all. Who else would I be? Link to comment Share on other sites More sharing options...
Guest Auzmoden Posted October 12, 2004 Share Posted October 12, 2004 Just to clarify, if the game will not respond to any key presses from autoit, then it has hooked the keyboard, and you will not be able to send keys at all.<{POST_SNAPBACK}>It responds to key presses, we (at least me) are trying to figure out how to use the up arrow key (not on the keypad as in the game these control movement) in place of the MouseMove. Link to comment Share on other sites More sharing options...
this-is-me Posted October 12, 2004 Share Posted October 12, 2004 (edited) Then the {UP} and others are the right ones, but the fact that it is a game may have hooked those keys. Edited October 12, 2004 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
Guest Auzmoden Posted October 12, 2004 Share Posted October 12, 2004 (edited) I'll give it a shot. Thanks man, I appreciate the help. EDIT: I just tryed {UP} in the script and it works great! Thanks for the info! Heres what the code looks like now: Func autosort() Sleep(9000); AutoItSetOption("SendKeyDelay", 0235); Send ("!i"); Sleep(0250); Send ("{NUMPADADD}"); Sleep (0250); Send ("{ENTER}"); sleep(0250); Send ("{UP}"); <===This was MouseMove(1209,122,10); sleep(0250); Send ("{ENTER}"); sleep(0250); Send ("{ESCAPE}"); sleep(0250); Send ("{ESCAPE}"); Sleep (0250); EndFunc Edited October 12, 2004 by Auzmoden Link to comment Share on other sites More sharing options...
Gonji Posted October 12, 2004 Author Share Posted October 12, 2004 I copied what Auzmoden's script and it do work random and sometime it dont work for some reason. Thank you, guys. Link to comment Share on other sites More sharing options...
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