Sign in to follow this  
Followers 0
krzyrice

Controlsend firefox refresh

3 posts in this topic

Controlsend("Mozilla Firefox", "", "MozillaWindowClass5", "{F5}")
Controlsend("Mozilla Firefox", "", "MozillaWindowClass5", "{ENTER}")

Pretty much i just want to press f5 and then enter in firefox while i am playing a game in windowed mode. now firefox will be maximized in the background. when i run this script, not only does it not press enter but when it presses f5, it changes firefox to active window. how can i change this so that it does press enter and that my game stays the active window?

Share this post


Link to post
Share on other sites



cant any1 help me

Share this post


Link to post
Share on other sites

Try this, put some Sleep between the two ControlSends, perhaps the Enter is being sent but not 'doing what its supposed to' because the page hasn't finished re-loading. For the focus thing, I don't know how to keep focus to a window, maybe the game needs to be 're-focused', try with WinActivate.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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