GoogleDude Posted October 4, 2008 Posted October 4, 2008 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
Andreik Posted October 4, 2008 Posted October 4, 2008 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.
Zedna Posted October 4, 2008 Posted October 4, 2008 Try to use _SendMessage() with WM_SYSCOMMAND and SC_MINIMIZELook here http://www.autoitscript.com/forum/index.ph...st&p=347200 Resources UDF ResourcesEx UDF AutoIt Forum Search
GoogleDude Posted October 5, 2008 Author Posted October 5, 2008 Try to use _SendMessage() with WM_SYSCOMMAND and SC_MINIMIZELook here http://www.autoitscript.com/forum/index.ph...st&p=347200Thanks. That was just what I was looking for!GoogleDude
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now