Jump to content
Sign in to follow this  
Drath

Programs that block "Send"?

Recommended Posts

Drath

Currently I was trying to use the "Send" to send certain keys to an older game I play. It seems to be blocking what ever I try to send to it's text box, even when it's in focus. I even tried WinActivate to maybe activate it if it wasn't already. I can't seem to get it working... do you know of any programs that block "Send" like this, and if you do, is there anyway around it?

Thanks.


Share this post


Link to post
Share on other sites
Valuater

have you tried ControlSend()

look it up in the help section of Autoit

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Drath

The AutoIt v3 Active Window Info program doesn't seem to pick up "Control ID" or "Text" inside the program, and inserting nothing in that parameter, or even "" doesn't work. Example:

ControlSend ( "Daggerfall", "", "", "test" )

ControlSend ( "Daggerfal", "", , "test" )

Both don't work.


Share this post


Link to post
Share on other sites
LxP

Welcome to the forums!

By default AutoIt sends keystrokes very quickly. This is convenient for standard windows but often games will only see longer keypresses. Try adding this to the start of your script, trying a larger number if it still doesn't work:

Opt('SendKeyDownDelay', 50)

Share this post


Link to post
Share on other sites
Drath

Well thanks for the help, but it seems the real problem was actually the program was blocking hotkeys that I was triggering functions with. I'm guessing there's no way around this, so I just skipped the hotkey, and added a delay.

Again thanks for the help.


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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.