Jump to content

This topic is 3217 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello,

I'll use a script to set a label number for one record. The script is now counting up but i won't count is down.

So it starts for example with 10 and ends with 1

This is the script i'll use:

Loop
  Set Variable ( $i ; $i + 1 ] // that's your loop counter
  Set Variable ( $$copy ; "Copy #" & $i ) // the global variable for your layout
  Print [ No dialog ] // set print dialog to print 1 copy only
  Exit Loop if [ $i = $numOfCopies ]
End Loop
Set Variable ( $$copy ; "" ) // clean-up; you only need the $$ while printing
Link to comment
Share on other sites

Set Variable ( $i ; 10 ] //Value is the start number you want to count down from
Loop
  Exit Loop if [ $i = 0 ]
  Set Variable ( $$copy ; "Copy #" & $i )
  Print [ No dialog ]
  Set Variable ( $i ; $i - 1 ]
End Loop
Set Variable ( $$copy ; "" )

Hope this helps!
Link to comment
Share on other sites

This topic is 3217 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.