https://bugs.documentfoundation.org/show_bug.cgi?id=146150
--- Comment #4 from Shivam Jha <jhashivam2...@gmail.com> --- (In reply to Mike Kaganski from comment #2) > (In reply to Shivam Jha from comment #1) > > Question2: What would be the equivalent call to > > xRootMenuEntry.setPropertyValue("CommandURL", "slot:5410"); in this case? > > Note that the wiki page mentioned in comment 0 has history, which starts on > 2015; it has some (not all) historical values there, that changed over time, > and now are different. So e.g. 5410 may be found there, if you look at the > last of 2015's initial set commits to that page. > > And that is exactly why the numeric codes of slots should not change, and > hence the answer to Question 1 is definitely yes. So I looked through the history: https://wiki.documentfoundation.org/index.php?title=Development/DispatchCommands&oldid=114486 and found that equivalent uno command for slot:5410 is .uno:HelpMenu Does that mean I just have to replace xRootMenuEntry.setPropertyValue("CommandURL", "slot:5410"); with xRootMenuEntry.setPropertyValue("CommandURL", ".uno:HelpMenu"); ? Or the property name (The first parameter) will change if we want to use a uno command instead of the slot value? -- You are receiving this mail because: You are the assignee for the bug.