Jump to content
Sign in to follow this  
Alan

Increment Variable in MsgBox?

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

Share this post


Link to post
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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...