Page 1 of 1

[javascript] flag for when UI is in ribbon mode OR support app.listMenuItems()

Posted: Tue Jul 30, 2024 5:12 pm
by Mathew
For javascripts, I don't see a way to find if the user is in the ribbon UI or classic UI(?) This would be useful to decide whether to add a menu item or tool button.

In PDF-XChange app.listMenuItems() returns an empty array. If it returned at least an array of the root menu items, it would be a way to check whether, for example, "Tools" menu exists and can be used as a parent to a menu item.

Re: [javascript] flag for when UI is in ribbon mode OR support app.listMenuItems()  SOLVED

Posted: Fri Aug 02, 2024 7:08 pm
by Roman - Tracker Supp
Hi Mathew,
app.listMenuItems will be implemented in the next release of PDF-XChange Editor.

Re: [javascript] flag for when UI is in ribbon mode OR support app.listMenuItems()

Posted: Fri Aug 02, 2024 9:43 pm
by Mathew
:D

[javascript] flag for when UI is in ribbon mode OR support app.listMenuItems()

Posted: Fri Aug 02, 2024 10:12 pm
by Daniel - PDF-XChange
:)