Jump to content
Sign in to follow this  
InterHmai

ControlSend forces inactive window into focus?

Recommended Posts

InterHmai

I've written a script to automate a command or spellcast in a game. I was hoping to be able to use it while watching a movie or browsing the web. Unfortunately, ControlSend always brings the game window into focus. Here's the code I have where it happens:

ControlSend($mWindow,"",1001,"{ENTER}");

I've tried using the Control's Advance Mode Class name which didn't help. mWindow is the window handle.

Anyone have some insight into how I can fix this or is it just how it is?

Thanks!

Edited by InterHmai

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  

×