heibel Posted August 1, 2006 Posted August 1, 2006 (edited) Hello, Got autoit hooked up to a hta-application. At some point (based on html-content-of-current-page) I let autoit pop up a MsgBox, like: $msg=MsgBox(308,$messageInsertH,$messageInsert) All well, exept that when clicking the html-page again (outside the msgbox) it disappears to under the application... Fiddled a bit with $msg=-4444 Line 100: $msg=MsgBox(308,$messageInsertH,$messageInsert) While $msg=-4444 WinSetOnTop($messageInsertH, ,$messageInsert, 1) Sleep(500) WEnd Okay, no luck, probably 'cause the script never goes further then line 100 What to do? Workarounds? Thanks in advance! Harry Edited August 1, 2006 by heibel
MHz Posted August 1, 2006 Posted August 1, 2006 Always on top MsgBox MsgBox(0x40000, $messageInsertH, $messageInsert)
heibel Posted August 1, 2006 Author Posted August 1, 2006 Always on top MsgBox MsgBox(0x40000, $messageInsertH, $messageInsert) Hi Mhz, Tried that: works great! But Now: something simular for a Yes/No-msgbox? That's what I need! (or better: where did you get this info from?) Thanks!
MHz Posted August 1, 2006 Posted August 1, 2006 It is in the AutoIt3 Helpfile. Look here at the online version under remarks.MsgBox(0x40004, 'title', 'yes or no')
heibel Posted August 1, 2006 Author Posted August 1, 2006 It is in the AutoIt3 Helpfile. Look here at the online version under remarks. MsgBox(0x40004, 'title', 'yes or no') Okay, works perfectly! Wauw, what great: thanks MHz, thanks all you of autoit! Harry
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