Sign in to follow this  
Followers 0
Juppie7

msgbox threading?

4 posts in this topic

is it possible to have a MsgBox continue script execution while it is displayed? That way a GUI, for instance, will show up while a message box shows information about that gui? possibly a DLLCall to open a win32 MessageBoxA(..) function, so that script execution will continue after the display?

Share this post


Link to post
Share on other sites



Like this...

_Msgbox(0,"Title","Text",12)

For $i = 0 to 9
    ToolTip("The script is still running " & 10 - $i)
    Sleep(1000)
Next



Func _Msgbox($iType,$vTitle,$vText,$iTimeout=0, $hwnd="")
    Run(FileGetShortName(@AutoItExe) & ' /AutoIt3ExecuteLine  "MsgBox('& $iType & ', ''' & $vTitle & ''', ''' &  $vText & ''',''' & $iTimeout & ''',''' & $hwnd & ''')"')
EndFunc

Share this post


Link to post
Share on other sites

that'll work! thanks muttley

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  
Followers 0