Ask Your Question
0

How can I change the assignment for a menu item? [closed]

asked 2016-12-28 11:03:48 +0100

ptoye gravatar image

Now I've worked out (thanks) how to find out which macro is called by a menu item or toolbar button, I now want to change them, but can't see how. I've tried opening up the macro organiser and using the Assign... button but it doesn't seem to do anything. The help files tell me hows to assign a macro to a new menu item, but there's nothing there about changing an existing assignment, and nothing at all about assigning a macro to a toolbar item (even though "toolbars" is one of the tabs in the assignment sub-window). Do I really have to delete the toolbar button and start again?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ptoye
close date 2016-12-28 15:57:21.061811

Comments

@ptoye, check this out. I think it might be a duplicate of your question with a different answer.

EasyTrieve gravatar imageEasyTrieve ( 2016-12-29 07:02:24 +0100 )edit

Yes, that was another of my questions, and the answer to that helped me solve this one. But my question was really about whether one could change the assignment directly from the IDE rather than editing config files or deleting and reinstating the menu item, And Ratslinger says that you can't.

ptoye gravatar imageptoye ( 2016-12-30 10:39:29 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-12-28 15:16:08 +0100

Ratslinger gravatar image

Yes. To change a the macro pointed to by the toolbar or menu item you must delete the old and enter a new one. There is no modify facility. If you are careful enough and understand the format, you can modify the menubar.xml file in the .ods file directly (this is base upon a previous question of yours). The stored location of menubar.xml actually varies depending upon how the menubar/toolbar was created.

edit flag offensive delete link more

Comments

Thanks. I'll do one or the other. Seems like a bit of a gap in the IDE.

ptoye gravatar imageptoye ( 2016-12-28 15:56:37 +0100 )edit

Question Tools

1 follower

Stats

Asked: 2016-12-28 11:03:48 +0100

Seen: 35 times

Last updated: Dec 28 '16