Skip to main content
May 30, 2011
Question

Show/Hide FrameMaker Toolbar with FDK10 API client

  • May 30, 2011
  • 1 reply
  • 468 views

Hi,

I'veimplemented a custom FrameMaker ToolBar (as MyToolBar.xml file) with somepopular FM Menu commands contained.

And I’veassigned "kbd-shortcut" for MyToolBar  to "\!Vh" (Esc V h).

It worksfine. i.e. my Toolbar displays (or hides)  when I type the [Esc V h]  key sequence manually.

How should I execute this key sequence programmatically in FDK10 client with FrameMaker 10?

I tried tosolve this issue using F_ApiFcodes FDK function as follows:

I specified the following sequence of keys

...

static IntT fcodes[] = {'\\!','V','h'};

. . .

and then ran

F_ApiFcodes(sizeof(fcodes)/sizeof(IntT),fcodes);

. . .

However, I got “No expression selected in an equation” FrameMaker message and symbols"V" &"h" printed in the document.

Please advise.

Thanks,

Andrey

    This topic has been closed for replies.

    1 reply

    Legend
    May 31, 2011

    HI Andrey,

    I do a lot of FDK work but I don't have any direct experience in this area. If no one here is able to answer, consider posting to the Yahoo Frame Dev forum. There are more developer types lurking around there, some of them quite experienced and clever:

    http://groups.yahoo.com/group/Frame_dev

    Russ