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

Please post any ideas or requests for new features here for the End User Version of PDF-XChange (printer Drivers)

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
Mathew
User
Posts: 564
Joined: Thu Jun 19, 2014 7:30 pm

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

Post 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.
User avatar
Roman - Tracker Supp
Site Admin
Posts: 331
Joined: Sun Nov 21, 2004 3:19 pm

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

Post by Roman - Tracker Supp »

Hi Mathew,
app.listMenuItems will be implemented in the next release of PDF-XChange Editor.
Mathew
User
Posts: 564
Joined: Thu Jun 19, 2014 7:30 pm

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

Post by Mathew »

:D
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10925
Joined: Wed Jan 03, 2018 6:52 pm

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

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply