Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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
Posted
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!

This topic is 3335 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.