Jump to content
Sign in to follow this  
MrChris

Display MSGBOX but still have script continue?

Recommended Posts

MrChris

In looking at the help for the MSGBOX function I did not find an answer for what I was after.

How would I display a MSGBOX and still have the script continue without closing the MSGBOX until the script has finished?

Or would it be better to use the progress bar?

Many thanks,

MrChris

Edited by MrChris

Share this post


Link to post
Share on other sites
MrChris

Thanks for the help SmOke_N yet again. Let me rephrase the question a little.

My MSGBOX does not ask a yes or no question but rather a OK button to continue. I know how to make the script continue after pressing OK but was hoping there was a way I would be able to have some type of Message be displayed while something is happening in the backround per my script.

In other words I have my script use the RunWait function with the SW_HIDE option and it sometimes takes about a minute or so for it to continue and was hopeing to notify the user that it is working and to be paitent and then notify them when it is done or something to that nature.

Hope this makes a little more sense.

MrChris

Share this post


Link to post
Share on other sites
SmOke_N

Thanks for the help SmOke_N yet again. Let me rephrase the question a little.

My MSGBOX does not ask a yes or no question but rather a OK button to continue. I know how to make the script continue after pressing OK but was hoping there was a way I would be able to have some type of Message be displayed while something is happening in the backround per my script.

In other words I have my script use the RunWait function with the SW_HIDE option and it sometimes takes about a minute or so for it to continue and was hopeing to notify the user that it is working and to be paitent and then notify them when it is done or something to that nature.

Hope this makes a little more sense.

MrChris

Did you bother to even run it? It does what you asked... Next time someone posts something, try before you stick your foot in your mouth... In one of my quotes "Just do it before you become the "Butt of a Valik Quote"". Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
SmOke_N

You could just fake the message box with a separate GuiCreate.

Yeah... but that was the standard answer 6 months ago :P

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.