Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Modify script text to choose saved mailing statement info

When you build a Script and add the Print Presort, Reports… event to the Script, the 13th Parameter is the Name of the Statement you would like to use when the statement is printed. This parameter can be:

  • The Name of the Setting, e.g., My Statement
    • If just the name is used, AccuZIP6 looks inside the folder \AccuZIP6 5.0\Scripts\Presorts\Statements\ for a file with the same name and a .ini extension.
  • The Name of the Setting with Full Path
    • If this method is used, e.g., C:\Statements\My Statement.ini, AccuZIP6 uses the INI file at this location for the settings.
  1. Open the AccuZIP6 5.0 program.
  2. Open any database that you have previously presorted.
  3. From the File menu, choose Print, Presort.
  4. Click the Print Reports button.
  5. Check Mailing Statement box and the box next to the Statement Name drop down.
  6. Select a Saved Statement from the drop down and click Print.
  7. At this point, a new folder was created: \AccuZIP6 5.0\Scripts\Presort\Statement\
    • If you did a Periodical Presort, the new INI will contain Periodical Saved Statement settings, otherwise it will contain Statement information for all other statements.
  8. Inside that folder is a new file with the same name as the Saved Statement you selected in Step 6 above.
  9. You can now Quit AccuZIP6 and use this new INI file as your Template to create as many Saved Statement settings as you want.
  10. All you need to do each time before you run a script is modify the Script file (*.scr) located inside the \AccuZIP6 5.0\Scripts\ folder and the Event line named “Print Presort, Reports…”, specifically the 13th parameter:
Example:
Print Presort, Reports...[1,1,0,0,0,0,"06/22/2008",0,0,1,1,0,SettingName,0,0,0]
AccuZIP6 5.0 now looks in the \AccuZIP6 5.0\Scripts\Presorts\Statement\ folder for a file that matches the name of the Saved Setting in the “Print Presort, Reports…” event. If the saved name is a Pathname, then that INI file is used, example: Print Presort, Reports...[1,1,0,0,0,0,"06/22/2008",0,0,1,1,0,C:\SettingName.ini,0,0,0]

« Back to Tech Notes

I got a virus and had to have my computer practically rebuilt resulting in losing my custom settings, etc. I just finished an online remote session with Geoff. He was amazingly helpful, patient and upbeat. He spent over 1½ hours with me. Not only did he help me with what I asked him for, he gave me a lot of additional information making my mailing process easier. I've been using AccuZIP for years now and have never taken the time to commend the company for its excellent customer service. I have had good experiences with all of your techs and will absolutely recommend you to anyone I know who needs this kind of software. Thank you for such a user-friendly, customer friendly program!
S.F., Kansas City, MO