Hi Laurent, Disable Commands works with mnemonic commands, but not with slot id.
I sent a dispatch with url "slot:26269" and it is still accepted. I suppose that in your case Calc still sends a slot id.
Note that your macro should read : "do you want to ENABLE ..." ;-) Bernard Message de Laurent Godard date 2011-04-14 16:20 :
applying this to "Insert" command works for menu entries (insert> sheet or right click on a sheet tab) - see given macro code but, the Insert is still available by clicking empty space near sheet tabs
-- ----------------------------------------------------------------- To unsubscribe send email to dev-unsubscr...@framework.openoffice.org For additional commands send email to sy...@framework.openoffice.org with Subject: help