Jump to content

Recommended Posts

Posted

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

Posted

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.

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
×
×
  • Create New...