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

Notices

Showing results 1 to 25 of 116
Search took 0.03 seconds.
Search: Posts Made By: jwhittaker
Forum: Formatting Text July 7th, 2022, 07:29 AM
Replies: 1
Views: 2,488
Posted By jwhittaker
Re: Determine number of text lines

// Use TextMeasure to get the length of each company name
var tm = new FusionProTextMeasure;
var frameWidth = 2.25; // set width of the text box (in inches)
tm.pointSize = "10 pt"; // set the type...
Forum: The JavaScript Library April 12th, 2022, 08:18 AM
Replies: 4
Views: 6,959
Posted By jwhittaker
Re: OnRecordStart rule to preview all pages but print only one

Afritz,
You need to make all your pages unused and then change your OnRecordStart rule to this:

//access the "isOnlinePreview" property and the "isPreview" property Graphic
onlinePreviewVal =...
Forum: Formatting Text December 31st, 2021, 06:15 AM
Replies: 3
Views: 3,944
Posted By jwhittaker
Re: Trimming Text based on character count

D Miller
You could try something like this? I know there is a more efficient way but this should still work.

if (Len(Field("Email")) >= 32)
{
var emailarray = Field("Email").split("@");
...
Forum: The JavaScript Library August 24th, 2021, 06:22 AM
Replies: 2
Views: 3,766
Posted By jwhittaker
Re: OnRecordStart error no 1036

MacFan55,
You need to change these 2 lines of code. You are changing both of the fields to lowercase but you are looking for uppercase letters. This is why you are not getting any pages to show.
...
Forum: The JavaScript Library March 8th, 2021, 08:20 AM
Replies: 5
Views: 6,354
Posted By jwhittaker
Re: Creating a Name variable consisting of multiple fields

You can use the append function.
http://forums.pti.com/showthread.php?t=2056&highlight=append
Forum: Issues, Questions, Etc. January 5th, 2021, 07:54 AM
Replies: 3
Views: 4,683
Posted By jwhittaker
Re: Moving Frames

ReminderVDP,
If you only want to move a frame you have to find it and then you can get the .x or the .y and subtract or add the amount you want to move. The measurements are in 100th of a point. You...
Forum: FusionPro® VDP Creator January 5th, 2021, 07:48 AM
Replies: 3
Views: 6,161
Posted By jwhittaker
Re: CreateResource with incomplete name

Frank
You could do something like this:

var filename = Field("name") + Field("timestamp") + ".jpg";
return CreateResource(filename, "graphic", true);

Jon
Forum: FusionPro® VDP Creator September 29th, 2020, 08:12 AM
Replies: 3
Views: 8,489
Posted By jwhittaker
Re: FPRepeatableComponent and textwrap

Hey Jimmy
Have you thought about using tabs instead of all the separate frames to control the runaround? I think this will be a better solution.
Jon
Forum: Formatting Text December 9th, 2019, 04:03 PM
Replies: 5
Views: 18,361
Posted By jwhittaker
Re: Ampersand doesn't work when changing to uppercase

I don't know WebCRD but you might need to convert the uppercase & to lowercase &

if (Field("Title Line 1") == "")
return "";

else
return...
Forum: Issues, Questions, Etc. December 9th, 2019, 03:58 PM
Replies: 11
Views: 23,768
Posted By jwhittaker
Re: Ampersand in external data file

Can you try this
returnStr = '';

if(FusionPro.Composition.isPreview == true || FusionPro.inValidation == true)
{
Rule("OnJobStart");
}

numRecsExtDF = externalDF.recordCount;
Forum: Issues, Questions, Etc. October 18th, 2019, 12:34 PM
Replies: 1
Views: 8,063
Posted By jwhittaker
Re: Looking for the IMAGE ID for bulk upload

Jay
Try and click on the create new records radio button. It should give you everything that isn't already assigned.
Jon
Forum: Issues, Questions, Etc. January 4th, 2019, 11:07 AM
Replies: 4
Views: 9,313
Posted By jwhittaker
Re: Baseline shifting depending on number of lines

Jake
Have to tried to increase the height of the text box? I have seen this when there isn't extra room when there is bottom or center justification turned on.
Jon
Forum: FusionPro® VDP Creator July 31st, 2018, 09:59 AM
Replies: 1
Views: 8,293
Posted By jwhittaker
Re: Image Question

You will have your printing item on the background and the nonprinting item as a separate resource and make a rule to assign it to a graphic box the size of your document. You can name the graphic...
Forum: FusionPro® VDP Creator July 23rd, 2018, 09:42 AM
Replies: 5
Views: 10,628
Posted By jwhittaker
Re: Sequence numbering

you can look into repeat records. try starting with this.


FusionPro.Composition.repeatRecordCount = 100;
Forum: Tables & Charts June 21st, 2018, 09:43 AM
Replies: 3
Views: 17,662
Posted By jwhittaker
Re: Table - how to remove extra blank rows

Susan
This should work for you:


if(FusionPro.Composition.isPreview == true || FusionPro.inValidation == true)
{
Rule("OnJobStart");
}
Forum: Formatting Text January 30th, 2018, 10:56 AM
Replies: 7
Views: 12,684
Posted By jwhittaker
Re: Remove a specific word from a text string

return ReplaceSubstring(Field("string"),'texttoreplace', 'replacementtext');
Forum: Issues, Questions, Etc. January 25th, 2017, 03:01 PM
Replies: 13
Views: 25,594
Posted By jwhittaker
Re: Javascript Works for One Template but not the Other

Jeff
Make the text in the text box 80% black. In the rules where you are changing the color, you need to us span for it to only effect the p or c.
See below I edited one of your rules.

if...
Forum: FusionPro® VDP Creator January 3rd, 2017, 03:25 PM
Replies: 8
Views: 13,082
Posted By jwhittaker
Re: remove comma

Sorry
I haven't done anything with graphs in FusionPro and I'm not even sure you can. You might have to wait for someone else.
Forum: FusionPro® VDP Creator January 3rd, 2017, 03:01 PM
Replies: 8
Views: 13,082
Posted By jwhittaker
Re: remove comma

Try this:

if (Field("First Name") != "")
return Field("First Name") + ",";
else
return "";
Forum: Imposition November 2nd, 2016, 11:52 AM
Replies: 0
Views: 16,499
Posted By jwhittaker
16 page imposition

I have a 16 page booklet that is 5.5x8.5. I want to create a 16pg imposition on 28"(wide) x 20"(height). It looks just like the Perfect Bound Booklet in FPImposer. The only problem is that it will...
Forum: Formatting Text July 5th, 2016, 02:39 PM
Replies: 4
Views: 14,154
Posted By jwhittaker
Re: CopyfitLine problem

Steven
Maybe there is data that needs to reduce below the copyfit minimum limit of 5 pt. Maybe look for the longest data in both the email and emailDomain fields and or make the minimum smaller to...
Forum: Formatting Text July 5th, 2016, 02:28 PM
Replies: 4
Views: 14,154
Posted By jwhittaker
Re: CopyfitLine problem

Steven
You need to put in your font name and there was an extra ; at the end
try this
if (Field("Email") != "")
{
return CopyfitLine("", Field("email")+Field("emailDomain"), "font name", 10,...
Forum: Issues, Questions, Etc. April 25th, 2016, 09:26 AM
Replies: 6
Views: 13,427
Posted By jwhittaker
Re: Imposition Problems - STILL

I wish we could use impositions with different size bleeds and/or no bleeds in between pages and different gutters too.
Forum: Formatting Text April 6th, 2016, 03:34 PM
Replies: 10
Views: 26,616
Posted By jwhittaker
Re: If Else help

I'm a hack so I know there is a more efficient way but try this:

if ((Field("Video_Level") == "") && (Field("Data_Level") == "") && (Field("Phone_Level") == ""))
{
return "";
}...
Forum: Issues, Questions, Etc. April 4th, 2016, 01:00 PM
Replies: 5
Views: 16,337
Posted By jwhittaker
Re: Variable Text Editor - MAC

I have the same problem also. If you hold down the Control key while scrolling on your mouse your screen will get bigger or smaller. It's a little bit better but it would be nice to see what is in a...
Showing results 1 to 25 of 116

 
Forum Jump

All times are GMT -7. The time now is 10:53 AM.


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