[javascript] flag for when UI is in ribbon mode OR support app.listMenuItems()
Posted: Tue Jul 30, 2024 5:12 pm
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.
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.