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 [2018/03/22 00:56]
peternlewis 8.2
manual:Preferences [2019/06/25 00:50]
peternlewis [Clipboard]
Line 15: Line 15:
 * Show or hide the [[Applications_Palette|Applications Palette]]. * Show or hide the [[Applications_Palette|Applications Palette]].
 * configure whether to detect clipboards that resemble passwords and obscure them. * configure whether to detect clipboards that resemble passwords and obscure them.
 +* configure the light/dark appearance (v9.0+, OS X 10.14+).
 * configure the default text size used in various places. * configure the default text size used in various places.
 * configure whether and how to show the status menu. * configure whether and how to show the status menu.
Line 72: Line 73:
  
 You can paste an image into a Named~~Clipboard by selecting it in the list and pasting an image (if you select part of the text, it will paste the image into the styled text, which works but is probably not what you want). You can paste an image into a Named~~Clipboard by selecting it in the list and pasting an image (if you select part of the text, it will paste the image into the styled text, which works but is probably not what you want).
 +
 +You can also inspect variables and other values in the [[Windows#​Value_Inspector_Window |Value Inspector]].
  
 ===== Variables Preferences ===== ===== Variables Preferences =====
  
 In the [[Windows#​Preferences_Variables_Pane|Variables preference pane]] you can add and remove variables and see and change their values. In the [[Windows#​Preferences_Variables_Pane|Variables preference pane]] you can add and remove variables and see and change their values.
 +
 +You do not need to create variables, just using them and giving them a value is all that is required for them to spring into existence. ​ You can also inspect variables and other values in the [[Windows#​Value_Inspector_Window |Value Inspector]].
  
 ===== Excluded Preferences ===== ===== Excluded Preferences =====
Line 88: Line 93:
  
 You can configure various preferences using defaults write from the Mac OS X Terminal. ​ Some preferences will take effect immediately,​ but others may require the editor or engine to be relaunched. You can configure various preferences using defaults write from the Mac OS X Terminal. ​ Some preferences will take effect immediately,​ but others may require the editor or engine to be relaunched.
 +
 +==== Editor ====
 +
 +You can adjust the get mouse location delay with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor MouseGetCountdown -int 5
 +</​code>​
 +
 +You can adjust the spelling of Favorites with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor FavoritesDisplayName -string "​Favourites"​
 +</​code>​
 +
 +You can turn off automatic completion (autocomplete) with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor AutomaticCompletion -bool NO
 +</​code>​
 +
 +You can limit the maximum undo stack size in the editor with (default 200MB):
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor MaximumUndoSize -int 200000000
 +</​code>​
 +
 +You can add some custom styling to the detail view displays with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor DetailDisplayExtraStyle -string '​div.ActionComment div.UserText { font-family:"​Monaco";​ }'
 +</​code>​
 +
 +You can set your preferred first day of the week (1=Sunday, 7=Saturday):​
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor FirstDayOfWeek -int 2
 +</​code>​
 +
 +You can disable all animation in the editor with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.editor DisableAnimation -bool YES
 +</​code>​
 +
 +==== Clipboard ====
  
 You can set the maximum number of items in the clipboard history (default 200) You can set the maximum number of items in the clipboard history (default 200)
Line 93: Line 144:
 <code bash> <code bash>
 defaults write com.stairways.keyboardmaestro.engine MaxClipboardHistory -int 200 defaults write com.stairways.keyboardmaestro.engine MaxClipboardHistory -int 200
 +</​code>​
 +
 +You can set the maximum clipboard flavor size (default 100MB)
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.engine ClipboardFlavorMaximumSize -int 100000000
 </​code>​ </​code>​
  
Line 101: Line 158:
 </​code>​ </​code>​
  
-You can set the maximum clipboard flavor size (default 100MB)+You can set a regular expression which matches text you think should or should not be concealed as passwords.
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine ​ClipboardFlavorMaximumSize ​-int 100000000+defaults write com.stairways.keyboardmaestro.engine ​LooksLikePassword ​-string "​^[a-zA-Z0-9]+$"​ 
 +defaults write com.stairways.keyboardmaestro.engine LooksLikeNotPassword -string "​^[a-zA-Z0-9]+$"​
 </​code>​ </​code>​
  
-You can set regular expression which matches text you think should or should not be concealed as passwords.+Microsoft applications include ​PDF flavor with every copy, and starting up the PDF rendering engine is slow, making the first copy slow on launch ​Keyboard Maestro (v9.0+) excludes PDF flavors from clipboards copied in Microsoft applications by default, but you can turn this off with:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine ​LooksLikePassword "^[a-zA-Z0-9]+$"​ +defaults write com.stairways.keyboardmaestro.engine ​ExcludeMicrosoftPDFFlavor ​-bool NO
-defaults write com.stairways.keyboardmaestro.engine LooksLikeNotPassword "​^[a-zA-Z0-9]+$"​+
 </​code>​ </​code>​
 +
 +Microsoft applications also include flavors for every possible image format with every copy.  Keyboard Maestro (v9.0+) excludes secondary image flavors like BMP when there is a PNG or TIFF flavor available. ​ You can turn this off with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.engine ExcludeMultipleImageFlavors -bool NO
 +</​code>​
 +
 +
 +
 +==== Engine ====
  
 You can set the command line tool that is used to execute AppleScripts You can set the command line tool that is used to execute AppleScripts
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine OSAScriptCommand "/​usr/​bin/​arch -i386 /​usr/​bin/​osascript"​+defaults write com.stairways.keyboardmaestro.engine OSAScriptCommand ​-string ​"/​usr/​bin/​arch -i386 /​usr/​bin/​osascript"​
 </​code>​ </​code>​
  
Line 123: Line 190:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariBundleID "​com.apple.SafariTechnologyPreview"​ +defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariBundleID ​-string ​"​com.apple.SafariTechnologyPreview"​ 
-defaults write com.stairways.keyboardmaestro.engine BrowserSafariName "​Safari Tech"+defaults write com.stairways.keyboardmaestro.engine BrowserSafariName ​-string ​"​Safari Tech"
 </​code>​ </​code>​
  
Line 130: Line 197:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariName "​com.apple.Safari"​+defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariName ​-string ​"​com.apple.Safari"​
 </​code>​ </​code>​
  
Line 136: Line 203:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine AppleScriptGoogleChromeBundleID "​com.google.Chrome.canary"​ +defaults write com.stairways.keyboardmaestro.engine AppleScriptGoogleChromeBundleID ​-string ​"​com.google.Chrome.canary"​ 
-defaults write com.stairways.keyboardmaestro.engine BrowserGoogleChromeName "​Chrome Canary"​+defaults write com.stairways.keyboardmaestro.engine BrowserGoogleChromeName ​-string ​"​Chrome Canary"​
 </​code>​ </​code>​
  
 The AppleScript name is used in AppleScript'​s which control the respective browser in the form of CODE{{{tell app "<​browser name>"​}}}. ​ Note that the Safari browser must still behave like Safari, and the Chrome browser must behave like Chrome, or the actions will not work.  Do not bother trying to set them to Firefox or something like that as it will not work.  All this allows you to do is select a specific version of Safari or Chrome respectively. The AppleScript name is used in AppleScript'​s which control the respective browser in the form of CODE{{{tell app "<​browser name>"​}}}. ​ Note that the Safari browser must still behave like Safari, and the Chrome browser must behave like Chrome, or the actions will not work.  Do not bother trying to set them to Firefox or something like that as it will not work.  All this allows you to do is select a specific version of Safari or Chrome respectively.
 +
 +You can disable all animation in the engine with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.engine DisableAnimation -bool YES
 +</​code>​
  
 You can disable Shift-Space from clearing the Typed String buffer You can disable Shift-Space from clearing the Typed String buffer
Line 160: Line 233:
 </​code>​ </​code>​
  
-You can disable all animation in the editor with:+You can set the maximum key down trigger time for Hot Key triggers (default 10 seconds)
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.editor DisableAnimation ​-bool YES +defaults write com.stairways.keyboardmaestro.engine MaxKeyRepeatTime ​-float 10.0
-</​code>​ +
- +
-or the engine with: +
- +
-<code bash> +
-defaults write com.stairways.keyboardmaestro.engine DisableAnimation -bool YES+
 </​code>​ </​code>​
  
Line 191: Line 258:
  
 Note: you can option click the Record button to avoid the delay. Note: you can option click the Record button to avoid the delay.
- 
-You can adjust the get mouse location delay with: 
- 
-<code bash> 
-defaults write com.stairways.keyboardmaestro.editor MouseGetCountdown -int 5 
-</​code>​ 
  
 You can have the conflict palette use sequential hot keys from the first letter with: You can have the conflict palette use sequential hot keys from the first letter with:
Line 230: Line 291:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine CustomPaletteTheme "​0,​90,​74,​ 110,90,74, 256,​90,​74"​+defaults write com.stairways.keyboardmaestro.engine CustomPaletteTheme ​-string ​"​0,​90,​74,​ 110,90,74, 256,​90,​74"​
 </​code>​ </​code>​
  
Line 255: Line 316:
 <code bash> <code bash>
 defaults write com.stairways.keyboardmaestro.engine ReportUpdatesWhenEditorActivates -bool YES defaults write com.stairways.keyboardmaestro.engine ReportUpdatesWhenEditorActivates -bool YES
-</​code>​ 
- 
-You can adjust the spelling of Favorites with: 
- 
-<code bash> 
-defaults write com.stairways.keyboardmaestro.editor FavoritesDisplayName "​Favourites"​ 
-</​code>​ 
- 
-You can turn off automatic completion (autocomplete) with: 
- 
-<code bash> 
-defaults write com.stairways.keyboardmaestro.editor AutomaticCompletion -bool NO 
-</​code>​ 
- 
-You can limit the maximum undo stack size in the editor with (default 200MB): 
- 
-<code bash> 
-defaults write com.stairways.keyboardmaestro.editor MaximumUndoSize -int 200000000 
-</​code>​ 
- 
-You can add some custom styling to the detail view displays with: 
- 
-<code bash> 
-defaults write com.stairways.keyboardmaestro.editor DetailDisplayExtraStyle -string '​div.ActionComment div.UserText { font-family:"​Monaco";​ }' 
-</​code>​ 
- 
-You can set your preferred first day of the week (1=Sunday, 7=Saturday):​ 
- 
-<code bash> 
-defaults write com.stairways.keyboardmaestro.editor FirstDayOfWeek -int 2 
 </​code>​ </​code>​
  
Line 290: Line 321:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine WebKitDeveloperExtras ​TRUE+defaults write com.stairways.keyboardmaestro.engine WebKitDeveloperExtras ​-bool YES
 </​code>​ </​code>​
  
 Then you can control-click on elements and use Inspect Element and get an inspector window, including a Console tab. Then you can control-click on elements and use Inspect Element and get an inspector window, including a Console tab.
 +
manual/Preferences.txt · Last modified: 2024/05/27 21:26 by peternlewis