RE: Insert image as H/F variable - script

2013-10-25 Thread David Artman
So you need a graphic to change in the H/F on a continuous, page-by-page basis, driven by a single manual marker insertion which then dictates the value of a header variable until a new marker is inserted? Hmm...Without scripting, I got nothin'. VERY tricky problem, with vanilla Framemaker.Good luck with the scripting solution that I see you pursuing in later posts.Sorry that I couldn't help more;David


 Original Message 
Subject: Re: Insert image as H/F variable - script
From: Wim Hooghwinkel - idtp <w...@idtp.eu>
Date: Wed, October 23, 2013 10:18 am
To: David Artman <da...@davidartman.com>
Cc: "framers@lists.frameusers.com" <framers@lists.frameusers.com>

Well, I guess the current use case is fairly simple. Suppose we use a marker in the text: Header/Footer $1. This marker has as content the name of the image, let's say Pict0001. The Running H/F will display the text (Pict0001). So what we need is an extend script that replaces the H/F text with the actual image: Pict0001.jpg.As I'm still not able to write scripts - too busy with other things I guess - can someone advise me on such a script, would it be very difficult? In the workflow it should be automatically triggered once the XML is opened in FM (10), so that the use experiences it as 'real' H/F. We'll need a manual 'reload' action of course in case of repagination and content change. For ease of use we can put the complete path of the image in the marker of course, or use a relative path. Vriendelijke groet / Kind regards, Wim Hooghwinkel  Op 18 okt. 2013, om 19:13 heeft David Artman <da...@davidartman.com> het volgende geschreven:Can you provide more details or an actual use case?We toggle between B&W and color product logos in H/Fs using conditions on the anchor frames the images. But that's book-wide, not 'reactive' or variable based on chapter-specific content (i.e., paratext of a paratag).    Original Message  Subject: Insert image as H/F variable From: Wim Hooghwinkel - idtp <w...@idtp.eu> Date: Fri, October 18, 2013 4:29 am To: "framers@lists.frameusers.com" <framers@lists.frameusers.com>  Hi,one of my clients wants to use images as (in) H/F variables.  This can not be done using default FM functions, as a variable can not contain an image.Has anyone handled this kind of formatting and can give me some suggestions? Or may be someone has a script available to replace H/F with an image - I guess an image that should be taken from the content, just like a H/F takes the heading text from the content.Note: this is structured FM (XML, not DITA) and currently moving tom FM7 to FM10/11.thanks, Vriendelijke groet / Kind regards, Wim Hooghwinkel


___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Re: Insert image as H/F variable - script

2013-10-25 Thread Robert Lauriston
You'd think, but there was definitely no change to the environment nor
any update to any of the applications or the OS nor anything but
incremental changes to the FrameMaker source. One day it worked, the
next day it didn't. If FrameMaker tech support covered ExtendScript
maybe they could have sorted it out.

I experienced similar bit-rot in RoboHelp.

On Fri, Oct 25, 2013 at 5:15 AM, Rick Quatro  wrote:
> FWIW, scripts don't generally just stop working. If it worked then stopped,
> some condition must have changed.
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Insert image as H/F variable - script

2013-10-25 Thread David Artman
An HTML attachment was scrubbed...
URL: 



Insert image as H/F variable - script

2013-10-25 Thread Robert Lauriston
You'd think, but there was definitely no change to the environment nor
any update to any of the applications or the OS nor anything but
incremental changes to the FrameMaker source. One day it worked, the
next day it didn't. If FrameMaker tech support covered ExtendScript
maybe they could have sorted it out.

I experienced similar bit-rot in RoboHelp.

On Fri, Oct 25, 2013 at 5:15 AM, Rick Quatro  wrote:
> FWIW, scripts don't generally just stop working. If it worked then stopped,
> some condition must have changed.


Insert image as H/F variable - script

2013-10-25 Thread Rick Quatro
FWIW, scripts don't generally just stop working. If it worked then stopped,
some condition must have changed.

Rick

-Original Message-
From: framers-boun...@lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Robert Lauriston
Sent: Thursday, October 24, 2013 12:06 PM
To: Wim Hooghwinkel - idtp; framers at lists.frameusers.com
Subject: Re: Insert image as H/F variable - script

I was using FrameMaker 10 when the script stopped working. I haven't used
11.

On Thu, Oct 24, 2013 at 2:21 AM, Wim Hooghwinkel - idtp  wrote:
> Is that still true for the latest FM versions? I have some extend 
> scripts running without issues.
___




RE: Insert image as H/F variable - script

2013-10-25 Thread Rick Quatro
FWIW, scripts don't generally just stop working. If it worked then stopped,
some condition must have changed.

Rick

-Original Message-
From: framers-boun...@lists.frameusers.com
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Robert Lauriston
Sent: Thursday, October 24, 2013 12:06 PM
To: Wim Hooghwinkel - idtp; framers@lists.frameusers.com
Subject: Re: Insert image as H/F variable - script

I was using FrameMaker 10 when the script stopped working. I haven't used
11.

On Thu, Oct 24, 2013 at 2:21 AM, Wim Hooghwinkel - idtp  wrote:
> Is that still true for the latest FM versions? I have some extend 
> scripts running without issues.
___


___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Re: Insert image as H/F variable - script

2013-10-24 Thread Robert Lauriston
I was using FrameMaker 10 when the script stopped working. I haven't used 11.

On Thu, Oct 24, 2013 at 2:21 AM, Wim Hooghwinkel - idtp  wrote:
> Is that still true for the latest FM versions? I have some extend scripts
> running without issues.
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Insert image as H/F variable - script

2013-10-24 Thread Wim Hooghwinkel - idtp
Is that still true for the latest FM versions? I have some extend scripts 
running without issues.


Vriendelijke groet / Kind regards,

Wim Hooghwinkel


Op 23 okt. 2013, om 18:03 heeft Robert Lauriston  het 
volgende geschreven:

> ExtendScript is buggy, unsupported, and only partially documented.

-- next part --
An HTML attachment was scrubbed...
URL: 



Insert image as H/F variable - script

2013-10-24 Thread Robert Lauriston
I was using FrameMaker 10 when the script stopped working. I haven't used 11.

On Thu, Oct 24, 2013 at 2:21 AM, Wim Hooghwinkel - idtp  wrote:
> Is that still true for the latest FM versions? I have some extend scripts
> running without issues.


Insert image as H/F variable - script

2013-10-24 Thread Rick Quatro
While Robert is essentially correct, I have written dozens of scripts for
clients that are working fine. I agree that FrameScript is a much better
scripting environment for FrameMaker.



FrameMaker's ExtendScript support is typical of other new features added to
FrameMaker: they add features but rarely improve on them. They have to have
"new" to justify the next new version. Contrast this with InDesign that
continually improves existing features in addition to adding new features.



Rick



Rick Quatro

Carmen Publishing Inc.

585-366-4017 **NEW**

rick at frameexpert.com







From: framers-boun...@lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Wim Hooghwinkel -
idtp
Sent: Thursday, October 24, 2013 5:21 AM
To: Robert Lauriston
Cc: framers at lists.frameusers.com
Subject: Re: Insert image as H/F variable - script 



Is that still true for the latest FM versions? I have some extend scripts
running without issues.



Vriendelijke groet / Kind regards,

Wim Hooghwinkel





Op 23 okt. 2013, om 18:03 heeft Robert Lauriston  het
volgende geschreven:





ExtendScript is buggy, unsupported, and only partially documented.



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.frameusers.com/pipermail/framers/attachments/20131024/02bc51b6/attachment.html>


RE: Insert image as H/F variable - script

2013-10-24 Thread Rick Quatro
While Robert is essentially correct, I have written dozens of scripts for
clients that are working fine. I agree that FrameScript is a much better
scripting environment for FrameMaker.

 

FrameMaker's ExtendScript support is typical of other new features added to
FrameMaker: they add features but rarely improve on them. They have to have
"new" to justify the next new version. Contrast this with InDesign that
continually improves existing features in addition to adding new features.

 

Rick

 

Rick Quatro

Carmen Publishing Inc.

585-366-4017 **NEW**

r...@frameexpert.com

 

 

 

From: framers-boun...@lists.frameusers.com
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Wim Hooghwinkel -
idtp
Sent: Thursday, October 24, 2013 5:21 AM
To: Robert Lauriston
Cc: framers@lists.frameusers.com
Subject: Re: Insert image as H/F variable - script 

 

Is that still true for the latest FM versions? I have some extend scripts
running without issues.

 

Vriendelijke groet / Kind regards,
 
Wim Hooghwinkel

 

 

Op 23 okt. 2013, om 18:03 heeft Robert Lauriston  het
volgende geschreven:





ExtendScript is buggy, unsupported, and only partially documented.

 

___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Re: Insert image as H/F variable - script

2013-10-24 Thread Wim Hooghwinkel - idtp
Is that still true for the latest FM versions? I have some extend scripts 
running without issues.


Vriendelijke groet / Kind regards,
 
Wim Hooghwinkel


Op 23 okt. 2013, om 18:03 heeft Robert Lauriston  het 
volgende geschreven:

> ExtendScript is buggy, unsupported, and only partially documented.

___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Insert image as H/F variable - script

2013-10-23 Thread Wim Hooghwinkel - idtp
Well, I guess the current use case is fairly simple. Suppose we use a marker in 
the text: Header/Footer $1. This marker has as content the name of the image, 
let's say Pict0001. The Running H/F will display the text (Pict0001). So what 
we need is an extend script that replaces the H/F text with the actual image: 
Pict0001.jpg.

As I'm still not able to write scripts - too busy with other things I guess - 
can someone advise me on such a script, would it be very difficult? In the 
workflow it should be automatically triggered once the XML is opened in FM 
(10), so that the use experiences it as 'real' H/F. We'll need a manual 
'reload' action of course in case of repagination and content change. For ease 
of use we can put the complete path of the image in the marker of course, or 
use a relative path.


Vriendelijke groet / Kind regards,

Wim Hooghwinkel



Op 18 okt. 2013, om 19:13 heeft David Artman  het 
volgende geschreven:

> Can you provide more details or an actual use case?
> 
> We toggle between B&W and color product logos in H/Fs using conditions on the 
> anchor frames the images. But that's book-wide, not 'reactive' or variable 
> based on chapter-specific content (i.e., paratext of a paratag).
> 
>  Original Message 
> Subject: Insert image as H/F variable
> From: Wim Hooghwinkel - idtp 
> Date: Fri, October 18, 2013 4:29 am
> To: "framers at lists.frameusers.com" 
> 
> Hi,
> 
> one of my clients wants to use images as (in) H/F variables.  This can not be 
> done using default FM functions, as a variable can not contain an image.
> 
> Has anyone handled this kind of formatting and can give me some suggestions? 
> Or may be someone has a script available to replace H/F with an image - I 
> guess an image that should be taken from the content, just like a H/F takes 
> the heading text from the content.
> 
> Note: this is structured FM (XML, not DITA) and currently moving tom FM7 to 
> FM10/11.
> 
> thanks,
> 
> 
> Vriendelijke groet / Kind regards,
>  
> Wim Hooghwinkel

-- next part --
An HTML attachment was scrubbed...
URL: 



Re: Insert image as H/F variable - script

2013-10-23 Thread Robert Lauriston
ExtendScript is buggy, unsupported, and only partially documented.
What docs there are are confusing, and there are only a handful of
sample applications. I spent a lot of time automating a single-source
build with ExtendScript, and then one day the script stopped working
for no apparent reason.

If you need to script FrameMaker, buy FrameScript. The documentation
is decent, and there's a helpful support forum.
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Insert image as H/F variable - script

2013-10-23 Thread Robert Lauriston
ExtendScript is buggy, unsupported, and only partially documented.
What docs there are are confusing, and there are only a handful of
sample applications. I spent a lot of time automating a single-source
build with ExtendScript, and then one day the script stopped working
for no apparent reason.

If you need to script FrameMaker, buy FrameScript. The documentation
is decent, and there's a helpful support forum.


Re: Insert image as H/F variable - script

2013-10-23 Thread Wim Hooghwinkel - idtp
Well, I guess the current use case is fairly simple. Suppose we use a marker in 
the text: Header/Footer $1. This marker has as content the name of the image, 
let's say Pict0001. The Running H/F will display the text (Pict0001). So what 
we need is an extend script that replaces the H/F text with the actual image: 
Pict0001.jpg.

As I'm still not able to write scripts - too busy with other things I guess - 
can someone advise me on such a script, would it be very difficult? In the 
workflow it should be automatically triggered once the XML is opened in FM 
(10), so that the use experiences it as 'real' H/F. We'll need a manual 
'reload' action of course in case of repagination and content change. For ease 
of use we can put the complete path of the image in the marker of course, or 
use a relative path.


Vriendelijke groet / Kind regards,
 
Wim Hooghwinkel



Op 18 okt. 2013, om 19:13 heeft David Artman  het 
volgende geschreven:

> Can you provide more details or an actual use case?
> 
> We toggle between B&W and color product logos in H/Fs using conditions on the 
> anchor frames the images. But that's book-wide, not 'reactive' or variable 
> based on chapter-specific content (i.e., paratext of a paratag).
> 
>  Original Message 
> Subject: Insert image as H/F variable
> From: Wim Hooghwinkel - idtp 
> Date: Fri, October 18, 2013 4:29 am
> To: "framers@lists.frameusers.com" 
> 
> Hi,
> 
> one of my clients wants to use images as (in) H/F variables.  This can not be 
> done using default FM functions, as a variable can not contain an image.
> 
> Has anyone handled this kind of formatting and can give me some suggestions? 
> Or may be someone has a script available to replace H/F with an image - I 
> guess an image that should be taken from the content, just like a H/F takes 
> the heading text from the content.
> 
> Note: this is structured FM (XML, not DITA) and currently moving tom FM7 to 
> FM10/11.
> 
> thanks,
> 
> 
> Vriendelijke groet / Kind regards,
>  
> Wim Hooghwinkel

___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.