commit c92c6b85fdcf1d9bf1c25c4c9f0488eae19c0d37 parent 3532cbecb908acab46a9c25a50090c97cc2844b9 Author: Alex Balgavy <alex@balgavy.eu> Date: Sat, 1 May 2021 14:11:22 +0200 Added Mac Automator services Diffstat:
31 files changed, 3848 insertions(+), 0 deletions(-)
diff --git a/mac-automator-services/Copy Message Link.workflow/Contents/Info.plist b/mac-automator-services/Copy Message Link.workflow/Contents/Info.plist @@ -0,0 +1,27 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSTouchBarShare</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Copy Message Link</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSRequiredContext</key> + <dict> + <key>NSApplicationIdentifier</key> + <string>com.apple.mail</string> + </dict> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Copy Message Link.workflow/Contents/QuickLook/Preview.png b/mac-automator-services/Copy Message Link.workflow/Contents/QuickLook/Preview.png Binary files differ. diff --git a/mac-automator-services/Copy Message Link.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Copy Message Link.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Copy Message Link.workflow/Contents/document.wflow b/mac-automator-services/Copy Message Link.workflow/Contents/document.wflow @@ -0,0 +1,159 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.39</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.applescript.object</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.applescript.object</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run AppleScript.action</string> + <key>ActionName</key> + <string>Run AppleScript</string> + <key>ActionParameters</key> + <dict> + <key>source</key> + <string>tell application "Mail" set selectedMessages to selection set theMessage to item (count of selectedMessages) of selectedMessages set messageid to message id of theMessage -- Make URL (must use URL-encoded values for "<" and ">") set urlText to "message://" & "%3c" & messageid & "%3e" set the clipboard to urlText end tell</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.RunScript</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunScriptAction</string> + <key>InputUUID</key> + <string>05EFBDF6-4F0F-4EFF-BD2A-A676E70C6570</string> + <key>Keywords</key> + <array> + <string>Run</string> + </array> + <key>OutputUUID</key> + <string>5F9F32CD-700F-404F-9594-4E403B533FC5</string> + <key>UUID</key> + <string>A4B20508-D84E-4776-A117-59B143C37432</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string>on run {input, parameters} + + (* Your script goes here *) + + return input +end run</string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:548.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict/> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleID</key> + <string>com.apple.mail</string> + <key>applicationBundleIDsByPath</key> + <dict> + <key>/Applications/Mail.app</key> + <string>com.apple.mail</string> + </dict> + <key>applicationPath</key> + <string>/Applications/Mail.app</string> + <key>applicationPaths</key> + <array> + <string>/Applications/Mail.app</string> + </array> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceApplicationBundleID</key> + <string>com.apple.mail</string> + <key>serviceApplicationPath</key> + <string>/Applications/Mail.app</string> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSTouchBarShare</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Export PDF Annotations.workflow/Contents/Info.plist b/mac-automator-services/Export PDF Annotations.workflow/Contents/Info.plist @@ -0,0 +1,26 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSActionTemplate</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Export PDF Annotations</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSSendFileTypes</key> + <array> + <string>com.adobe.pdf</string> + </array> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Export PDF Annotations.workflow/Contents/QuickLook/Preview.png b/mac-automator-services/Export PDF Annotations.workflow/Contents/QuickLook/Preview.png Binary files differ. diff --git a/mac-automator-services/Export PDF Annotations.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Export PDF Annotations.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Export PDF Annotations.workflow/Contents/document.wflow b/mac-automator-services/Export PDF Annotations.workflow/Contents/document.wflow @@ -0,0 +1,346 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.39</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.adobe.pdf</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>1.1</string> + <key>AMApplication</key> + <array> + <string>Preview</string> + </array> + <key>AMParameterProperties</key> + <dict/> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Extract PDF Annotations.action</string> + <key>ActionName</key> + <string>Extract PDF Annotations</string> + <key>ActionParameters</key> + <dict> + <key>doFreeText</key> + <true/> + <key>doHighlights</key> + <true/> + <key>doText</key> + <true/> + <key>extractContents</key> + <true/> + <key>extractModDate</key> + <true/> + <key>extractPageLabel</key> + <true/> + <key>extractUserName</key> + <true/> + <key>outputIncludeFilePath</key> + <true/> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.ExtractPDFAnnotations</string> + <key>CFBundleVersion</key> + <string>1.1</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryPDFs</string> + </array> + <key>Class Name</key> + <string>ExtractAnnotations</string> + <key>InputUUID</key> + <string>B0E782F7-2876-40A1-B93B-3A387B943CF2</string> + <key>Keywords</key> + <array/> + <key>OutputUUID</key> + <string>439ABD88-A5DA-47B0-8DD2-3FC3437845FB</string> + <key>UUID</key> + <string>261C125D-458E-476B-BE44-5D3A1A2D2546</string> + <key>UnlocalizedApplications</key> + <array> + <string>Preview</string> + </array> + <key>arguments</key> + <dict/> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:340.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Extract PDF Annotations.action/Contents/Resources/en_GB.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + <string>com.apple.cocoa.attributed-string</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>2.2.1</string> + <key>AMApplication</key> + <array> + <string>Finder</string> + <string>TextEdit</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>checkedForDefaultEncoding</key> + <dict/> + <key>newFileFolderPath</key> + <dict> + <key>isPathPopUp</key> + <true/> + <key>variableUUIDsInMenu</key> + <array/> + </dict> + <key>newFileName</key> + <dict/> + <key>newFileTextEncoding</key> + <dict/> + <key>replaceExistingFiles</key> + <dict/> + <key>textFormat</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>public.text</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/New Text File.action</string> + <key>ActionName</key> + <string>New Text File</string> + <key>ActionParameters</key> + <dict> + <key>checkedForDefaultEncoding</key> + <true/> + <key>newFileFolderPath</key> + <string>~/Desktop</string> + <key>newFileName</key> + <string>Untitled.txt</string> + <key>newFileTextEncoding</key> + <integer>4</integer> + <key>replaceExistingFiles</key> + <integer>0</integer> + <key>textFormat</key> + <integer>0</integer> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.NewTextFile</string> + <key>CFBundleVersion</key> + <string>2.2.1</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryText</string> + </array> + <key>Class Name</key> + <string>AMNewTextFileAction</string> + <key>InputUUID</key> + <string>AA485295-1FA2-4D44-8E6E-0FA0695170A6</string> + <key>Keywords</key> + <array> + <string>Create</string> + <string>Make</string> + <string>File</string> + <string>Text</string> + <string>Save</string> + <string>New</string> + <string>Document</string> + </array> + <key>OutputUUID</key> + <string>5BBCAAF2-8424-4463-AE21-16D9C6691254</string> + <key>UUID</key> + <string>E610B9E1-A43A-48B7-B200-F36EF3991A6A</string> + <key>UnlocalizedApplications</key> + <array> + <string>Finder</string> + <string>TextEdit</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>newFileTextEncoding</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>replaceExistingFiles</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <string>~/Desktop</string> + <key>name</key> + <string>newFileFolderPath</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>checkedForDefaultEncoding</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <string>Untitled.txt</string> + <key>name</key> + <string>newFileName</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + <key>5</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>textFormat</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>5</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:519.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/New Text File.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict> + <key>FFC64181-BBD1-4D5F-990B-545E30159DF8</key> + <dict> + <key>from</key> + <string>261C125D-458E-476B-BE44-5D3A1A2D2546 - 261C125D-458E-476B-BE44-5D3A1A2D2546</string> + <key>to</key> + <string>E610B9E1-A43A-48B7-B200-F36EF3991A6A - E610B9E1-A43A-48B7-B200-F36EF3991A6A</string> + </dict> + </dict> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleIDsByPath</key> + <dict/> + <key>applicationPaths</key> + <array/> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.fileSystemObject.PDF</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>15</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.fileSystemObject.PDF</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSActionTemplate</string> + <key>useAutomaticInputType</key> + <integer>1</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Medium Simplify.workflow/Contents/Info.plist b/mac-automator-services/Medium Simplify.workflow/Contents/Info.plist @@ -0,0 +1,31 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSActionTemplate</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Medium Simplify</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSRequiredContext</key> + <dict> + <key>NSApplicationIdentifier</key> + <string>com.apple.Safari</string> + </dict> + <key>NSSendTypes</key> + <array> + <string>public.utf8-plain-text</string> + </array> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Medium Simplify.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Medium Simplify.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Medium Simplify.workflow/Contents/document.wflow b/mac-automator-services/Medium Simplify.workflow/Contents/document.wflow @@ -0,0 +1,301 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.39</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMActionVersion</key> + <string>1.1.1</string> + <key>AMApplication</key> + <array> + <string>Safari</string> + </array> + <key>AMParameterProperties</key> + <dict/> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.url</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Get Current Webpage from Safari.action</string> + <key>ActionName</key> + <string>Get Current Webpage from Safari</string> + <key>ActionParameters</key> + <dict/> + <key>BundleIdentifier</key> + <string>com.apple.GetURLofFrontSafariWindow</string> + <key>CFBundleVersion</key> + <string>1.1.1</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <false/> + <key>Category</key> + <array> + <string>AMCategoryInternet</string> + </array> + <key>Class Name</key> + <string>AMGetURLofSafariWindowAction</string> + <key>Keywords</key> + <array> + <string>Web</string> + <string>Get</string> + <string>URL</string> + </array> + <key>OutputUUID</key> + <string>F8628F3E-1FBB-4398-AEF9-74194783DC9A</string> + <key>UUID</key> + <string>760F1868-3173-413C-A805-8161C6B579BF</string> + <key>UnlocalizedApplications</key> + <array> + <string>Safari</string> + </array> + <key>arguments</key> + <dict/> + <key>conversionLabel</key> + <integer>0</integer> + <key>nibPath</key> + <string>/System/Library/Automator/Get Current Webpage from Safari.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>2.0.3</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>COMMAND_STRING</key> + <dict/> + <key>CheckedForUserDefaultShell</key> + <dict/> + <key>inputMethod</key> + <dict/> + <key>shell</key> + <dict/> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run Shell Script.action</string> + <key>ActionName</key> + <string>Run Shell Script</string> + <key>ActionParameters</key> + <dict> + <key>COMMAND_STRING</key> + <string>for f in "$@" +do + ~/.scripts/medium_reader.rb "$f" +done</string> + <key>CheckedForUserDefaultShell</key> + <true/> + <key>inputMethod</key> + <integer>1</integer> + <key>shell</key> + <string>/bin/bash</string> + <key>source</key> + <string></string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.RunShellScript</string> + <key>CFBundleVersion</key> + <string>2.0.3</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunShellScriptAction</string> + <key>InputUUID</key> + <string>D1DBF162-7480-40A1-A266-140CC5441720</string> + <key>Keywords</key> + <array> + <string>Shell</string> + <string>Script</string> + <string>Command</string> + <string>Run</string> + <string>Unix</string> + </array> + <key>OutputUUID</key> + <string>DDC2A1F9-509D-40F4-AB08-C66056A49C04</string> + <key>UUID</key> + <string>A5FEB4EC-63DA-4359-8875-B5D77BC25262</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>inputMethod</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>CheckedForUserDefaultShell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>COMMAND_STRING</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <string>/bin/sh</string> + <key>name</key> + <string>shell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:370.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict> + <key>B2AE2084-8DCB-4793-A207-64F009956222</key> + <dict> + <key>from</key> + <string>760F1868-3173-413C-A805-8161C6B579BF - 760F1868-3173-413C-A805-8161C6B579BF</string> + <key>to</key> + <string>A5FEB4EC-63DA-4359-8875-B5D77BC25262 - A5FEB4EC-63DA-4359-8875-B5D77BC25262</string> + </dict> + </dict> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleID</key> + <string>com.apple.Safari</string> + <key>applicationBundleIDsByPath</key> + <dict> + <key>/Applications/Safari.app</key> + <string>com.apple.Safari</string> + </dict> + <key>applicationPath</key> + <string>/Applications/Safari.app</string> + <key>applicationPaths</key> + <array> + <string>/Applications/Safari.app</string> + </array> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.text</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceApplicationBundleID</key> + <string>com.apple.Safari</string> + <key>serviceApplicationPath</key> + <string>/Applications/Safari.app</string> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.text</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSActionTemplate</string> + <key>useAutomaticInputType</key> + <integer>1</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Merge PDF Files.workflow/Contents/Info.plist b/mac-automator-services/Merge PDF Files.workflow/Contents/Info.plist @@ -0,0 +1,26 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSActionTemplate</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Merge PDF Files</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSSendFileTypes</key> + <array> + <string>com.adobe.pdf</string> + </array> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Merge PDF Files.workflow/Contents/QuickLook/Preview.png b/mac-automator-services/Merge PDF Files.workflow/Contents/QuickLook/Preview.png Binary files differ. diff --git a/mac-automator-services/Merge PDF Files.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Merge PDF Files.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Merge PDF Files.workflow/Contents/document.wflow b/mac-automator-services/Merge PDF Files.workflow/Contents/document.wflow @@ -0,0 +1,1321 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.39</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.applescript.alias-object.pdf</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>589.10</string> + <key>AMApplication</key> + <array> + <string>PDF</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>joinTag</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.applescript.alias-object.pdf</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Combine PDF Pages.action</string> + <key>ActionName</key> + <string>Combine PDF Pages</string> + <key>ActionParameters</key> + <dict> + <key>joinTag</key> + <integer>0</integer> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.action.joinpdf</string> + <key>CFBundleVersion</key> + <string>589.10</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryPDFs</string> + </array> + <key>Class Name</key> + <string>JoinPDFPage</string> + <key>InputUUID</key> + <string>00D8734D-E3CA-46C0-BA2E-197600CCFAD1</string> + <key>Keywords</key> + <array> + <string>Combine</string> + <string>Shuffle</string> + </array> + <key>OutputUUID</key> + <string>170312CC-3E54-41D7-8094-D03C2A2397DB</string> + <key>UUID</key> + <string>7E07EB88-BCAA-4404-A11F-82B407544370</string> + <key>UnlocalizedApplications</key> + <array> + <string>PDF</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>joinTag</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:297.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>1.1.2</string> + <key>AMApplication</key> + <array> + <string>Finder</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>replaceExisting</key> + <dict/> + <key>toDirectory</key> + <dict> + <key>isPathPopUp</key> + <true/> + <key>variableUUIDsInMenu</key> + <array/> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Move Finder Items.action</string> + <key>ActionName</key> + <string>Move Finder Items</string> + <key>ActionParameters</key> + <dict> + <key>replaceExisting</key> + <false/> + <key>toDirectory</key> + <string>~/Desktop</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.MoveFiles</string> + <key>CFBundleVersion</key> + <string>1.1.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryFilesAndFolders</string> + </array> + <key>Class Name</key> + <string>MoveFilesAction</string> + <key>InputUUID</key> + <string>2C6743BC-3C5D-4161-B825-02F68A7E7482</string> + <key>Keywords</key> + <array> + <string>File</string> + <string>Move</string> + </array> + <key>OutputUUID</key> + <string>7F8E4E94-8584-4781-A6D5-D3EC55817D0A</string> + <key>UUID</key> + <string>C5BD11EB-0DFD-4E95-B508-F5DAA7F12177</string> + <key>UnlocalizedApplications</key> + <array> + <string>Finder</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string>~/Desktop</string> + <key>name</key> + <string>toDirectory</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>replaceExisting</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:399.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Move Finder Items.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>variableUUID</key> + <dict> + <key>isPathPopUp</key> + <false/> + <key>selectedVariableUUID</key> + <string>CBFEE447-67DA-4B03-9AA1-2A4DF6AFC144</string> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Set Value of Variable.action</string> + <key>ActionName</key> + <string>Set Value of Variable</string> + <key>ActionParameters</key> + <dict> + <key>variableUUID</key> + <string>CBFEE447-67DA-4B03-9AA1-2A4DF6AFC144</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.SetValueofVariable</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>Set_Value_of_Variable</string> + <key>InputUUID</key> + <string>4DEB7988-3806-4691-95D6-B88DFFC8E920</string> + <key>Keywords</key> + <array> + <string>variable</string> + <string>binding</string> + <string>input</string> + <string>output</string> + <string>storage</string> + </array> + <key>OutputUUID</key> + <string>194E7A64-3890-4540-8632-ED802A2A3EC6</string> + <key>UUID</key> + <string>3D234C07-9E94-4F93-ADB2-B5987859B14A</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>variableUUID</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:504.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>1.1.1</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + <string>TextEdit</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>buttonAffirmative</key> + <dict/> + <key>buttonNegative</key> + <dict/> + <key>defaultAnswer</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>merged</string> + </array> + </dict> + <key>defaultMessage</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>Name of merged PDF:</string> + </array> + </dict> + <key>requireInput</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Ask for Text.action</string> + <key>ActionName</key> + <string>Ask for Text</string> + <key>ActionParameters</key> + <dict> + <key>buttonAffirmative</key> + <string>OK</string> + <key>buttonNegative</key> + <string>Cancel</string> + <key>defaultAnswer</key> + <string>merged</string> + <key>defaultMessage</key> + <string>Name of merged PDF:</string> + <key>requireInput</key> + <true/> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.TextInputDialog</string> + <key>CFBundleVersion</key> + <string>1.1.1</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <false/> + <key>Category</key> + <array> + <string>AMCategoryText</string> + </array> + <key>Class Name</key> + <string>AMAskForTextAction</string> + <key>IgnoresInput</key> + <true/> + <key>InputUUID</key> + <string>EF2F63E8-3892-4312-A32C-8BE541DCA690</string> + <key>Keywords</key> + <array> + <string>Text</string> + <string>Ask</string> + <string>Prompt</string> + </array> + <key>OutputUUID</key> + <string>C94F3E82-FD8E-424E-9BF7-8CF06B4A8C3E</string> + <key>UUID</key> + <string>1F010FA1-0A77-449D-A597-4B8E93F8B9DC</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + <string>TextEdit</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>defaultAnswer</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string>OK</string> + <key>name</key> + <string>buttonAffirmative</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>defaultMessage</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <string>Cancel</string> + <key>name</key> + <string>buttonNegative</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>requireInput</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:685.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Ask for Text.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>variableUUID</key> + <dict> + <key>isPathPopUp</key> + <false/> + <key>selectedVariableUUID</key> + <string>2215EC80-9153-4CFD-90D3-743ED401847B</string> + <key>variableUUIDsInMenu</key> + <array/> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Set Value of Variable.action</string> + <key>ActionName</key> + <string>Set Value of Variable</string> + <key>ActionParameters</key> + <dict> + <key>variableUUID</key> + <string>2215EC80-9153-4CFD-90D3-743ED401847B</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.SetValueofVariable</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>Set_Value_of_Variable</string> + <key>InputUUID</key> + <string>AFDAC597-AB9D-4FB6-AFC8-E8181E1A5E4B</string> + <key>Keywords</key> + <array> + <string>variable</string> + <string>binding</string> + <string>input</string> + <string>output</string> + <string>storage</string> + </array> + <key>OutputUUID</key> + <string>2240D74B-7A64-4C8A-922A-69DF267D76FF</string> + <key>UUID</key> + <string>5A835114-F540-41C8-8953-3602E7B11C80</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>variableUUID</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:790.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>variableUUID</key> + <dict> + <key>isPathPopUp</key> + <false/> + <key>selectedVariableUUID</key> + <string>CBFEE447-67DA-4B03-9AA1-2A4DF6AFC144</string> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Get Value of Variable.action</string> + <key>ActionName</key> + <string>Get Value of Variable</string> + <key>ActionParameters</key> + <dict> + <key>variableUUID</key> + <string>CBFEE447-67DA-4B03-9AA1-2A4DF6AFC144</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.GetValueofVariable</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>Get_Value_of_Variable</string> + <key>InputUUID</key> + <string>35C3D39B-C585-48CC-938E-791138BFDC66</string> + <key>Keywords</key> + <array> + <string>variable</string> + <string>binding</string> + <string>input</string> + <string>output</string> + <string>storage</string> + </array> + <key>OutputUUID</key> + <string>6EA85311-FC4E-4781-9FEE-CCE70D8F3D64</string> + <key>UUID</key> + <string>185E30EC-1011-43DE-8A47-86856A93EBF6</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>variableUUID</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:892.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.1.3.2</string> + <key>AMApplication</key> + <array> + <string>Finder</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>caseIndicator</key> + <dict/> + <key>dateFormat</key> + <dict/> + <key>datePlacement</key> + <dict/> + <key>dateSeparator</key> + <dict/> + <key>dateToUse</key> + <dict/> + <key>defaultName</key> + <dict/> + <key>ignoreCase</key> + <dict/> + <key>includeExtensions</key> + <dict/> + <key>insertionPosition</key> + <dict/> + <key>minimumCount</key> + <dict/> + <key>nameDateSeparator</key> + <dict/> + <key>nameSingleItem</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>$(2215EC80-9153-4CFD-90D3-743ED401847B)</string> + </array> + </dict> + <key>numberLocation</key> + <dict/> + <key>numberSeparator</key> + <dict/> + <key>renameItems</key> + <dict/> + <key>renameType</key> + <dict/> + <key>replaceWithText</key> + <dict/> + <key>singleItemOption</key> + <dict/> + <key>startingNumber</key> + <dict/> + <key>textInput</key> + <dict/> + <key>textToFind</key> + <dict/> + <key>useLeadingZeros</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Rename Finder Items.action</string> + <key>ActionName</key> + <string>Rename Finder Items: Name Single Item</string> + <key>ActionParameters</key> + <dict> + <key>caseIndicator</key> + <integer>0</integer> + <key>dateFormat</key> + <string>0</string> + <key>datePlacement</key> + <integer>0</integer> + <key>dateSeparator</key> + <string>0</string> + <key>dateToUse</key> + <integer>0</integer> + <key>defaultName</key> + <string></string> + <key>ignoreCase</key> + <true/> + <key>includeExtensions</key> + <integer>0</integer> + <key>insertionPosition</key> + <integer>0</integer> + <key>minimumCount</key> + <string>2</string> + <key>nameDateSeparator</key> + <integer>0</integer> + <key>nameSingleItem</key> + <string>$(2215EC80-9153-4CFD-90D3-743ED401847B)</string> + <key>numberLocation</key> + <integer>0</integer> + <key>numberSeparator</key> + <integer>0</integer> + <key>renameItems</key> + <integer>0</integer> + <key>renameType</key> + <integer>5</integer> + <key>replaceWithText</key> + <string></string> + <key>singleItemOption</key> + <integer>0</integer> + <key>startingNumber</key> + <integer>1</integer> + <key>textInput</key> + <string></string> + <key>textToFind</key> + <string></string> + <key>useLeadingZeros</key> + <false/> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.AddNumbersToFinderNames</string> + <key>CFBundleVersion</key> + <string>1.3.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryFilesAndFolders</string> + </array> + <key>Class Name</key> + <string>AMRenameFinderItemsAction</string> + <key>InputUUID</key> + <string>82677E0C-0DF7-4D36-A7A8-8B6E5F8C58E3</string> + <key>Keywords</key> + <array> + <string>Name</string> + <string>File</string> + <string>Folder</string> + <string>Add</string> + <string>Number</string> + <string>Change</string> + <string>Case</string> + <string>Rename</string> + <string>Date</string> + <string>Time</string> + <string>Set</string> + <string>Text</string> + <string>Find</string> + <string>Replace</string> + <string>Make</string> + <string>Sequential</string> + </array> + <key>OutputUUID</key> + <string>6D7B9019-A28B-4935-973B-A85D566E0320</string> + <key>UUID</key> + <string>EB1AF866-8010-48FD-8B5E-09048F2BC199</string> + <key>UnlocalizedApplications</key> + <array> + <string>Finder</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>nameDateSeparator</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>textToFind</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>10</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>nameSingleItem</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>10</string> + </dict> + <key>11</key> + <dict> + <key>default value</key> + <true/> + <key>name</key> + <string>ignoreCase</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>11</string> + </dict> + <key>12</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>textInput</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>12</string> + </dict> + <key>13</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>dateToUse</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>13</string> + </dict> + <key>14</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>includeExtensions</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>14</string> + </dict> + <key>15</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>replaceWithText</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>15</string> + </dict> + <key>16</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>renameItems</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>16</string> + </dict> + <key>17</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>defaultName</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>17</string> + </dict> + <key>18</key> + <dict> + <key>default value</key> + <integer>1</integer> + <key>name</key> + <string>startingNumber</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>18</string> + </dict> + <key>19</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>numberSeparator</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>19</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>datePlacement</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>20</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>caseIndicator</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>20</string> + </dict> + <key>21</key> + <dict> + <key>default value</key> + <string>0</string> + <key>name</key> + <string>dateFormat</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>21</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>insertionPosition</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <string>0</string> + <key>name</key> + <string>dateSeparator</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + <key>5</key> + <dict> + <key>default value</key> + <string>2</string> + <key>name</key> + <string>minimumCount</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>5</string> + </dict> + <key>6</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>numberLocation</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>6</string> + </dict> + <key>7</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>useLeadingZeros</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>7</string> + </dict> + <key>8</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>singleItemOption</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>8</string> + </dict> + <key>9</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>renameType</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>9</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>309.000000:1051.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Rename Finder Items.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict> + <key>2FF0E126-DFFF-4309-9966-C112A369C91B</key> + <dict> + <key>from</key> + <string>1F010FA1-0A77-449D-A597-4B8E93F8B9DC - 1F010FA1-0A77-449D-A597-4B8E93F8B9DC</string> + <key>to</key> + <string>5A835114-F540-41C8-8953-3602E7B11C80 - 5A835114-F540-41C8-8953-3602E7B11C80</string> + </dict> + <key>47CF711B-CD4C-459D-B723-C61E239CCE2C</key> + <dict> + <key>from</key> + <string>185E30EC-1011-43DE-8A47-86856A93EBF6 - 185E30EC-1011-43DE-8A47-86856A93EBF6</string> + <key>to</key> + <string>EB1AF866-8010-48FD-8B5E-09048F2BC199 - EB1AF866-8010-48FD-8B5E-09048F2BC199</string> + </dict> + <key>6876DBF1-DF8C-4693-B11C-F96DAF8F83D6</key> + <dict> + <key>from</key> + <string>7E07EB88-BCAA-4404-A11F-82B407544370 - 7E07EB88-BCAA-4404-A11F-82B407544370</string> + <key>to</key> + <string>C5BD11EB-0DFD-4E95-B508-F5DAA7F12177 - C5BD11EB-0DFD-4E95-B508-F5DAA7F12177</string> + </dict> + <key>95EA555F-8A4B-4402-AC22-F6FA0AA67E02</key> + <dict> + <key>from</key> + <string>C5BD11EB-0DFD-4E95-B508-F5DAA7F12177 - C5BD11EB-0DFD-4E95-B508-F5DAA7F12177</string> + <key>to</key> + <string>3D234C07-9E94-4F93-ADB2-B5987859B14A - 3D234C07-9E94-4F93-ADB2-B5987859B14A</string> + </dict> + <key>9CE06E12-DA9C-4B59-B75E-7B6881214C71</key> + <dict> + <key>from</key> + <string>5A835114-F540-41C8-8953-3602E7B11C80 - 5A835114-F540-41C8-8953-3602E7B11C80</string> + <key>to</key> + <string>185E30EC-1011-43DE-8A47-86856A93EBF6 - 185E30EC-1011-43DE-8A47-86856A93EBF6</string> + </dict> + <key>CF1356CB-4D25-42D8-84BF-D0BBA4AF0B3E</key> + <dict> + <key>from</key> + <string>3D234C07-9E94-4F93-ADB2-B5987859B14A - 3D234C07-9E94-4F93-ADB2-B5987859B14A</string> + <key>to</key> + <string>1F010FA1-0A77-449D-A597-4B8E93F8B9DC - 1F010FA1-0A77-449D-A597-4B8E93F8B9DC</string> + </dict> + </dict> + <key>variables</key> + <array> + <dict> + <key>UUID</key> + <string>2215EC80-9153-4CFD-90D3-743ED401847B</string> + <key>identifier</key> + <string>com.apple.Automator.Variable.Storage</string> + <key>name</key> + <string>name</string> + </dict> + <dict> + <key>UUID</key> + <string>CBFEE447-67DA-4B03-9AA1-2A4DF6AFC144</string> + <key>identifier</key> + <string>com.apple.Automator.Variable.Storage</string> + <key>name</key> + <string>file</string> + </dict> + </array> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleIDsByPath</key> + <dict/> + <key>applicationPaths</key> + <array/> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.fileSystemObject.PDF</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>15</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.fileSystemObject.PDF</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSActionTemplate</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Mpvq.workflow/Contents/Info.plist b/mac-automator-services/Mpvq.workflow/Contents/Info.plist @@ -0,0 +1,31 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSActionTemplate</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Mpvq</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSRequiredContext</key> + <dict> + <key>NSTextContent</key> + <string>URL</string> + </dict> + <key>NSSendTypes</key> + <array> + <string>public.utf8-plain-text</string> + </array> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Mpvq.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Mpvq.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Mpvq.workflow/Contents/document.wflow b/mac-automator-services/Mpvq.workflow/Contents/document.wflow @@ -0,0 +1,215 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.42</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>2.0.3</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>COMMAND_STRING</key> + <dict/> + <key>CheckedForUserDefaultShell</key> + <dict/> + <key>inputMethod</key> + <dict/> + <key>shell</key> + <dict/> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run Shell Script.action</string> + <key>ActionName</key> + <string>Run Shell Script</string> + <key>ActionParameters</key> + <dict> + <key>COMMAND_STRING</key> + <string>export DOTFILES=/Users/alex/.dotfiles +. $DOTFILES/shell/paths +mpvq</string> + <key>CheckedForUserDefaultShell</key> + <true/> + <key>inputMethod</key> + <integer>0</integer> + <key>shell</key> + <string>/bin/sh</string> + <key>source</key> + <string></string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.RunShellScript</string> + <key>CFBundleVersion</key> + <string>2.0.3</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunShellScriptAction</string> + <key>InputUUID</key> + <string>CA8AF57D-2D72-4075-9BD9-203F9750DB01</string> + <key>Keywords</key> + <array> + <string>Shell</string> + <string>Script</string> + <string>Command</string> + <string>Run</string> + <string>Unix</string> + </array> + <key>OutputUUID</key> + <string>8EE216EF-5253-40F2-B089-4400CF19CCCB</string> + <key>UUID</key> + <string>3172F48A-7C95-466A-8EB9-88B1F7A835F9</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>inputMethod</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>CheckedForUserDefaultShell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>COMMAND_STRING</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <string>/bin/sh</string> + <key>name</key> + <string>shell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>691.500000:305.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict/> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleIDsByPath</key> + <dict/> + <key>applicationPaths</key> + <array/> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.text.url</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>1</integer> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.text.url</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>1</integer> + <key>systemImageName</key> + <string>NSActionTemplate</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Save with embedded notes.workflow/Contents/Info.plist b/mac-automator-services/Save with embedded notes.workflow/Contents/Info.plist @@ -0,0 +1,27 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSTouchBarCheck</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Save with embedded notes</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSRequiredContext</key> + <dict> + <key>NSApplicationIdentifier</key> + <string>net.sourceforge.skim-app.skim</string> + </dict> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Save with embedded notes.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Save with embedded notes.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Save with embedded notes.workflow/Contents/document.wflow b/mac-automator-services/Save with embedded notes.workflow/Contents/document.wflow @@ -0,0 +1,159 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.42</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.applescript.object</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.applescript.object</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run AppleScript.action</string> + <key>ActionName</key> + <string>Run AppleScript</string> + <key>ActionParameters</key> + <dict> + <key>source</key> + <string>on run {input, parameters} tell application "Skim" set namePDF to name of document 1 set filePath to file of document 1 save document 1 in (POSIX path of filePath) as "PDF With Embedded Notes" end tell end run</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.RunScript</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunScriptAction</string> + <key>InputUUID</key> + <string>79ABE2AB-A719-43A0-BDDE-004BDC3F1C2F</string> + <key>Keywords</key> + <array> + <string>Run</string> + </array> + <key>OutputUUID</key> + <string>5C9DE5BB-C992-4EF9-8A4C-3C129879CD54</string> + <key>UUID</key> + <string>75E3C458-E6FF-4DC4-BE9E-E7183BF85B85</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string>on run {input, parameters} + + (* Your script goes here *) + + return input +end run</string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>696.500000:368.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict/> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleID</key> + <string>net.sourceforge.skim-app.skim</string> + <key>applicationBundleIDsByPath</key> + <dict> + <key>/Applications/Skim.app</key> + <string>net.sourceforge.skim-app.skim</string> + </dict> + <key>applicationPath</key> + <string>/Applications/Skim.app</string> + <key>applicationPaths</key> + <array> + <string>/Applications/Skim.app</string> + </array> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceApplicationBundleID</key> + <string>net.sourceforge.skim-app.skim</string> + <key>serviceApplicationPath</key> + <string>/Applications/Skim.app</string> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSTouchBarCheck</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Toggle Dark Mode.workflow/Contents/Info.plist b/mac-automator-services/Toggle Dark Mode.workflow/Contents/Info.plist @@ -0,0 +1,22 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSTouchBarColorPickerWheel</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Toggle Dark Mode</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Toggle Dark Mode.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Toggle Dark Mode.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Toggle Dark Mode.workflow/Contents/document.wflow b/mac-automator-services/Toggle Dark Mode.workflow/Contents/document.wflow @@ -0,0 +1,213 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.42</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>2.0.3</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>COMMAND_STRING</key> + <dict/> + <key>CheckedForUserDefaultShell</key> + <dict/> + <key>inputMethod</key> + <dict/> + <key>shell</key> + <dict/> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run Shell Script.action</string> + <key>ActionName</key> + <string>Run Shell Script</string> + <key>ActionParameters</key> + <dict> + <key>COMMAND_STRING</key> + <string>/Users/alex/.scripts/set-theme toggle</string> + <key>CheckedForUserDefaultShell</key> + <true/> + <key>inputMethod</key> + <integer>1</integer> + <key>shell</key> + <string>/bin/sh</string> + <key>source</key> + <string></string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.RunShellScript</string> + <key>CFBundleVersion</key> + <string>2.0.3</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunShellScriptAction</string> + <key>InputUUID</key> + <string>6A45B7D7-E316-4EE3-A1EB-6FDBE9BDDC1D</string> + <key>Keywords</key> + <array> + <string>Shell</string> + <string>Script</string> + <string>Command</string> + <string>Run</string> + <string>Unix</string> + </array> + <key>OutputUUID</key> + <string>42D589A7-013A-4A3F-B8CD-E733C12FA270</string> + <key>UUID</key> + <string>59945F3A-8400-4973-9AB8-5884BEAB992D</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>inputMethod</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>CheckedForUserDefaultShell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>COMMAND_STRING</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <string>/bin/sh</string> + <key>name</key> + <string>shell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>696.500000:305.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict/> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleIDsByPath</key> + <dict/> + <key>applicationPaths</key> + <array/> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSTouchBarColorPickerWheel</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Type Clipboard.workflow/Contents/Info.plist b/mac-automator-services/Type Clipboard.workflow/Contents/Info.plist @@ -0,0 +1,22 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSActionTemplate</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Type Clipboard</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Type Clipboard.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Type Clipboard.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Type Clipboard.workflow/Contents/document.wflow b/mac-automator-services/Type Clipboard.workflow/Contents/document.wflow @@ -0,0 +1,146 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.42</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.applescript.object</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.applescript.object</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run AppleScript.action</string> + <key>ActionName</key> + <string>Run AppleScript</string> + <key>ActionParameters</key> + <dict> + <key>source</key> + <string>on run {input, parameters} tell applicatio»n "System Events" to keystroke (get the clipboard as text) end run</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.RunScript</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunScriptAction</string> + <key>InputUUID</key> + <string>CEC82D7E-20CE-497C-83CB-8CF87B154FA3</string> + <key>Keywords</key> + <array> + <string>Run</string> + </array> + <key>OutputUUID</key> + <string>44DF727C-3526-4434-934D-6786961F8C22</string> + <key>UUID</key> + <string>7B4529CB-16D5-4F9B-8052-8A79B9475CA4</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string>on run {input, parameters} + + (* Your script goes here *) + + return input +end run</string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>696.500000:368.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict/> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleIDsByPath</key> + <dict/> + <key>applicationPaths</key> + <array/> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>0</integer> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>0</integer> + <key>systemImageName</key> + <string>NSActionTemplate</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist> diff --git a/mac-automator-services/Youtube-dl.workflow/Contents/Info.plist b/mac-automator-services/Youtube-dl.workflow/Contents/Info.plist @@ -0,0 +1,31 @@ +<?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"> +<dict> + <key>NSServices</key> + <array> + <dict> + <key>NSBackgroundColorName</key> + <string>background</string> + <key>NSIconName</key> + <string>NSTouchBarTransferDownload</string> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Youtube-dl</string> + </dict> + <key>NSMessage</key> + <string>runWorkflowAsService</string> + <key>NSRequiredContext</key> + <dict> + <key>NSTextContent</key> + <string>URL</string> + </dict> + <key>NSSendTypes</key> + <array> + <string>public.utf8-plain-text</string> + </array> + </dict> + </array> +</dict> +</plist> diff --git a/mac-automator-services/Youtube-dl.workflow/Contents/QuickLook/Preview.png b/mac-automator-services/Youtube-dl.workflow/Contents/QuickLook/Preview.png Binary files differ. diff --git a/mac-automator-services/Youtube-dl.workflow/Contents/QuickLook/Thumbnail.png b/mac-automator-services/Youtube-dl.workflow/Contents/QuickLook/Thumbnail.png Binary files differ. diff --git a/mac-automator-services/Youtube-dl.workflow/Contents/document.wflow b/mac-automator-services/Youtube-dl.workflow/Contents/document.wflow @@ -0,0 +1,745 @@ +<?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"> +<dict> + <key>AMApplicationBuild</key> + <string>444.42</string> + <key>AMApplicationVersion</key> + <string>2.9</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>variableUUID</key> + <dict> + <key>isPathPopUp</key> + <false/> + <key>selectedVariableUUID</key> + <string>F8791A24-DD96-4B30-A9ED-18E59048B2C4</string> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Set Value of Variable.action</string> + <key>ActionName</key> + <string>Set Value of Variable</string> + <key>ActionParameters</key> + <dict> + <key>variableUUID</key> + <string>F8791A24-DD96-4B30-A9ED-18E59048B2C4</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.SetValueofVariable</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>Set_Value_of_Variable</string> + <key>InputUUID</key> + <string>7AB38168-A9F0-48AF-99CD-ABE3F0F25F79</string> + <key>Keywords</key> + <array> + <string>variable</string> + <string>binding</string> + <string>input</string> + <string>output</string> + <string>storage</string> + </array> + <key>OutputUUID</key> + <string>B67AC495-3B45-4703-B33E-DF958647F0FC</string> + <key>UUID</key> + <string>9B9C920B-1893-4A4B-8086-094D85FCA4FF</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>variableUUID</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>689.000000:228.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array/> + </dict> + <key>AMActionVersion</key> + <string>v.1.0</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>message</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>$(F8791A24-DD96-4B30-A9ED-18E59048B2C4)</string> + </array> + </dict> + <key>subtitle</key> + <dict> + <key>tokenizedValue</key> + <array/> + </dict> + <key>title</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>Starting download</string> + </array> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array/> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Display Notification.action</string> + <key>ActionName</key> + <string>Display Notification</string> + <key>ActionParameters</key> + <dict> + <key>message</key> + <string>$(F8791A24-DD96-4B30-A9ED-18E59048B2C4)</string> + <key>subtitle</key> + <string></string> + <key>title</key> + <string>Starting download</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.Display-Notification</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <false/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>AMDisplayNotificationAction</string> + <key>InputUUID</key> + <string>ADD977C8-C4D3-4B48-B26A-207E9B4E0A53</string> + <key>Keywords</key> + <array/> + <key>OutputUUID</key> + <string>E00965A0-9051-4750-97C5-E5BCC8F8BF3A</string> + <key>UUID</key> + <string>55D09FEE-A4D7-43D7-8A98-A69E31AEBFD7</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>subtitle</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>title</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>message</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>689.000000:417.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Display Notification.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.1.0.2</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>variableUUID</key> + <dict> + <key>isPathPopUp</key> + <false/> + <key>selectedVariableUUID</key> + <string>F8791A24-DD96-4B30-A9ED-18E59048B2C4</string> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>*</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Get Value of Variable.action</string> + <key>ActionName</key> + <string>Get Value of Variable</string> + <key>ActionParameters</key> + <dict> + <key>variableUUID</key> + <string>F8791A24-DD96-4B30-A9ED-18E59048B2C4</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.GetValueofVariable</string> + <key>CFBundleVersion</key> + <string>1.0.2</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>Get_Value_of_Variable</string> + <key>InputUUID</key> + <string>8DB09325-65DF-44D9-8D22-299FD2F1A2FA</string> + <key>Keywords</key> + <array> + <string>variable</string> + <string>binding</string> + <string>input</string> + <string>output</string> + <string>storage</string> + </array> + <key>OutputUUID</key> + <string>18B49802-1CFF-4CBE-8379-7FEC8AB0E221</string> + <key>UUID</key> + <string>2CDA64D0-75F2-4115-9CE5-7C2FBD28EDB9</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>variableUUID</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>689.000000:519.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>2.0.3</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>COMMAND_STRING</key> + <dict/> + <key>CheckedForUserDefaultShell</key> + <dict/> + <key>inputMethod</key> + <dict/> + <key>shell</key> + <dict/> + <key>source</key> + <dict/> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Run Shell Script.action</string> + <key>ActionName</key> + <string>Run Shell Script</string> + <key>ActionParameters</key> + <dict> + <key>COMMAND_STRING</key> + <string>/usr/local/bin/youtube-dl --output '~/Downloads/%(title)s.%(ext)s' "$1"</string> + <key>CheckedForUserDefaultShell</key> + <true/> + <key>inputMethod</key> + <integer>1</integer> + <key>shell</key> + <string>/bin/sh</string> + <key>source</key> + <string></string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.RunShellScript</string> + <key>CFBundleVersion</key> + <string>2.0.3</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>RunShellScriptAction</string> + <key>InputUUID</key> + <string>5C02B575-78B8-46F8-A338-BF5515B879A5</string> + <key>Keywords</key> + <array> + <string>Shell</string> + <string>Script</string> + <string>Command</string> + <string>Run</string> + <string>Unix</string> + </array> + <key>OutputUUID</key> + <string>4BA81F28-7AC2-48A0-AD50-79951B3DA229</string> + <key>UUID</key> + <string>3E138C4D-D784-47FF-B47B-195386F18F9D</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <integer>0</integer> + <key>name</key> + <string>inputMethod</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>source</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>CheckedForUserDefaultShell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + <key>3</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>COMMAND_STRING</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>3</string> + </dict> + <key>4</key> + <dict> + <key>default value</key> + <string>/bin/sh</string> + <key>name</key> + <string>shell</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>4</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>689.000000:701.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array/> + </dict> + <key>AMActionVersion</key> + <string>v.1.0</string> + <key>AMApplication</key> + <array> + <string>Automator</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>message</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>$(F8791A24-DD96-4B30-A9ED-18E59048B2C4)</string> + </array> + </dict> + <key>subtitle</key> + <dict> + <key>tokenizedValue</key> + <array/> + </dict> + <key>title</key> + <dict> + <key>tokenizedValue</key> + <array> + <string>Downloaded</string> + </array> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array/> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Display Notification.action</string> + <key>ActionName</key> + <string>Display Notification</string> + <key>ActionParameters</key> + <dict> + <key>message</key> + <string>$(F8791A24-DD96-4B30-A9ED-18E59048B2C4)</string> + <key>subtitle</key> + <string></string> + <key>title</key> + <string>Downloaded</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.Display-Notification</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <false/> + <key>Category</key> + <array> + <string>AMCategoryUtilities</string> + </array> + <key>Class Name</key> + <string>AMDisplayNotificationAction</string> + <key>InputUUID</key> + <string>CD536E28-4D27-4418-9541-ABC1681ADE42</string> + <key>Keywords</key> + <array/> + <key>OutputUUID</key> + <string>74172C10-C9EB-4F81-90C7-3831B2E83CDA</string> + <key>UUID</key> + <string>797552E7-D8C2-49D5-88C6-8D2E1794921E</string> + <key>UnlocalizedApplications</key> + <array> + <string>Automator</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>subtitle</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>title</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>message</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + </dict> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>689.000000:890.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Display Notification.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict> + <key>79FC48BD-D2AF-4A48-8CDB-517F58E0B187</key> + <dict> + <key>from</key> + <string>2CDA64D0-75F2-4115-9CE5-7C2FBD28EDB9 - 2CDA64D0-75F2-4115-9CE5-7C2FBD28EDB9</string> + <key>to</key> + <string>3E138C4D-D784-47FF-B47B-195386F18F9D - 3E138C4D-D784-47FF-B47B-195386F18F9D</string> + </dict> + <key>CD26DFFE-70CA-4508-BB63-E2E9D645ECBC</key> + <dict> + <key>from</key> + <string>55D09FEE-A4D7-43D7-8A98-A69E31AEBFD7 - 55D09FEE-A4D7-43D7-8A98-A69E31AEBFD7</string> + <key>to</key> + <string>2CDA64D0-75F2-4115-9CE5-7C2FBD28EDB9 - 2CDA64D0-75F2-4115-9CE5-7C2FBD28EDB9</string> + </dict> + <key>D28EEE9F-C9E4-4E63-A65D-29226AC28274</key> + <dict> + <key>from</key> + <string>9B9C920B-1893-4A4B-8086-094D85FCA4FF - 9B9C920B-1893-4A4B-8086-094D85FCA4FF</string> + <key>to</key> + <string>55D09FEE-A4D7-43D7-8A98-A69E31AEBFD7 - 55D09FEE-A4D7-43D7-8A98-A69E31AEBFD7</string> + </dict> + <key>E6C8B1C5-D148-4B9F-A521-F8C496C8D486</key> + <dict> + <key>from</key> + <string>3E138C4D-D784-47FF-B47B-195386F18F9D - 3E138C4D-D784-47FF-B47B-195386F18F9D</string> + <key>to</key> + <string>797552E7-D8C2-49D5-88C6-8D2E1794921E - 797552E7-D8C2-49D5-88C6-8D2E1794921E</string> + </dict> + </dict> + <key>variables</key> + <array> + <dict> + <key>UUID</key> + <string>F8791A24-DD96-4B30-A9ED-18E59048B2C4</string> + <key>identifier</key> + <string>com.apple.Automator.Variable.Storage</string> + <key>name</key> + <string>url</string> + </dict> + </array> + <key>workflowMetaData</key> + <dict> + <key>applicationBundleIDsByPath</key> + <dict/> + <key>applicationPaths</key> + <array/> + <key>inputTypeIdentifier</key> + <string>com.apple.Automator.text.url</string> + <key>outputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>presentationMode</key> + <integer>11</integer> + <key>processesInput</key> + <integer>1</integer> + <key>serviceInputTypeIdentifier</key> + <string>com.apple.Automator.text.url</string> + <key>serviceOutputTypeIdentifier</key> + <string>com.apple.Automator.nothing</string> + <key>serviceProcessesInput</key> + <integer>1</integer> + <key>systemImageName</key> + <string>NSTouchBarTransferDownload</string> + <key>useAutomaticInputType</key> + <integer>0</integer> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.servicesMenu</string> + </dict> +</dict> +</plist>