Plusautomatisering Posted October 6, 2015 Share Posted October 6, 2015 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 More sharing options...
dwdata Posted October 6, 2015 Share Posted October 6, 2015 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 More sharing options...
Plusautomatisering Posted October 6, 2015 Author Share Posted October 6, 2015 Thanks it working Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3260 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 accountSign in
Already have an account? Sign in here.
Sign In Now