Jump to content
Sign in to follow this  
latoonne

How to reduce a windows ?

Recommended Posts

latoonne

hello everybody,

And happy new year for all and your family

I use

Run("notepad.Exe")

WinWaitActive("Sans titre - Bloc-notes")

Sleep(2000)

Send("{RWIN}m")

I want to reduce the windows , but it's not work. the key send the Start Button Windows and the first M program in my start menu.

thank's for your response

Share this post


Link to post
Share on other sites
Helge

Use this code instead :

WinSetState("Sans titre - Bloc-notes", @SW_MINIMIZE)

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.