Jump to content

Minimize a Non-AutoIt program to task bar or Systray


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...