Jump to content
Sign in to follow this  
GoogleDude

Minimize a Non-AutoIt program to task bar or Systray

Recommended Posts

GoogleDude

I am trying to minimize a non autoit script/program but when I use WinSetState @ SW_MINIMIZE is minimizes it to the bottom left corner on top the start button yet when I click the minimize button from the top right corner of the app is minimizes to inside the task bar? What am I missing is there a UDF that can do the same type thing with more option or something?

Thanks,

GoogleDude

Share this post


Link to post
Share on other sites
Andreik

I am trying to minimize a non autoit script/program but when I use WinSetState @ SW_MINIMIZE is minimizes it to the bottom left corner on top the start button yet when I click the minimize button from the top right corner of the app is minimizes to inside the task bar? What am I missing is there a UDF that can do the same type thing with more option or something?

Thanks,

GoogleDude

Look here an example and work fine:

AutoItSetOption("WinTitleMatchMode",2)
Run("Notepad")
WinWait("Notepad")
WinSetState("Notepad","",@SW_MINIMIZE)

Post your code then we can help you more.


When the words fail... music speaks

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.