Jump to content
Sign in to follow this  
Damastah

Printing Variables in MsgBox

Recommended Posts

Damastah

I want to make a msgbox print out text, then print out a variable from $Cmdline[1]. all i know is,

MsgBox(0, "Text", "more_txt")

i want to say, there are, $cmdline numbers in this list...

and i might call the script like this:

my_script.au3 5

and expect to see:

there are, 5 numbers in this list...

in the box.

Edited by Damastah

Share this post


Link to post
Share on other sites
Drew

MsgBox( "Title", "This is whats in the variable:"&$CmdLine[])

If that's not what your looking for , explain a little more. I don't have the time to open ur .au3.

Edited by Drew

Share this post


Link to post
Share on other sites
monoceres

Maybe?

MsgBox(0,"Lists","There are "&$cmdline[1]&" in this list")

Edit: Drew beat me to it.

Edited by monoceres

Broken link? PM me and I'll send you the file!

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  

×