Jump to content

tim lindner

Registered Users - Approved
  • Posts

    6
  • Joined

Converted

  • FusionPro Products
    No

tim lindner's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. There is also a built-in function: ReplaceSubstring(inputString, fromString, toString): string = ReplaceSubstring(string, " ", ""); Will remove all spaces.
  2. For a business card site I run, we chose to have two identical products. Normally timed BCs and Rush BCs.
  3. In this particular case it already does involve "Suppress Static background". But I also need to suppress the front side artwork when running the VD. The VD is only on one side. But the client expects two sided proofs.
  4. Neat. This gives me another idea. I have a VD job that prints on litho shells. But the shells are never ready in time for proofing. So I include the 2 sided shell artwork during proofing. Now, I can use "ImpositionDefFileName" to turn off the first page when I switch to a one sided FPI.
  5. In OnRecordStart, is it possible to determine if an imposition is being used (fpi)? I want one single PDF when an imposition is turned off. and... I want to use OnRecordChange() and MakeNewOutputFile() when imposition is turned on.
  6. Recently a client need some type with a horizontal gradient blend. I came up with this: // Return "FieldName" colorized from left (start color) to right (end color). // Remember to turn on "Treat returned strings as tagged text" check box. var FieldName="Field Name"; var Start = [2,63,98,1]; // Start color: [C,M,Y,K] var End = [23,85,100,16]; // End Color: [C,M,Y,K] var FieldLength = Len(Rule(FieldName)); var StepCyan = (End[0]-Start[0])/FieldLength; var StepMagenta = (End[1]-Start[1])/FieldLength; var StepYellow = (End[2]-Start[2])/FieldLength; var StepBlack = (End[3]-Start[3])/FieldLength; var myColor; var Result = "<span>"; // Build Colors for Text for (c = 0; c < FieldLength; c++) { myColor = new FusionProColor("CustomGradColor"+c, Start[0]+(StepCyan*c), Start[1]+(StepMagenta*c), Start[2]+(StepYellow*c), Start[3]+(StepBlack*c)); } // Build resulting string for (c = 0; c < FieldLength; c++) { if (Asc(Mid(Rule(FieldName), c+1, 1)) == 32) { // Special case the space character Result = Result + " "; // Use " " for a breaking space } else if (Asc(Mid(Rule(FieldName), c+1, 1)) == 38) { // Special case the ampersand character Result = Result + "&"; } else { Result = Result + '<color name="CustomGradColor'+c+'">'+Mid(Rule(FieldName), c+1, 1); } } Result = Result + "<\span>"; return Result; This does a "fake" gradient blend by colorizing each character in the string. It's really only useful for a single line of type. If the line breaks the gradient will wrap with the type.
×
×
  • Create New...