Sign in to follow this  
Followers 0
mafioso

Send keys to window without activating ?

7 posts in this topic

Hello everybody.

Can anybody show me an example like how to send keys to Notepad while you're surfing Firefox ? Ofcourse, without activating Notepad (so it doesn't show up). Thanks in advance !

Share this post


Link to post
Share on other sites



ControlSend()

Just use AutoIt3 Window Info, to get the classname and stuff, and it works just perfect!

Share this post


Link to post
Share on other sites

Oh, I forgot. The application I want to send keys doesn't have any controls (3D game).

Share this post


Link to post
Share on other sites

Oh, I forgot. The application I want to send keys doesn't have any controls (3D game).

It will still have a ControlName, everything does. Any application that runs will have a classname.

Share this post


Link to post
Share on other sites

Not necessarily, Garry's Mod and Guildwars dont have any classes, I even did a WinGetClassList() on Guildwars with nothing showing up.


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

Not necessarily, Garry's Mod and Guildwars dont have any classes, I even did a WinGetClassList() on Guildwars with nothing showing up.

weird, from everything ive known, it has a classname! :)

Share this post


Link to post
Share on other sites

weird, from everything ive known, it has a classname! :)

It doesn't have any controls. Any other way I can send just one number for ex. to the application ?

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