Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Keyboard Maestro macro to open the current URL in Safari in Google Chrome
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>IsActive</key>
<true/>
<key>Macros</key>
<array>
<dict>
<key>Actions</key>
<array>
<dict>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>MacroActionType</key>
<string>SelectMenuItem</string>
<key>Menu</key>
<array>
<string>File</string>
<string>Open Location…</string>
</array>
<key>StopOnFailure</key>
<true/>
<key>TargetApplication</key>
<dict>
<key>BundleIdentifier</key>
<string>com.apple.Safari</string>
<key>Creator</key>
<integer>1936093801</integer>
<key>FileType</key>
<integer>1095782476</integer>
<key>Name</key>
<string>Safari.app</string>
<key>NewFile</key>
<string>/Applications/Safari.app</string>
</dict>
<key>TargetingType</key>
<string>Specific</string>
</dict>
<dict>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>MacroActionType</key>
<string>SelectMenuItem</string>
<key>Menu</key>
<array>
<string>Edit</string>
<string>Cut</string>
</array>
<key>StopOnFailure</key>
<true/>
<key>TargetApplication</key>
<dict>
<key>BundleIdentifier</key>
<string>com.apple.Safari</string>
<key>Creator</key>
<integer>1936093801</integer>
<key>FileType</key>
<integer>1095782476</integer>
<key>Name</key>
<string>Safari.app</string>
<key>NewFile</key>
<string>/Applications/Safari.app</string>
</dict>
<key>TargetingType</key>
<string>Specific</string>
</dict>
<dict>
<key>DisplayKind</key>
<string>Window</string>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>MacroActionType</key>
<string>ExecuteShellScript</string>
<key>Path</key>
<string></string>
<key>Text</key>
<string>URL="$(pbpaste)"
open -a 'Google Chrome' "$URL" &amp;&amp; exit 0
echo "Keyboard Maestro: failed to open $URL in Google Chrome"
exit 1
</string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>TrimResults</key>
<true/>
<key>UseText</key>
<true/>
<key>Variable</key>
<string>Variable</string>
</dict>
</array>
<key>IsActive</key>
<true/>
<key>Name</key>
<string>Open Safari URL in Google Chrome</string>
<key>Triggers</key>
<array>
<dict>
<key>FireType</key>
<string>Pressed</string>
<key>KeyCode</key>
<integer>5</integer>
<key>MacroTriggerType</key>
<string>HotKey</string>
<key>Modifiers</key>
<integer>2048</integer>
<key>TriggerRepeat</key>
<false/>
</dict>
</array>
<key>UID</key>
<string>D8F3AF8F-6298-41B2-980F-4AEFE5DF3505</string>
</dict>
</array>
<key>Name</key>
<string>Only in -&gt; Safari </string>
<key>Targeting</key>
<dict>
<key>Targeting</key>
<string>Included</string>
<key>TargetingApps</key>
<array>
<dict>
<key>BundleIdentifier</key>
<string>com.apple.Safari</string>
<key>Creator</key>
<integer>1936093801</integer>
<key>FileType</key>
<integer>1095782476</integer>
<key>Name</key>
<string>Safari.app</string>
<key>NewFile</key>
<string>/Applications/Safari.app</string>
</dict>
</array>
</dict>
<key>UID</key>
<string>68618F4B-67CA-461B-97C5-C0A6707EA499</string>
</dict>
</array>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.