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 [2019/06/20 22:36]
peternlewis
manual:Preferences [2019/06/25 02:56]
peternlewis
Line 94: Line 94:
 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.
  
-You can set the maximum number of items in the clipboard history (default 200)+==== Editor ==== 
 + 
 +You can adjust ​the get mouse location delay with:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine MaxClipboardHistory ​-int 200+defaults write com.stairways.keyboardmaestro.editor MouseGetCountdown ​-int 5
 </​code>​ </​code>​
  
-You can set the maximum position ​of concealed (password) items in the clipboard history (default 10)+You can adjust ​the spelling ​of Favorites with:
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine ​MaxConcealedPosition ​-int 10+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) 
 + 
 +<code bash> 
 +defaults write com.stairways.keyboardmaestro.engine ​MaxClipboardHistory ​-int 200
 </​code>​ </​code>​
  
Line 110: Line 150:
 <code bash> <code bash>
 defaults write com.stairways.keyboardmaestro.engine ClipboardFlavorMaximumSize -int 100000000 defaults write com.stairways.keyboardmaestro.engine ClipboardFlavorMaximumSize -int 100000000
 +</​code>​
 +
 +You can set the maximum position of concealed (password) items in the clipboard history (default 10)
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.engine MaxConcealedPosition -int 10
 </​code>​ </​code>​
  
Line 118: Line 164:
 defaults write com.stairways.keyboardmaestro.engine LooksLikeNotPassword -string "​^[a-zA-Z0-9]+$"​ defaults write com.stairways.keyboardmaestro.engine LooksLikeNotPassword -string "​^[a-zA-Z0-9]+$"​
 </​code>​ </​code>​
 +
 +Microsoft applications include a PDF flavor with every copy, and starting up the PDF rendering engine is slow, making the first copy after launching a Microsoft application. ​ Keyboard Maestro (v9.0+) excludes PDF flavors from clipboards copied in Microsoft applications by default, but you can turn this off with:
 +
 +<code bash>
 +defaults write com.stairways.keyboardmaestro.engine ExcludeMicrosoftPDFFlavor -bool NO
 +</​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
Line 146: Line 208:
  
 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 165: Line 233:
 </​code>​ </​code>​
  
-You can set the maximum key down trigger time for Hot Key triggers (default 10 seconds)+You can force Keyboard Maestro to simulate keystrokes only as Unicode characters, rather than typing them as you would on the keyboard
  
 <code bash> <code bash>
-defaults write com.stairways.keyboardmaestro.engine ​MaxKeyRepeatTime ​-float 10.0+defaults write com.stairways.keyboardmaestro.engine ​ForceInsertTextByTypingToUseUnicode ​-bool YES
 </​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 202: Line 264:
  
 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 266: Line 322:
 <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 -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>​ </​code>​
  
Line 305: Line 331:
  
 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