Question
remapping toolbar button and menu items
I'm trying to change the default behavior of a couple of toolbar buttons
and the matching menu items. One of them change markup.
I'm able to get the menu item to call the alias I want by using the
menu_change command. The problem is getting the toolbar button to call
my alias. I tried using
map Toolbar_ChangeMarkup ChangeMarkupWithProtection
but it doesn't work. I ended up copying the xui editwindow.xml file to
my custom directory and changing the cmd attribute to point to my alias,
but doing so has caused the icon on the menu items (menu bar and pop up)
to not be displayed. Both the toolbar button and the menu items all
point to the same alias. Any ideas why the map command isn't working
for the toolbar button, or if there is a better way to do this?
Thanks,
--
Brian Jensen
bjensen@bluelid.com
and the matching menu items. One of them change markup.
I'm able to get the menu item to call the alias I want by using the
menu_change command. The problem is getting the toolbar button to call
my alias. I tried using
map Toolbar_ChangeMarkup ChangeMarkupWithProtection
but it doesn't work. I ended up copying the xui editwindow.xml file to
my custom directory and changing the cmd attribute to point to my alias,
but doing so has caused the icon on the menu items (menu bar and pop up)
to not be displayed. Both the toolbar button and the menu items all
point to the same alias. Any ideas why the map command isn't working
for the toolbar button, or if there is a better way to do this?
Thanks,
--
Brian Jensen
bjensen@bluelid.com

