Sign in to follow this  
Followers 0
tryp

Keyboard Map

5 posts in this topic

I am a real noob when it comes to programing so I may not be asking the right questions. Well here it is let me try.

I am looking for a map of the keyboard for what I think are key codes.

Also how woudl I do a key comboination like

Alt+Tab

So I can set the focus to another screen

I hope someone can help

Thanks :-D :think:

Share this post


Link to post
Share on other sites



I am aloso looking for how to send arrow signals from the keyboard.

I.e.

Down

Left

Right

Up

Thanks :(:think:

Share this post


Link to post
Share on other sites

in the help file look for send


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

I figured it out what I was looking for.

http://www.ericphelps.com/batch/samples/sendkeys.txt

this web site has a complete list of keycodes towards the bottom of the page.

Key Code

BACKSPACE {BACKSPACE}, {BS}, or {BKSP}

BREAK {BREAK}

CAPS LOCK {CAPSLOCK}

DEL or DELETE {DELETE} or {DEL}

DOWN ARROW {DOWN}

END {END}

ENTER {ENTER}or ~

ESC {ESC}

HELP {HELP}

HOME {HOME}

INS or INSERT {INSERT} or {INS}

LEFT ARROW {LEFT}

NUM LOCK {NUMLOCK}

PAGE DOWN {PGDN}

PAGE UP {PGUP}

PRINT SCREEN {PRTSC}

RIGHT ARROW {RIGHT}

SCROLL LOCK {SCROLLLOCK}

TAB {TAB}

UP ARROW {UP}

F1 {F1}

F2 {F2}

F3 {F3}

F4 {F4}

F5 {F5}

F6 {F6}

F7 {F7}

F8 {F8}

F9 {F9}

F10 {F10}

F11 {F11}

F12 {F12}

F13 {F13}

F14 {F14}

F15 {F15}

F16 {F16}

Share this post


Link to post
Share on other sites

I figured it out what I was looking for.

http://www.ericphelps.com/batch/samples/sendkeys.txt

this web site has a complete list of keycodes towards the bottom of the page.

Key Code

BACKSPACE {BACKSPACE}, {BS}, or {BKSP}

BREAK {BREAK}

CAPS LOCK {CAPSLOCK}

DEL or DELETE {DELETE} or {DEL}

DOWN ARROW {DOWN}

END {END}

ENTER {ENTER}or ~

ESC {ESC}

HELP {HELP}

HOME {HOME}

INS or INSERT {INSERT} or {INS}

LEFT ARROW {LEFT}

NUM LOCK {NUMLOCK}

PAGE DOWN {PGDN}

PAGE UP {PGUP}

PRINT SCREEN {PRTSC}

RIGHT ARROW {RIGHT}

SCROLL LOCK {SCROLLLOCK}

TAB {TAB}

UP ARROW {UP}

F1 {F1}

F2 {F2}

F3 {F3}

F4 {F4}

F5 {F5}

F6 {F6}

F7 {F7}

F8 {F8}

F9 {F9}

F10 {F10}

F11 {F11}

F12 {F12}

F13 {F13}

F14 {F14}

F15 {F15}

F16 {F16}

I'm not sure who still uses V2 (or why for that matter... Afraid of change I guess :think: ), but in the V3 Help file, all of this is located under Send Key List and much more indeed.

So as beerman suggested, that's where I would look, and since your so new, I'd suggest trying V3 out instead of V2, you'll find much more support for your questions/needs there than you will here :(.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0