Jump to content

How do you "hit" keys?


Recommended Posts

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!

Link to comment
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.
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...