Jump to content
Sign in to follow this  
Hentrinity

How to make MsgBox initiate more instructions?

Recommended Posts

Hentrinity

I wrote this command so far

MsgBox(1, "Scary Ride", "Wanna Play Scary Ride?")

and I want the options of OK and Cancel to initiate into another set of instructions.

Thx in Advance

Share this post


Link to post
Share on other sites
andybiochem

try

Switch MsgBox(1, "Scary Ride", "Wanna Play Scary Ride?")
    Case 1;OK pressed
    ;put ok function call here
        MsgBox(0,"","OK pressed")
    Case 2;CANCEL pressed
    ;put cancel function call here
        MsgBox(0,"","CANCEL pressed")
EndSwitch

- Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.