Jump to content

How can I run while msgbox is running?


Go to solution Solved by j0kky,

Recommended Posts

Posted

MsgBox is a blocking function. Means it waits until the user presses a button or the display timeout has expired.

What kind of information do you want to display? Is a user interaction needed?

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Moderators
Posted

sanaldosya,

If you use my ExtMsgBox UDF (the link is in my sig) you can continue the script while the dialog is displayed - or you could search for Yashied's NotifyBox UDF. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted
  On 6/28/2014 at 3:40 PM, water said:

MsgBox is a blocking function. Means it waits until the user presses a button or the display timeout has expired.

What kind of information do you want to display? Is a user interaction needed?

I want alarm sound is playing continuously. When we click Ok button, alarm will stop.

Thanks to everyone. I've solved the problem with use /AutoIt3ExecuteLine. 

  • Developers
Posted

  On 6/28/2014 at 4:23 PM, sanaldosya said:

I want alarm sound is playing continuously. When we click Ok button, alarm will stop.

 

Thanks to everyone. I've solved the problem with use /AutoIt3ExecuteLine.

make sure you use the #pragma statement to also allow this when compiled.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

I was reading >this old post about moving a msgbox(), and what seems interesting to me is that instead of executing an "external" script to show the msgbox(), this one (according to the explanation given >here) should move the msgbox() from within the same script using the SetTimer function that, unlike the AdlibRegister(), it shouldn't stop during the showing of the MsgBox().
Unfortunately the code of the first topic is corrupted.

Does someone knows how to restore that code or how to achieve that result.
Thanks

edit:
sorry, reading better I realized that this is offtopic
I will move this to a new >topic.

Edited by Chimp

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...