Jump to content

Increment Variable in MsgBox?


Alan
 Share

Recommended Posts

I want to increment a number in a msgbox each time my script loops so that it will say "1 files saved" and then "2 files saved" and so on. Can this be done? And if so, can someone supply the script as I am very new to this?

Thanks,

Alan

Link to comment
Share on other sites

I want to increment a number in a msgbox each time my script loops so that it will say "1 files saved" and then "2 files saved" and so on.  Can this be done?  And if so, can someone supply the script as I am very new to this?

Thanks,

Alan

<{POST_SNAPBACK}>

$Count = 1
While 1

Msgbox(0,"Filesave","Counting " & $Count)
$Count = $Count + 1

WEnd
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...