Skip to content

Commit

Permalink
Update the Automator workflow to reflect how one could use the userna…
Browse files Browse the repository at this point in the history
…me and pasword options.
  • Loading branch information
tupton committed Sep 15, 2011
1 parent a976d21 commit 6062873
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.pastebin_user_key_cache
.DS_STORE
7 changes: 7 additions & 0 deletions automator/Paste to pastebin.com.workflow/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
<key>NSServices</key>
<array>
<dict>
<key>NSMenuItem</key>
<dict>
<key>default</key>
<string>Paste to pastebin.com</string>
</dict>
<key>NSMessage</key>
<string>runWorkflowAsService</string>
<key>NSSendTypes</key>
<array>
<string>public.utf8-plain-text</string>
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions automator/Paste to pastebin.com.workflow/Contents/document.wflow
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>AMApplicationBuild</key>
<string>247.1</string>
<string>329</string>
<key>AMApplicationVersion</key>
<string>2.1.1</string>
<string>2.2</string>
<key>AMDocumentVersion</key>
<string>2</string>
<key>actions</key>
Expand All @@ -25,7 +25,11 @@
</array>
</dict>
<key>AMActionVersion</key>
<string>2.0.1</string>
<string>2.0.2</string>
<key>AMApplication</key>
<array>
<string>Automator</string>
</array>
<key>AMParameterProperties</key>
<dict>
<key>COMMAND_STRING</key>
Expand Down Expand Up @@ -55,7 +59,7 @@
<key>ActionParameters</key>
<dict>
<key>COMMAND_STRING</key>
<string>/usr/local/bin/pastebin -c</string>
<string>/usr/local/bin/pastebin -c --username pastebin_username --password pastebin_password</string>
<key>CheckedForUserDefaultShell</key>
<true/>
<key>inputMethod</key>
Expand All @@ -65,14 +69,10 @@
<key>source</key>
<string></string>
</dict>
<key>Application</key>
<array>
<string>Automator</string>
</array>
<key>BundleIdentifier</key>
<string>com.apple.RunShellScript</string>
<key>CFBundleVersion</key>
<string>2.0.1</string>
<string>2.0.2</string>
<key>CanShowSelectedItemsWhenRun</key>
<false/>
<key>CanShowWhenRun</key>
Expand Down Expand Up @@ -260,6 +260,8 @@
<string>com.apple.Automator.text</string>
<key>serviceOutputTypeIdentifier</key>
<string>com.apple.Automator.nothing</string>
<key>serviceProcessesInput</key>
<integer>0</integer>
<key>workflowTypeIdentifier</key>
<string>com.apple.Automator.servicesMenu</string>
</dict>
Expand Down

0 comments on commit 6062873

Please sign in to comment.