This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
manual:Preferences [2024/05/27 21:26] peternlewis |
manual:Preferences [2024/07/16 08:10] (current) peternlewis [Browser Used in Actions & Tokens] |
||
---|---|---|---|
Line 243: | Line 243: | ||
**Change which Safari-based Browser will be targeted by the "Safari" Actions, Tokens, and Functions.** | **Change which Safari-based Browser will be targeted by the "Safari" Actions, Tokens, and Functions.** | ||
- | 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 the 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 Safari-based Browser targeted in Actions, etc, as well as the name of the Safari browser shown in applications: | + | You can configure which Safari-based Browser is targeted in Safari Actions, as well as the name of the Safari browser shown in the actions: |
<code bash> | <code bash> | ||
defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariBundleID -string "com.apple.SafariTechnologyPreview" | defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariBundleID -string "com.apple.SafariTechnologyPreview" | ||
defaults write com.stairways.keyboardmaestro.engine BrowserSafariName -string "Safari Tech" | defaults write com.stairways.keyboardmaestro.engine BrowserSafariName -string "Safari Tech" | ||
- | </code> | ||
- | |||
- | or | ||
- | |||
- | <code bash> | ||
- | defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariName -string "com.apple.Safari" | ||
</code> | </code> | ||