Cuez Posted June 10, 2012 Posted June 10, 2012 (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 June 10, 2012 by Cuez
JohnOne Posted June 10, 2012 Posted June 10, 2012 (edited) {RIGHT} EDIT: {TAB} look at the help file for Send, it shows you them. Edited June 10, 2012 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Cuez Posted June 10, 2012 Author Posted June 10, 2012 {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..
JohnOne Posted June 10, 2012 Posted June 10, 2012 Don't know, I doubt it. Post code. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
mike9900 Posted June 10, 2012 Posted June 10, 2012 Look at the Send Key List in the index. That will give you a list of all of the keys. {TAB} TAB
Cuez Posted June 10, 2012 Author Posted June 10, 2012 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]")
JohnOne Posted June 10, 2012 Posted June 10, 2012 For the benefit of others reading, what was your solution? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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