Sign in to follow this  
Followers 0
Guest Mofo

maximized windows

4 posts in this topic

ok, forgive me if i sound nubish, i kinda feel bad for posting this... but oh well

Lets say im making something that works with windows, and sometimes the windows arent maximized but they have to be otherwise it will not work.

How do i write an if statement to check if the window is maximized?

if @SW_MAXIMIZED = 0
movemouse(5, 5, 0)
mouseclick("left")
mouseclick("left")
end if

?

i know that doesnt work, lol ive tried it

help a nub out and maybe my ideas will help you out someday!!!

thanks in advance

Share this post


Link to post
Share on other sites



awesome,

thank you sir

Share this post


Link to post
Share on other sites

Lets say im making something that works with windows, and sometimes the windows arent maximized but they have to be otherwise it will not work.

You might also want to look at the Control* functions. These allow you to interact with windows that are minimized, or even hidden. It also allows the user to potentially do other things while the script is running, since any keystrokes or clicks are sent locally to the controls on that window, and not as a computer wide keystroke.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

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