Sign in to follow this  
Followers 0
bradswald

How do you "hit" keys?

5 posts in this topic

So here is what i am trying to do.

CODE
WinWaitActive("GOT THIS PART ALREADY")

Send("the string that i want sent")

It will type out "the string that i want sent" (yippie) but I do not want to have to hit enter to "send" it to the program. I have looked for the "enter" command but cant find it :whistle: Is there a list of non alphabet keys somewhere?

example

enter

shift

tab

capslock

insert

home

end

pageup

blah blah blah..

Any help would be GREAT!!

Thanks!

Share this post


Link to post
Share on other sites



So here is what i am trying to do.

CODE
WinWaitActive("GOT THIS PART ALREADY")

Send("the string that i want sent")

It will type out "the string that i want sent" (yippie) but I do not want to have to hit enter to "send" it to the program. I have looked for the "enter" command but cant find it :) Is there a list of non alphabet keys somewhere?

example

enter

shift

tab

capslock

insert

home

end

pageup

blah blah blah..

Any help would be GREAT!!

Thanks!

Try using Send("{Enter}")

Try using the HELPFILE, its pretty Helpful :whistle: Look under Send and it will give you all the keys you can press.


EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

If you look in the helpfile regarding the command Send() it will clearly state what you need to send for the enter key...

Send Command (if zero flag) | Resulting Keypress

{ENTER} | ENTER key on the main keyboard

Edit:

Damn EndFunc was faster ;p

Edited by FreeFry

Share this post


Link to post
Share on other sites

Thank you!

I poked around in the help file but could not find it :whistle: oh well..

THANKS again!

Share this post


Link to post
Share on other sites

Thank you!

I poked around in the help file but could not find it :whistle: oh well..

THANKS again!

If you look in the index of the help file it is easier to locate. It is all alphabetized.


EndFuncAutoIt is the shiznit. I love it.

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