Skip to main content
frameexpert
Community Expert
Community Expert
March 30, 2018
Answered

Run an Fcode through a Hypertext command

  • March 30, 2018
  • 3 replies
  • 581 views

Is it possible to execute an Fcode through a Hypertext command? I want to be able to click on a Hypertext link in FrameMaker and have it execute an Fcode. I see this in the FDK Reference on page 800: FV_HypertextFcodeInvalid: Invalid FCode in the hypertext command. But I can't figure out the syntax for doing executing an Fcode in a Hypertext marker. Thanks in advance.

This topic has been closed for replies.
Correct answer frameexpert

Klaus pointed me in the right direction with his PDF. I am not using ExtendScript or the FDK here, I simply want to be able to invoke an Fcode by Control+Alt+Clicking on a Hypertext marker. So pressing Control+Alt and clicking on this Hypertext marker

fcodes 300

shows the New dialog box. The hard part is locating the correct Fcode number. Thanks.

3 replies

Legend
April 2, 2018

Hi Rick,

Is this the FDK? To be honest, I don't really have any idea what all those hypertext properties mean. If I ever need a hypertext link to do something, I use the generic "message <client_name>" syntax in the marker. This triggers the F_ApiMessage() callback which can do anything, including fcode execution. I suspect you probably know about this methodology, though... so maybe I don't fully understand your question.

Russ

frameexpert
Community Expert
frameexpertCommunity ExpertAuthorCorrect answer
Community Expert
April 2, 2018

Klaus pointed me in the right direction with his PDF. I am not using ExtendScript or the FDK here, I simply want to be able to invoke an Fcode by Control+Alt+Clicking on a Hypertext marker. So pressing Control+Alt and clicking on this Hypertext marker

fcodes 300

shows the New dialog box. The hard part is locating the correct Fcode number. Thanks.

www.frameexpert.com
K.Daube
Community Expert
Community Expert
March 31, 2018

Rick I think this must be done with setting up a command on the reference page as it is done in the Equations palette. My documentation http://www.daube.ch/docu/files/palette-internals-0.pdf may help with details.

HTH Klaus