User Tools

Site Tools


manual:Preferences

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
manual:Preferences [2020/09/02 17:07]
JMichaelTX [Clipboard] ADD how to disable Clipboard History
manual:Preferences [2021/03/20 20:28]
JMichaelTX [Clipboard] ADD Alert to Max Number of Clipboard Items
Line 165: Line 165:
 defaults write com.stairways.keyboardmaestro.engine MaxClipboardHistory -int 200 defaults write com.stairways.keyboardmaestro.engine MaxClipboardHistory -int 200
 </​code>​ </​code>​
 +
 +:!: **Alert**: ​ You should **never** set the max number of items to zero.\\
 +If you set the max number of items to zero, then the Copy action will fail.
  
 **Maximum Clipboard Flavor Size** (default 100MB) **Maximum Clipboard Flavor Size** (default 100MB)
Line 171: Line 174:
 defaults write com.stairways.keyboardmaestro.engine ClipboardFlavorMaximumSize -int 100000000 defaults write com.stairways.keyboardmaestro.engine ClipboardFlavorMaximumSize -int 100000000
 </​code>​ </​code>​
 +
 +**Ignored Clipboard Flavors**
 +
 +You can add additional clipboard flavors to be ignored using:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.engine ExtraIgnoredClipboardFlavors "​com.whatever.badflavor"​
 +</​code>​
 +
 +The string should be a bar (`|`) separated list of flavors (technically a regular expression). These flavors will be excluded from the clipboard when Keyboard Maestro reads the clipboard.
 +
 +You can also write to `IgnoredClipboardFlavors`,​ which will set the entire list of ignored clipboard flavors, but that is a bad idea since the flavors that are ignored, are ignored for a reason, and overwriting the list will produce negative results.
  
 **Maximum Position of Concealed (Password) Items** (default 10) **Maximum Position of Concealed (Password) Items** (default 10)
manual/Preferences.txt ยท Last modified: 2023/11/07 00:14 by peternlewis