Jump to content

Recommended Posts

Posted

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

Posted

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!

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

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...