Highlighted

Is QuickSelect() not working anymore?

New Here ,
Nov 26, 2018

Copy link to clipboard

Copied

The function QuickSelect() should present a small drop down menu. The same kind of menu you get when pressing F7, F8 or F9.

I wrote a PlugIn with the FDK for FrameMaker 2010 where this behaved correctly.

result = F_ApiQuickSelect(docId, (StringT)"Please Select: ", &somestrings);

In FrameMaker 2017 the same PlugIn (without recompilation) doesn't open the menu anymore.

Instead it just returns immediatly with a return value of -1. FA_Errno is not set. So, judging from the return value, this looks like the user dismissed the dialogue right away. But that is not the case, there is no menu and no intereaction at all.

The rest of the plugin runs without flaws. Recompilation with FDK 2017 did not fix this.

The same behaviour can be seen when running the following from ExtendScript:

app.ActiveDoc.QuickSelect("title", ["one", "two", "three"])

The documentation and the object model viewer all say the function should be available and working.

TOPICS
Scripting

Views

276

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Is QuickSelect() not working anymore?

New Here ,
Nov 26, 2018

Copy link to clipboard

Copied

The function QuickSelect() should present a small drop down menu. The same kind of menu you get when pressing F7, F8 or F9.

I wrote a PlugIn with the FDK for FrameMaker 2010 where this behaved correctly.

result = F_ApiQuickSelect(docId, (StringT)"Please Select: ", &somestrings);

In FrameMaker 2017 the same PlugIn (without recompilation) doesn't open the menu anymore.

Instead it just returns immediatly with a return value of -1. FA_Errno is not set. So, judging from the return value, this looks like the user dismissed the dialogue right away. But that is not the case, there is no menu and no intereaction at all.

The rest of the plugin runs without flaws. Recompilation with FDK 2017 did not fix this.

The same behaviour can be seen when running the following from ExtendScript:

app.ActiveDoc.QuickSelect("title", ["one", "two", "three"])

The documentation and the object model viewer all say the function should be available and working.

TOPICS
Scripting

Views

277

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 26, 2018 0
Community Beginner ,
Feb 18, 2020

Copy link to clipboard

Copied

Use "ScrollBox" instead.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 18, 2020 0