Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 25 of 91
Search took 0.02 seconds.
Search: Posts Made By: ScottHillock
Forum: Issues, Questions, Etc. July 15th, 2019, 11:18 AM
Replies: 2
Views: 483
Posted By ScottHillock
Re: I'm Having Trouble trying to figure out stacked variable images

Can you just create a text frame and fill with graphic images?

var images = [];
for (i = 1; i <= 6; i++){
if (Field("XSell" + i)){ images.push('<graphic file="./XSell' + i + '.pdf">'); }
}...
Forum: Issues, Questions, Etc. July 12th, 2019, 01:30 PM
Replies: 3
Views: 560
Posted By ScottHillock
Re: Replacing character / formatting a string

I would suggest this:

var email = 'first.middle.last@whatever.com';

if (!email){return "";}

//remove all text after @ symbol, then split into an array based on periods
names =...
Forum: FusionPro® VDP Creator June 6th, 2019, 01:25 PM
Replies: 8
Views: 999
Posted By ScottHillock
Re: Output to Folder on Server

I don't have any experience with Producer. I assumed we were talking about Creator.

The path name is going to be different than if it were on a Mac. I believe you'll need to have the share mapped...
Forum: FusionPro® VDP Creator June 5th, 2019, 01:58 PM
Replies: 8
Views: 999
Posted By ScottHillock
Re: Output to Folder on Server

Looks like the actual path you need is /Volumes/Jobs/ABOTA/

The smb://... is just the server address and not it's location in relation to the filesystem.
...
Forum: FusionPro® VDP Creator June 5th, 2019, 01:32 PM
Replies: 8
Views: 999
Posted By ScottHillock
Re: Output to Folder on Server

Couple of things. First when making a post with code use the advanced editor, or use this: --- Code goes here ---

Second, does that path "/Volumes/smb/192.168.200.72/Jobs/ABOTA/" even exist? If...
Forum: FusionPro® Expression™ June 3rd, 2019, 10:07 AM
Replies: 4
Views: 1,559
Posted By ScottHillock
Re: OnRecordStart Execution

On your VARIABLE8 you're missing the Field part. Also, I'm not sure if it might have slipped your mind, but in your if statement there needs to be a condition on each pair. So, just having the == ""...
Forum: The JavaScript Library May 17th, 2019, 08:17 AM
Replies: 3
Views: 1,145
Posted By ScottHillock
Re: Replace Symbol

I believe you have the order of your parameters switched on your percentage example.

With replace the first parameter is what you are searching for, and the second is what to replace it with.
...
Forum: FusionPro® VDP Creator April 17th, 2019, 10:02 AM
Replies: 5
Views: 1,120
Posted By ScottHillock
Re: Replacing all text occurrences

Dan, sample files attached.

Unchecking the Limit processing to.. checkbox does make the notdef character not appear. And it's a viable solution. But, I usually leave that checked to make sure the...
Forum: FusionPro® VDP Creator April 16th, 2019, 04:03 PM
Replies: 5
Views: 1,120
Posted By ScottHillock
Re: Replacing all text occurrences

Excellent Dan, thank you. I'll keep in mind the <hkeep> tags when I need them.

The &nbsp; character accidentally shows up sometimes in FusionPro text frames when the InDesign source document has...
Forum: Dates April 15th, 2019, 12:23 PM
Replies: 2
Views: 767
Posted By ScottHillock
Re: European Date Compose Error

Add this as your first line:

if (!Field("GIFT_DATE")){return "";}
Forum: FusionPro® VDP Creator April 9th, 2019, 12:50 PM
Replies: 5
Views: 1,120
Posted By ScottHillock
Replacing all text occurrences

I'm looking to create a rule that will replace all occurrences of a string of text, even when that text is not part of a rule.

Specifically we're having an issue where the notdef symbol is being...
Forum: FusionPro® VDP Producer (formerly FusionPro® Direct) February 20th, 2019, 09:35 AM
Replies: 3
Views: 1,046
Posted By ScottHillock
Re: Compose Ordered by External Data

I don't believe this is possible.

FusionPro composes in the order of the input Data Source, and I don't believe there is a way to seek around that data source.
Forum: FusionPro® VDP Creator February 1st, 2019, 03:22 PM
Replies: 2
Views: 839
Posted By ScottHillock
Re: Clean Up Repetitive Coding

Replacing the repetition of it with a loop, and a join.
var Strline = [];
for (i=1; i <= 16; i++){
Strline[i] = (!Field("series_" + i)) ?" ": Trim(Field("series_" + i) + "<br>");
}

return...
Forum: FusionPro® VDP Creator January 8th, 2019, 01:26 PM
Replies: 3
Views: 1,036
Posted By ScottHillock
Re: Working with themplates

I think you're trying to use repeatable templates. Which might be beneficial in this project, but I would do them in reverse, with the address block being the repeatable template, and create a new...
Forum: FusionPro® VDP Creator January 8th, 2019, 12:40 PM
Replies: 4
Views: 2,152
Posted By ScottHillock
Re: Upgrade and backwards compatibility

Randy, we are on Mojave 10.14.1, Acrobat 11, InDesign 2015 for template creation, and FusionPro 9.3.36 and have no issues.
Forum: The JavaScript Library October 31st, 2018, 12:27 PM
Replies: 12
Views: 3,021
Posted By ScottHillock
Re: All records not outputting ?

Can you post the files? It's probably some error in your OnRecordStart.
Forum: The JavaScript Library October 25th, 2018, 02:12 PM
Replies: 4
Views: 1,824
Posted By ScottHillock
Re: Pulling in PDF pages

Sorry about that, I forgot one more rule.

Add this to an OnRecordEnd rule:

gCount = gCount + StringToNumber(Field("Count"));
Forum: The JavaScript Library October 25th, 2018, 12:52 PM
Replies: 4
Views: 1,824
Posted By ScottHillock
Re: Pulling in PDF pages

In JavaScript Globals add

var gCount = 1;

Change your rule to:

var result = [];
var r = CreateResource("test.pdf", "graphic");
var count = StringToNumber((Field("Count")));
var record =...
Forum: Issues, Questions, Etc. September 21st, 2018, 02:12 PM
Replies: 3
Views: 2,088
Posted By ScottHillock
Re: Unwanted characters exporting from FusionPro

Those are missing glyph symbols. It's a result of the &nbsp; character and whichever font you have assigned to the text not having a glyph specifically for it, I believe.

if you change your return...
Forum: The JavaScript Library September 19th, 2018, 02:47 PM
Replies: 3
Views: 1,667
Posted By ScottHillock
Re: Limit the number of records read

I have not used Marcom, but to answer the first part of your question, this will work:

var RecordLimit = 20;
if (FusionPro.Composition.inputRecordNumber >...
Forum: Graphic Rules September 19th, 2018, 02:42 PM
Replies: 5
Views: 2,344
Posted By ScottHillock
Re: Image frames are uploaded as Text Frames

Double check that the frame in InDesign is a graphic frame (Object > Content > Graphic).
Forum: FusionPro® VDP Creator September 13th, 2018, 04:03 PM
Replies: 3
Views: 1,898
Posted By ScottHillock
Re: PDF Loop

This will work i think:

for (i=1; i<=4; i++){FusionPro.Composition.SetBodyPageUsage(i, false);}

FusionPro.Composition.repeatRecordCount = Field("Output");

var pageToCompose =...
Forum: Issues, Questions, Etc. August 17th, 2018, 08:50 AM
Replies: 2
Views: 1,657
Posted By ScottHillock
Re: Pull image from URL painfully Slow...

The image links aren't working for me, so I can't determine how much of an effect that's having on composition time. But, it seems all of the copyfitting you're doing is increasing composition time...
Forum: FusionPro® VDP Creator August 16th, 2018, 01:39 PM
Replies: 4
Views: 1,773
Posted By ScottHillock
Re: Random Image

When you validate the rule in the rule editor do you get an error message? Did you have the CreateResource pointing to an absolute path?
Forum: Issues, Questions, Etc. August 16th, 2018, 09:31 AM
Replies: 5
Views: 2,095
Posted By ScottHillock
Re: Importing Excel file alters the structure of "Date" in the output

var DateSplit = Field("Date").split("/");
return DateSplit[1] + "-" + DateSplit[0] + "-" + DateSplit[2];

Alternatively, you can use javascript's date functions which might be more flexible.
...
Showing results 1 to 25 of 91

 
Forum Jump

All times are GMT -7. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.