![]()
If you want to include the user name in the path or in the file name you can write: @USER@
If you want to include the Scan ID, see below, in the path or in the file name you can write: @ID@
Examples:
If you for instance write c:\Scan\@USER@\@ID@\filename.tif in the file name box and the user name is "Bill" and the Scan ID is "Project100" the resulting file name will be: C:\Scan\Bill\Project100\filename.tif
Or if you write c:\Scan\@USER@\@ID@.tif the result will be c:\Scan\Bill\Project100.tif
Functions
If you want to strip leading- and trailing blanks from the retrieved user- or Scan ID string before saving to the file name path and/or the file name you can write: #strip(MACRO)# where MACRO is one of the above @USER@ or @ID@.
If you want to retract certain characters from the retrieved user- or Scan ID string before saving to the file name path and/or the file name you can write: #stripall(STR1;MACRO)# where MACRO is one of the above @USER@ or @ID@. STR1 contains the character(s) you want to be retracted from MACRO before saving. If you for example write #stripall( ;@ID@)# the result will be the Scan ID without blanks (there is a blank after ( and before ;). If you write #stripall(ab c;@ID@)# the result will be the Scan ID without blanks, a, b and c's.
Auto Increment Macro
This macro is a little different from other macros. It expands to the number given as the first parameter and it uses as many characters as given as the second parameter.
#INCR(1;3)# expand to 001
#INCR(5;2)# expand to 05
#INCR(11;4)# expand to 0011
Each time the macro is expanded the first parameter is incremented 1 step.
![]()
See also ACS Scanning.