Subscribe to this thread
Home - General / All posts - command filter to disable Addin on startup
EsLitus3 post(s)
#23-Apr-14 17:54

Has anyone tried to disable a single Add-in on the Custom Toolbar?

I can disable all Addins, but cannot enable just one:

<xml>

<disable>Addin.*</disable>

<enable>AddinMyAddin</enable>

</xml>

From the help on 'Command Filters' I generated the commandlist.txt and notice there are 3 command entries for Addin. First one has no spaces, 2nd one has a space, 3rd one has 2 spaces after it.

I am hoping this isn't true (from 'Command Filters' help): "...some of which are names that are reserved for future extensions."

Any insight would be appreciated.

adamw


10,447 post(s)
#24-Apr-14 08:11

Command filters disable commands, not addins.

That said, I checked and there is a bug in Manifold 8 that mangles programmatic names for addin commands in a way which makes command filters unable to recognize these commands (argh).

We will fix the bug. In the meantime, you can disable all addin commands, but you can not easily disable or enable a specific command.

EsLitus3 post(s)
#24-Apr-14 17:25

Thanks for this. I can stop trying to escape spaces in XML.

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.