Sign in to follow this  
Followers 0
Cuez

Arrows on the keyboard - How?

8 posts in this topic

#1 ·  Posted (edited)

Hello, some hours ago I downloaded AutoIt, and so I tried some different things and found a lot of answers to my questions using the search bar up at the top, but I cant seem to find a tread about the names at different keys?

I need the name for the right key, I guessed right at the {ENTER}, but I cant "hit" the right one for the right..

Hope some one can answer the question or tell me how a site/some way to know the keys.

EDIT: also, is there a name for the "tab" key?

Edited by Cuez

Share this post


Link to post
Share on other sites



{RIGHT}

Nope.. doesn't do the job, Does it have an effect that Im using a danish keyboard? you know.. we got æ ø å on the keyboard too..

Share this post


Link to post
Share on other sites

Look at the Send Key List in the index. That will give you a list of all of the keys.

{TAB} TAB

Share this post


Link to post
Share on other sites

Well I took one of the exampels and moderated it so it worked with my computer (Also on danish)

Run("notepad.exe")


; Wait for the Notepad become active - it is titled "Untitled - Notepad" on English systems
WinWaitActive("[CLASS:Notepad]")


; Now that the Notepad window is active type some text
Send("Hello from Notepad.{ENTER}1 2 3 4 5 6 7 8 9 10{ENTER}")
Sleep(500)
Send("+{UP 2}")
Sleep(500)


; Now quit by pressing Alt-f and then x (File menu -> Exit)
Send("!f")
Send("a")


; Now a screen will pop up and ask to save the changes, the window is called
; "Notepad" and has some text "Yes" and "No"
WinWaitActive("Notepad")
Send("{RIGHT} {ENTER}")    [b]This is where my problem is[/b]


; Now wait for Notepad to close before continuing
WinWaitClose("[CLASS:Notepad]")

Share this post


Link to post
Share on other sites

Never mind, I figured it out.

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