# Remap keys with KeyRemap4MacBook for all apps except a specific one

I'd like to know how do I tell KeyRemap4MacBook to exclude an app from key remapping. I know about <only> tag in private.xml, which limits key remapping to a single app, but is there a tag that has the opposite meaning i.e. remapping to all apps but some?

-

<item>
<name>test</name>
<identifier>private.test</identifier>
<not>MAIL</not>
<autogen>__KeyToKey__ KeyCode::Q, KeyCode::A</autogen>
</item>


The default application names are defined in appdef.xml, but you can add new ones in private.xml:

<appdef>
<appname>TEXTEDIT</appname>
<equal>com.apple.TextEdit</equal>
</appdef>


@Noah Just add a not element to them like in the example above. If they are predefined settings, you can copy them from checkbox.xml to private.xml. –  ؘؘؘؘ Jul 21 '13 at 10:10