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/08/17 21:26]
JMichaelTX [Safari Browser Used in Actions & Tokens]
manual:Preferences [2020/08/17 21:38]
JMichaelTX [Chrome Browser Used in Actions & Tokens]
Line 207: Line 207:
 These preferences change AppleScript Application name that is used to control the respective browser in the form of CODE{{{tell application "<​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. These preferences change AppleScript Application name that is used to control the respective browser in the form of CODE{{{tell application "<​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 set the AppleScript name of the Safari ​application, as well as the name of the Safari browser shown in applications:​+You can Safari-based Browser targeted in Actions, etc, as well as the name of the Safari browser shown in applications:​
  
 <code bash> <code bash>
Line 222: Line 222:
 ==== Chrome Browser Used in Actions & Tokens ==== ==== Chrome Browser Used in Actions & Tokens ====
  
-Change which Chrome-based Browser will be targeted by the various Keyboard Maestro "​Chrome"​ Actions, Tokens, and Functions.+**Change which Chrome-based Browser will be targeted by the various Keyboard Maestro "​Chrome"​ Actions, Tokens, and Functions.**
  
 <code bash> <code bash>
 +# ~~~ For Brave Browser ~~~
 +defaults write com.stairways.keyboardmaestro.engine AppleScriptGoogleChromeBundleID -string "​com.google.Brave"​
 +defaults write com.stairways.keyboardmaestro.engine BrowserGoogleChromeName -string "Brave Browser"​
 +
 +# ~~~For Chrome Canary ~~~
 defaults write com.stairways.keyboardmaestro.engine AppleScriptGoogleChromeBundleID -string "​com.google.Chrome.canary"​ defaults write com.stairways.keyboardmaestro.engine AppleScriptGoogleChromeBundleID -string "​com.google.Chrome.canary"​
 defaults write com.stairways.keyboardmaestro.engine BrowserGoogleChromeName -string "​Chrome Canary"​ defaults write com.stairways.keyboardmaestro.engine BrowserGoogleChromeName -string "​Chrome Canary"​
manual/Preferences.txt ยท Last modified: 2024/05/27 21:26 by peternlewis