Jump to content

David Miller

Registered Users - Approved
  • Posts

    277
  • Joined

Everything posted by David Miller

  1. Is anyone else have this issue? Using the Export Document feature of the FusionPro VDP 12.1.2 Plugin consistently causes InDesign 17.4 to crash. macOS Big Sur 11.6.8 Adobe Acrobat 2022.002.20191 FusionPro Creator 12.1.2 InDesign 17.4 (Please disregard the info in my signature.)
  2. Thank you. I saw the thread before posting. We are running FPImposer v12.0.3 on macOS v11.6 (Big Sur). We are still experiencing the issue. Again, to be clear: "Double clicking a .fpi file drops the PrimaryRepeat and SecondaryRepeat information while maintaining some of the other information in the file. For example, TrimBox and Substrate information in my case. I have not tested all variables to see what is dropped and what is read." Again, thank you. I double checked. Indeed, once FPImposer v12.0.3 is running, double clicking the .fpi file, or using File > Open..., all information is read correctly. I would still consider it a minor bug. Had me scratching my head for awhile. Note: My signature is old. Updated info immediately below. -- FusionPro VDP Creator v12.0.3 Adobe Acrobat DC v2021 macOS v11.6
  3. When opening an existing .fpi file, the PrimaryRepeat and SecondaryRepeat information is not retained. This is evident in the GUI as well. Original ImpositionData: Bleed=0 " CenterLayout=True CropMarkLength=0.25 " CropMarkOffset=0.125 " CropMarks=True DiscardGutterC_0=None DiscardGutterC_1=None DiscardGutterR_0=None FaceUpStacking=True FlipOnShortEdge=False HorizontalPosition=0 " HSigOrder=LeftToRight PagesPerRecord=1 PrimaryRepeatCount=1 PrimaryRepeatDirection=Stack PrimaryRepeatDuplicate=False PrimaryRepeatInfiniteStack=True PrimaryRepeatSpacing=0 " Rotation=-0 SecondaryRepeatCount=2 SecondaryRepeatDirection=Hor SecondaryRepeatDuplicate=False SecondaryRepeatInfiniteStack=False SecondaryRepeatSpacing=0 " SignatureRotation_0_0=0 SignatureRotation_0_1=0 SignatureType=Simplex Slug= SubstrateHeight=13 " SubstrateWidth=19 " TertiaryRepeatCount=1 TertiaryRepeatDirection=None TertiaryRepeatDuplicate=False TertiaryRepeatSpacing=0.25 " TrimBoxHeight=11 " TrimBoxWidth=8.75 " Units=Inches Version=4 VerticalPosition=0 " VSigOrder=TopToBottom Resaved ImpositionData: Bleed=0 " CenterLayout=True CropMarkLength=0.25 " CropMarkOffset=0.125 " CropMarks=True DiscardGutterC_0=None DiscardGutterR_0=None FaceUpStacking=True FlipOnShortEdge=False HorizontalPosition=0 " HSigOrder=LeftToRight PagesPerRecord=1 PrimaryRepeatCount=1 PrimaryRepeatDirection=None PrimaryRepeatDuplicate=False PrimaryRepeatInfiniteStack=False PrimaryRepeatSpacing=0.25 " Rotation=-0 SecondaryRepeatCount=1 SecondaryRepeatDirection=None SecondaryRepeatDuplicate=False SecondaryRepeatInfiniteStack=False SecondaryRepeatSpacing=0.25 " SignatureRotation_0_0=0 SignatureType=Simplex Slug= SubstrateHeight=13 " SubstrateWidth=19 " TertiaryRepeatCount=1 TertiaryRepeatDirection=None TertiaryRepeatDuplicate=False TertiaryRepeatSpacing=0.25 " TrimBoxHeight=11 " TrimBoxWidth=8.75 " Units=Inches Version=4 VerticalPosition=0 " VSigOrder=TopToBottom Note that the Substrate and TrimBox information did not change. I have not tested any of the other settings. Edit: It seems that I am unable to edit my signature information. FusionPro VDP Creator v12.0.3 Adobe Acrobat DC v2021 macOS v11.6
  4. You can try this: var str = Field("Number"); // Replace with your field name. var regexStr = str.match(/[a-z]+|[^a-z]+/gi); return regexStr.join("-");
  5. You can try this: var corName = Field("Name"); // Replace with your field name. corName = corName.replace(/\*$/, ''); // If there is more than one asterisk, this removes the last asterisk only. return Trim(corName); // Trims all leading and trailing white space and returns your field with the last asterisk removed.
  6. Any word on Adobe InDesign 2019 compatibility? Thank you.
  7. That worked! Except I had to apply the Span Tag to the Name, TitleOne and TitleTwo Fields and use the Text Editor to apply the font to the Team Field. (Strange.) var columns = 6; var rows = 4; var teams = { 'Onsite Team': { color: [72, 15, 0, 0] }, 'Service Leadership': { color: [94, 68, 1, 0] }, 'Support Team': { color: [64, 6, 100, 0] }, 'Regional Team': { color: [86, 30, 55, 9] } } // Assumes Field names: Name1, Team1, Headshot1, TitleOne1, etc for (var i = 1; i <= columns * rows; i++) { var teamname = Field('Team' + i); if (!(team = teams[teamname])) continue; if (!team.members) { team.members = []; // Create the color for this team. FusionProColor.apply(null, [teamname].concat(team.color)); } team.members.push({ team: ToUpper(teamname), name: '<span font="Frutiger LT Std 67 Bold Cn" pointsize="11" color="Black">' + Field('Name' + i) + '</span>', headshot: CreateResource(Field('Headshot' + i), 'graphic', true), titleone: '<span font="Frutiger LT Std 67 Bold Cn" pointsize="8" color="Black">' + Field('TitleOne' + i) + '</span>', titletwo: '<span font="Frutiger LT Std 67 Bold Cn" pointsize="8" color="Black">' + Field('TitleTwo' + i) + '</span>' }); } var data = []; for (var team in teams) { if (members = teams[team].members) data = data.concat(members); } // Return nothing if no data was found. if (!data.length) return ''; // Table configuration. var colWidth = 1.5 * 7200; // 1.5" Column width. var spaceBetweenColumns = 0.125 * 7200; // 1/8" Space between columns. var table = new FPTable(); // Add the columns to the table definition. for (var col = 0; col < columns * 3; col++) { var width = col % 3 == 1 ? colWidth : spaceBetweenColumns / 2; table.AddColumn(width); } while (data.length) { var people = data.splice(0, columns); var team = false; var teamRow = table.AddRow(); var picRow = table.AddRow(); // Global styles. [teamRow, picRow].map(function (row) { var cell = row.Cells[0]; cell.HAlign = 'Center'; cell.VAlign = 'Top'; cell.Margins = { 'Top': spaceBetweenColumns / 10, 'Bottom': spaceBetweenColumns / 0, 'Left': 10, 'Right': 10 }; row.CopyCells.apply(row, row.Cells.map(function (s, p) { return p; })); row.minHeight = 0.375 * 7200; // 3/8" Minimum row height. }); for (var i = 1; i <= teamRow.Cells.length && people.length; i += 3) { var person = people.shift(); var teamCell = teamRow.Cells[i]; var picCell = picRow.Cells[i]; if (team && person.team == team.Content) { team.HStraddle += 3; } else { teamCell.ShadeColor = person.team; teamCell.ShadePct = 100; teamCell.HStraddle = 1; teamCell.Content = person.team; team = teamCell; } var headshot = person.headshot.exists ? person.headshot.content.replace('/>', 'width="' + (colWidth - picCell.Margins.Left - picCell.Margins.Right) + '"/>') : ''; picCell.Content = [headshot, person.name, person.titleone, person.titletwo].filter(String).join('<br>'); } } return table.MakeTags(); Thank you for all the help!
  8. Thanks. The only difficulty now it changing the fonts and colors of the Team Headings independently of the Name and Titles.
  9. Thank you Ste and Fellsway. It seems that lines 4-8 are case sensitive. I changed them to title case to match the Field Names and a result was returned. var teams = { 'Onsite Team': { color: [72, 15, 0, 0] }, 'Service Leadership': { color: [94, 68, 1, 0] }, 'Support Team': { color: [64, 6, 100, 0] }, 'Regional Team': { color: [86, 30, 55, 9] } }
  10. I don't seem to be able to get the table to show up. Any ideas what I might be missing? Had to omit the last few headshots because of the forum's file size limitations. 2018_Whos_Who_Elis_Poster_v01.zip
  11. Wondering if anyone has a solution or suggestion how to accomplish this. The attached PDF shows what we need far better than what I can put into words. Flip though all 4 pages and you'll see what I mean. We are trying to group people into teams. There are 4 teams that always appear in the same order. Onsite Team (Light Blue) Service Leadership (Dark Blue) Support Team (Light Green) Regional Team (Dark Green) The headshots always appear from the top left to bottom right. 6 across then a maximum of 4 rows down. 24 headshots maximum. If less than 24 headshots are used. White space begins in the bottom right working it's way backwards. The headshots have drop shadows or outer glows that use transparency. We will prepare them with the shadows. For what it is worth, this will be a Versioned Product in MarcomCentral. Whos_Who_Ellis_Poster.pdf
  12. You might try this instead: return '<span> To make your gift via mail, please complete the form below and return it with the envelope provided. You may also visit us at <b>' + Field("yourfieldname") + '</b> to give online. </span>';
  13. You might try this instead: return '<span> To make your gift via mail, please complete the form below and return it with the envelope provided. You may also visit us at <b>' + Field("yourfieldname") + '</b> to give online. </span>';
  14. This can be done with iForms. Contact your BRM to enable the feature and request the iForms User Guide.
  15. Thank you Step. That would be easier. Unfortunately, the data has instances where "class of " is not present. Only the 2-digit year.
  16. One of the instances not covered in this JavaScript rule is class abbreviations. For example: John “Smitty” Smith, class of ’81 The rule above would incorrectly return: John “Smitty” Smith, class of ‘81 So I added the code in red below to handle class abbreviations: function SmartQuotes(field) { field = field.replace(/(\w+)"/g, "$1”").replace(/"(\w*)/g, "“$1").replace(/(\w)'(\w+)/g, "$1’$2").replace(/'(\w+)/g, "‘$1").replace(/(\w*)'/g, "$1’")[color="Red"].replace(/(\u2018)([0-9]{2}[^\u2019]*)(\u2018([^0-9]|$)|$|\u2019[a-z])/ig, '\u2019$2$3')[/color]; (field.match(/<[^>]+>/g) || []) .filter(function(tag) { return /[“”‘’]/.test(tag); }) .forEach(function(find) { var replace = find.replace(/[‘’]/g, "'").replace(/[“”]/g,'"'); field = field.replace(find, replace); }); return field; } But it is only catching the first instance of a class abbreviation. Not the second or third, etc. For example: John “Smitty” Smith, class of ’81 and Jane Doe, class of ‘82 Any idea's as to what I'm doing wrong? Thank you.
  17. I understand that Adobe can be difficult to work with. Are there any plans to develop a FusionPro VDP Creator plug-in that works with InDesign CC 2016 or InDesign CC 2017? Also, I see the Minimum System Requirements for FusionPro VDP Creator on this page of your website are outdated. https://marcom.com/support Specifically the Mac OS X minimum system requirements.
  18. I have a request from a national health care chain with many facilities around the country. Each facility has a specific budget for marketing assets. Each facility has one Purchaser and four to six Requisitioners. How would budgets be set up in this scenario? Thanks.
  19. Not sure why, but this seems to have stopped working for me: //My Field Title2 = Title & 2 return ToUpper(TaggedDataField("Title2")); //Rule Editor Validation Returns: TITLE &AMP; 2 //MarcomCentral Returns: TITLE 2 //It drops the ampersand. I tried replacing the above with this in MarcomCentral if the data might use an ampersand: var str = Field("Title2");//My Field Title2 = Title & 2 var res = str.toUpperCase(); return (res).replace(/&AMP;/gi, "&"); //Rule Editor Validation Returns: TITLE & 2 //MarcomCentral Returns: TITLE & 2 //It no longer drops the ampersand. Any idea why TaggedDataField stopped working in my rules?
  20. CliffNotes Version: Suggest creating two groups. One for Regular Users and another for Supervisors. You can set permissions for the Shipping and Billing Addresses by group. This is done in Groups. You can also set Catalog Permissions by group, but this is done in the Catalog Editor. Addresses can be displayed to only one user and set as default. This is done under Shipping and Checkout > Addresses. Set them up in this order: Groups, Users and Addresses. It would be a lot easier to set up your users and addresses using Bulk Operations. Suggest manually entering a few records first. At least one user for each group. This way you will understand the Bulk Ops spreadsheet better.
  21. Yes. Take a look at this thread: http://forums.printable.com/showthread.php?t=575
  22. Yes. Math.round(X); // round X to an integer Math.round(10*X)/10; // round X to tenths Math.round(100*X)/100; // round X to hundredths Math.round(1000*X)/1000; // round X to thousandths So you might try changing your code to something like this: return '<row><cell>Salary'+'<cell>'+Math.round(10*Field("Salary"))/10+ '<row><cell>Commission'+'<cell>'+Math.round(10*Field("Commissions and or Bonus"))/10+ '<row><cell>Incentives'+'<cell>'+Math.round(10*FieldField("September Incentive"))/10+ '<row><cell>STI'+'<cell>'+Math.round(10*FieldField("Short Term Incentive STI"))/10+ '<row><cell>401(k) Match'+'<cell>'+Math.round(10*FieldField("401(k) Match"))/10+ '<row><cell>401(k) Proft Share'+'<cell>'+Math.round(10*FieldField("Profit Share"))/10+ '<row><cell>Company Paid Healthcare'+'<cell>'+Math.round(10*FieldField("Company Paid Healthcare"))/10+ '<row><cell>Life And Disability'+'<cell>'+Math.round(10*FieldField("Life and Disability"))/10;
  23. Try changing the color in the actual Text Frame to 80% Black. The "p" and "c" will be green and the phones will be 80% Black.
×
×
  • Create New...