Jump to content

ericg

Registered Users - Approved
  • Posts

    13
  • Joined

Converted

  • Location
    Rapid City, SD

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    6.2P1a

Converted

  • OS
    Mac OS 10.5.8

Converted

  • Acrobat Version
    Acrobat 9.x

ericg's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

10

Reputation

  1. Thank you that worked very well. I added the field to my input file and adjusted my rules accordingly. Now it previews correctly with the exception of the Postal Indicia since its based on the number of records in the FusionPro.Composition.InputfileName. But i can live with that, unless you know of a way short of putting the recordcount in a field of my inputfile. Or some function i have not found in FusionPro yet that will do that for me during preview. Thanks, Eric
  2. Ok, below is an example of a rule i have: if (FusionPro.inValidation) Rule("OnJobStart"); if (Left(inputfile, 3) == "REM") { return "To confirm your reservation, get driving directions, or if you are unable to attend but would like more information, please call"; } else if (Left(inputfile, 3) == "CON") return "If you have questions or need driving directions, please call"; else return ""; here is an example of my OnJobStart rule: inputfile = FusionPro.Composition.inputFileName; inputfile = ReplaceSubstring(inputfile, "/Users/VariableG5Pro/Desktop/Work Folder/", ""); if (FusionPro.Composition.isPreview) { //inputfile = "REM"; inputfile = "CON"; } when i take out the IF statement in the OnJobStart rule and then preview the document, the paragraph isn't shown. But if i just compose the job the text is there. I would just like to know if there is a way to preview the document without having to go into the rule every time and Commenting/Uncommenting the lines in the IF statement? Thanks, Eric
  3. Hello, I have a postcard document that i use for two different purposes (reminders & confirmations). Based on whether the input file starts with a certain word (ie "remind" or "confirm") i have some logic puts certain paragraphs in and takes certain ones out. This all works fine when i compose it, but i'd like to be able to preview it first sometimes. Does anyone know how i can do this? Currently I'm going in to the onjobstart rule every time and changing a variable name in an if statement that checks to see if its in preview mode or not in order to preview the correct postcard type. something like: var inputFilename ; if (FusionPro.Composition.IsPreview) { inputFilename = "Remind"; //inputFilename = "Confirm"; } can anyone tell me if there is another way to make the preview work? Thanks, Eric
×
×
  • Create New...