Skip to content

Instantly share code, notes, and snippets.

@palaniraja
Created June 24, 2019 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palaniraja/67c249c5592f77eefb77f1684b43adcd to your computer and use it in GitHub Desktop.
Save palaniraja/67c249c5592f77eefb77f1684b43adcd to your computer and use it in GitHub Desktop.
PDF to PNG - OSX Automator - Finder workflow
<?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>com.apple.applescript.alias-object.pdf</string>
</array>
</dict>
<key>AMActionVersion</key>
<string>589.12</string>
<key>AMApplication</key>
<array>
<string>PDF</string>
</array>
<key>AMParameterProperties</key>
<dict>
<key>colorModel</key>
<dict/>
<key>compression</key>
<dict/>
<key>imageFormat</key>
<dict/>
<key>resolution</key>
<dict/>
</dict>
<key>AMProvides</key>
<dict>
<key>Container</key>
<string>List</string>
<key>Types</key>
<array>
<string>com.apple.applescript.alias-object.image</string>
</array>
</dict>
<key>ActionBundlePath</key>
<string>/System/Library/Automator/Render PDF Pages as Images.action</string>
<key>ActionName</key>
<string>Render PDF Pages as Images</string>
<key>ActionParameters</key>
<dict>
<key>colorModel</key>
<integer>0</integer>
<key>compression</key>
<real>0.5</real>
<key>imageFormat</key>
<string>public.png</string>
<key>resolution</key>
<integer>200</integer>
</dict>
<key>BundleIdentifier</key>
<string>com.apple.action.imagepdf</string>
<key>CFBundleVersion</key>
<string>589.12</string>
<key>CanShowSelectedItemsWhenRun</key>
<false/>
<key>CanShowWhenRun</key>
<true/>
<key>Category</key>
<array>
<string>AMCategoryPDFs</string>
</array>
<key>Class Name</key>
<string>ImagePDFAction</string>
<key>InputUUID</key>
<string>2FBCE063-3830-44ED-A3FB-03067017C53A</string>
<key>Keywords</key>
<array>
<string>Print</string>
<string>Render</string>
</array>
<key>OutputUUID</key>
<string>E65D3289-BD42-4DDE-89DE-D41007E33273</string>
<key>UUID</key>
<string>F73F7758-E3B1-4450-8405-6D33D88441E1</string>
<key>UnlocalizedApplications</key>
<array>
<string>PDF</string>
</array>
<key>arguments</key>
<dict>
<key>0</key>
<dict>
<key>default value</key>
<real>0.5</real>
<key>name</key>
<string>compression</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>public.jpeg</string>
<key>name</key>
<string>imageFormat</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>
<integer>200</integer>
<key>name</key>
<string>resolution</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>colorModel</string>
<key>required</key>
<string>0</string>
<key>type</key>
<string>0</string>
<key>uuid</key>
<string>3</string>
</dict>
</dict>
<key>conversionLabel</key>
<integer>0</integer>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>309.000000:323.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Render PDF Pages as Images.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>
<true/>
<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>D121C43F-3B47-4B11-BF94-4D4DDFFDEFA3</string>
<key>Keywords</key>
<array>
<string>File</string>
<string>Move</string>
</array>
<key>OutputUUID</key>
<string>A484BD76-EB72-4656-9302-18934AA90EC5</string>
<key>UUID</key>
<string>E25213D0-1C3C-40B1-A4C7-8259B852B2D1</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:425.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>
<true/>
<key>Types</key>
<array/>
</dict>
<key>AMActionVersion</key>
<string>1.0</string>
<key>AMApplication</key>
<array>
<string>Automator</string>
</array>
<key>AMParameterProperties</key>
<dict>
<key>message</key>
<dict/>
<key>subtitle</key>
<dict>
<key>tokenizedValue</key>
<array>
<string>PNG files are saved in Desktop</string>
</array>
</dict>
<key>title</key>
<dict>
<key>tokenizedValue</key>
<array>
<string>Success</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></string>
<key>subtitle</key>
<string></string>
<key>title</key>
<string>Success</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>5CF3EBD0-CBB3-4CED-AAEA-C838B82A7C68</string>
<key>Keywords</key>
<array/>
<key>OutputUUID</key>
<string>57C58102-5324-48AF-BB61-C078628E766F</string>
<key>UUID</key>
<string>E79747F0-74AB-4BDC-99C9-2EEC6B569907</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>conversionLabel</key>
<integer>0</integer>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>309.000000:614.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>25F11AF5-8BC2-4115-94DF-17F30446BAAF</key>
<dict>
<key>from</key>
<string>F73F7758-E3B1-4450-8405-6D33D88441E1 - F73F7758-E3B1-4450-8405-6D33D88441E1</string>
<key>to</key>
<string>E25213D0-1C3C-40B1-A4C7-8259B852B2D1 - E25213D0-1C3C-40B1-A4C7-8259B852B2D1</string>
</dict>
<key>38469E6D-D674-4A70-8366-8FEC0ED64CEB</key>
<dict>
<key>from</key>
<string>E25213D0-1C3C-40B1-A4C7-8259B852B2D1 - E25213D0-1C3C-40B1-A4C7-8259B852B2D1</string>
<key>to</key>
<string>E79747F0-74AB-4BDC-99C9-2EEC6B569907 - E79747F0-74AB-4BDC-99C9-2EEC6B569907</string>
</dict>
</dict>
<key>workflowMetaData</key>
<dict>
<key>applicationBundleID</key>
<string>com.apple.finder</string>
<key>applicationBundleIDsByPath</key>
<dict>
<key>/System/Library/CoreServices/Finder.app</key>
<string>com.apple.finder</string>
</dict>
<key>applicationPath</key>
<string>/System/Library/CoreServices/Finder.app</string>
<key>applicationPaths</key>
<array>
<string>/System/Library/CoreServices/Finder.app</string>
</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>serviceApplicationBundleID</key>
<string>com.apple.finder</string>
<key>serviceApplicationPath</key>
<string>/System/Library/CoreServices/Finder.app</string>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment