Created
June 18, 2013 20:14
-
-
Save gordonmeyer/5808903 to your computer and use it in GitHub Desktop.
Keyboard Maestro v6.0 macro to create a Markdown link from the frontmost Safari window. See also: http://www.gordonmeyer.com/2013/06/keyboard-maestro-markdown-link-from-safari.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>SetVariableToText</string> | |
<key>Text</key> | |
<string>%SafariURL%</string> | |
<key>Variable</key> | |
<string>theURL</string> | |
</dict> | |
<dict> | |
<key>IsActive</key> | |
<true/> | |
<key>IsDisclosed</key> | |
<true/> | |
<key>MacroActionType</key> | |
<string>SetVariableToText</string> | |
<key>Text</key> | |
<string>%SafariTitle%</string> | |
<key>Variable</key> | |
<string>theTitle</string> | |
</dict> | |
<dict> | |
<key>Action</key> | |
<string>TitleCase</string> | |
<key>IsActive</key> | |
<true/> | |
<key>IsDisclosed</key> | |
<true/> | |
<key>MacroActionType</key> | |
<string>FilterVariable</string> | |
<key>Variable</key> | |
<string>theTitle</string> | |
</dict> | |
<dict> | |
<key>IsActive</key> | |
<true/> | |
<key>IsDisclosed</key> | |
<true/> | |
<key>JustDisplay</key> | |
<false/> | |
<key>MacroActionType</key> | |
<string>SetClipboardToText</string> | |
<key>TargetNamedClipboardRedundantDisplayName</key> | |
<string>Default Clipboard</string> | |
<key>TargetNamedClipboardUID</key> | |
<string>9C564286-2F69-423B-8ED6-49452217B611</string> | |
<key>TargetUseNamedClipboard</key> | |
<false/> | |
<key>Text</key> | |
<string>[%Variable%theTitle%](%Variable%theURL%)</string> | |
</dict> | |
<dict> | |
<key>IsActive</key> | |
<true/> | |
<key>IsDisclosed</key> | |
<true/> | |
<key>MacroActionType</key> | |
<string>Notification</string> | |
<key>SoundName</key> | |
<string></string> | |
<key>Subtitle</key> | |
<string>Finished</string> | |
<key>Text</key> | |
<string>[link] on clipboard</string> | |
<key>Title</key> | |
<string>Keyboard Maestro</string> | |
</dict> | |
</array> | |
<key>IsActive</key> | |
<true/> | |
<key>ModificationDate</key> | |
<real>393278841.51274502</real> | |
<key>Name</key> | |
<string>Markdown Link from Safari</string> | |
<key>Triggers</key> | |
<array> | |
<dict> | |
<key>MacroTriggerType</key> | |
<string>StatusMenu</string> | |
</dict> | |
</array> | |
<key>UID</key> | |
<string>0587CF93-7CD9-461D-ACE9-A0F88A660C20</string> | |
</dict> | |
</array> | |
<key>Name</key> | |
<string>Clipboards</string> | |
<key>UID</key> | |
<string>CB06FABE-1476-4E0D-807E-3D606B2942DB</string> | |
</dict> | |
</array> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment