Skip to content

Instantly share code, notes, and snippets.

@barrasme
Created January 26, 2016 11:42
Show Gist options
  • Save barrasme/2056b5a6761f8b185848 to your computer and use it in GitHub Desktop.
Save barrasme/2056b5a6761f8b185848 to your computer and use it in GitHub Desktop.
A really simple Keyboard Maestro macro to create a new tweet using Tweetbot.
<?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>CreationDate</key>
<real>475168983.47021598</real>
<key>IsActive</key>
<true/>
<key>Macros</key>
<array>
<dict>
<key>Actions</key>
<array>
<dict>
<key>Buttons</key>
<array>
<dict>
<key>Button</key>
<string>OK</string>
</dict>
<dict>
<key>Button</key>
<string>Cancel</string>
<key>Cancel</key>
<true/>
</dict>
</array>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>MacroActionType</key>
<string>PromptForUserInput</string>
<key>Prompt</key>
<string>What do you want to tweet?</string>
<key>TimeOutAbortsMacro</key>
<true/>
<key>Title</key>
<string>tweet</string>
<key>Variables</key>
<array>
<dict>
<key>Default</key>
<string></string>
<key>Variable</key>
<string>tweet</string>
</dict>
</array>
</dict>
<dict>
<key>AllWindows</key>
<true/>
<key>AlreadyActivatedActionType</key>
<string>Normal</string>
<key>Application</key>
<dict>
<key>BundleIdentifier</key>
<string>com.tapbots.TweetbotMac</string>
<key>Name</key>
<string>Tweetbot</string>
<key>NewFile</key>
<string>/Applications/Tweetbot.app</string>
</dict>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>MacroActionType</key>
<string>ActivateApplication</string>
<key>ReopenWindows</key>
<false/>
<key>TimeOutAbortsMacro</key>
<true/>
</dict>
<dict>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>KeyCode</key>
<integer>45</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>256</integer>
<key>ReleaseAll</key>
<false/>
</dict>
<dict>
<key>Action</key>
<string>ByTyping</string>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>MacroActionType</key>
<string>InsertText</string>
<key>Paste</key>
<false/>
<key>Text</key>
<string>%Variable%tweet%</string>
</dict>
<dict>
<key>IsActive</key>
<true/>
<key>IsDisclosed</key>
<true/>
<key>KeyCode</key>
<integer>36</integer>
<key>MacroActionType</key>
<string>SimulateKeystroke</string>
<key>Modifiers</key>
<integer>256</integer>
<key>ReleaseAll</key>
<false/>
</dict>
</array>
<key>CreationDate</key>
<real>0.0</real>
<key>IsActive</key>
<true/>
<key>ModificationDate</key>
<real>475501076.45509899</real>
<key>Name</key>
<string>New Tweet</string>
<key>Triggers</key>
<array>
<dict>
<key>Case</key>
<string>Exact</string>
<key>DiacriticalsMatter</key>
<true/>
<key>MacroTriggerType</key>
<string>TypedString</string>
<key>OnlyAfterWordBreak</key>
<false/>
<key>SimulateDeletes</key>
<true/>
<key>TypedString</key>
<string>newtweet</string>
</dict>
</array>
<key>UID</key>
<string>406E5BE1-4A5B-4B54-81F5-0B128FA1D2FD</string>
</dict>
</array>
<key>Name</key>
<string>Global Macro Group</string>
<key>ToggleMacroUID</key>
<string>BA5FC3BC-08A1-4A95-8708-E66520373C69</string>
<key>UID</key>
<string>ABABDA7D-6A2C-4267-BBA4-45FA59A4BDE4</string>
</dict>
</array>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment