LibiO Posted December 31, 2009 Posted December 31, 2009 This maximizes only the window message box, but how is possible to maximize a button? MsgBox(4096,"Selective suspend","selective suspend : " & $selective_suspend & " please touch the screen with " & $numOfFingers &" fingers" & " and then immediately click the OK with the mouse") WinActivate("Selective suspend") WinWaitActive("Selective suspend") WinActivate("Selective suspend") WinSetState("Selective suspend","", @SW_MAXIMIZE) Thanksm.bmp
PsaltyDS Posted December 31, 2009 Posted December 31, 2009 No, your script can't do anything to its own MsgBox() because that is a blocking function (pauses the script). And what does "maximize the button" mean? Sounds like you need to use GuiCreate() and do your own custom dialog box. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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