Sign in to follow this  
Followers 0
Gonji

Where is 'Direction' Commands?

14 posts in this topic

I tried to find 'Up Arrow' or 'UP' command and do not work. I couldn't find it.

Send ("{ENTER}") ; Enter menu

Sleep (0550) ; Sleep

Send ("{UPARROW}") ; <--- Tried to up arrow, not numpad.

Sleep (0550) ; Sleep

Send ("{ENTER}") ; Enter menu

Sleep (0550) ; Sleep

Send ("{ESCAPE}") ; Exits open windows

Anyone can help which command for UpArrow, DownArrow, LeftArrow and RightArrow, do not want to use numpad please.

Thank you

Share this post


Link to post
Share on other sites



Just grabbed this from the help file I hope it helps...

{UP} Cursor up

{DOWN} Cursor down

{LEFT} Cursor left

{RIGHT} Cursor right

That 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)

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I am using AU3 to send('{UP}') to 'yes' commands in Final Fantasy XI.

Edited by Gonji

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

Then the {UP} and others are the right ones, but the fact that it is a game may have hooked those keys.

Edited by this-is-me

Who else would I be?

Share this post


Link to post
Share on other sites

#13 ·  Posted (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 by Auzmoden

Share this post


Link to post
Share on other sites

I copied what Auzmoden's script and it do work random and sometime it dont work for some reason.

Thank you, guys.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0