Jump to content

Keyboard Emulation


Recommended Posts

I was trying to make a macro for a program but the Send function doesnt work, is there another to emulate a key that is pressed by keyboard?

thank you

<{POST_SNAPBACK}>

search the forums for
_IsPressed

[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Link to comment
Share on other sites

just type... with keyboard like if i send in a "s" it should show s on the window... but it doesnt seem to let me. so i was trying to find another to send in a key or emulate a keyboard pressing action using something from the window..

Edited by pricyber
Link to comment
Share on other sites

Welcome to the forums!

Send() will most probably work for you (as it does for many games) if you change some options first:

; change 50 to 100 if still doesn't work
opt("sendKeyDownDelay", 50)

send("Test keys...")
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...