soupbones Posted April 2, 2008 Share Posted April 2, 2008 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 Link to comment Share on other sites More sharing options...
DW1 Posted April 2, 2008 Share Posted April 2, 2008 One would think a USMC Admin would provide sufficient details. Can you just post the script? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
rudi Posted April 2, 2008 Share Posted April 2, 2008 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! Link to comment Share on other sites More sharing options...
someone Posted April 2, 2008 Share Posted April 2, 2008 (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 April 2, 2008 by someone While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
soupbones Posted April 2, 2008 Author Share Posted April 2, 2008 (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 April 2, 2008 by soupbones Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted April 2, 2008 Share Posted April 2, 2008 You should make some time.. otherwise you will be spending your time to figure it out Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now