Sign in to follow this  
Followers 0
soupbones

Msgbox help

6 posts in this topic

Im still new to this so....

ive got a msgbox that pops up and tells you how may messages are in an inbox but to set it up so if you hit ok it skips down to another part of the script or if you hit cancel it keeps running from that spot.

any ideas?

soupbones

USMC Sys Admin

Share this post


Link to post
Share on other sites



One would think a USMC Admin would provide sufficient details.

Can you just post the script?

Share this post


Link to post
Share on other sites

any ideas?

No clue at all without a single line of CODE :)

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

You just need to check the return value of the msgbox... here try this;

$iMsgBox = MsgBox(1, "Test", "press my buttons")
MsgBox(0, "", $iMsgBox)

just as an example for what I'm talking about. From there, depending on your script, have something like

If $iMsgBox = (value for yes) then _Function()

if the value does not equal what ok is, the script will just continue

EDIT: wow I knew I was slow but 2 responces down...hmm I need to eat more Wheaties

Edited by someone

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Thanks i'll see if that works : )

sorry cant post the script its got class info in it and i dont have time to scrub it

thanks again

Soupbones

USMC Sys Admin

Edited by soupbones

Share this post


Link to post
Share on other sites

You should make some time..

otherwise you will be spending your time to figure it out


Best regards,Emiel Wieldraaijer

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