├── .bin ├── README.md ├── optipng ├── pngcrush └── update.sh ├── .github └── FUNDING.yml ├── Add @2x Suffix.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Add @3x Suffix.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Compress Images.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Convert .ass to .srt.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Convert Image Format.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Convert Selected Text to Audio File.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Convert WebP to PNG.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ ├── Preview.png │ └── Thumbnail.png │ └── document.wflow ├── Copy & Add @2x Suffix.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Copy & Add @3x Suffix.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Create .icns.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Create @2x Image.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Create @3x Image.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Create App Iconset.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Preview.png │ └── document.wflow ├── Create DMG Image.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Create favicon.ico (multi-resource).workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ ├── Preview.png │ └── Thumbnail.png │ └── document.wflow ├── Create favicon.ico.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ ├── Preview.png │ └── Thumbnail.png │ └── document.wflow ├── Encode Selected Files using Base64.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── LICENSE ├── Open with rmate.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── README.md ├── Remove @2x Suffix.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Remove @3x Suffix.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Rename Selected Files.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow ├── Resize Image for WordPress.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ ├── Preview.png │ └── Thumbnail.png │ └── document.wflow ├── Resize Images.workflow └── Contents │ ├── Info.plist │ ├── QuickLook │ └── Thumbnail.png │ └── document.wflow └── Unpack .icns.workflow └── Contents ├── Info.plist ├── QuickLook └── Thumbnail.png └── document.wflow /.bin/README.md: -------------------------------------------------------------------------------- 1 | # Bundled Binaries 2 | 3 | ## Update 4 | 5 | ```shell 6 | bash .bin/update.sh 7 | ``` 8 | -------------------------------------------------------------------------------- /.bin/optipng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/.bin/optipng -------------------------------------------------------------------------------- /.bin/pngcrush: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/.bin/pngcrush -------------------------------------------------------------------------------- /.bin/update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | brew install optipng pngcrush 3 | cp -f /usr/local/bin/optipng .bin/optipng 4 | cp -f /usr/local/bin/pngcrush .bin/pngcrush 5 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [sparanoid] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | custom: https://sparanoid.com/donate/ 9 | -------------------------------------------------------------------------------- /Add @2x Suffix.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Add @2x Suffix 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Add @2x Suffix.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Add @2x Suffix.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Add @3x Suffix.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Add @3x Suffix 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Add @3x Suffix.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Add @3x Suffix.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Compress Images.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Compress Images 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Compress Images.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Compress Images.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Compress Images.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.Get_Selected_Finder_Items_2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | 3E5B0774-5855-44EE-A5CC-544ADEB8E958 68 | Keywords 69 | 70 | OutputUUID 71 | 60AE38B8-3550-4F59-9CAD-FD06118580F6 72 | UUID 73 | 373E06E1-FEF9-4E70-9172-4F8ADA9D86BE 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | 439B0192-97F5-4ACF-9602-2454D07F90EB 110 | variableUUIDsInMenu 111 | 112 | 113 | 114 | AMProvides 115 | 116 | Container 117 | List 118 | Types 119 | 120 | * 121 | 122 | 123 | AMRequiredResources 124 | 125 | ActionBundlePath 126 | /System/Library/Automator/Set Value of Variable.action 127 | ActionName 128 | Set Value of Variable 129 | ActionParameters 130 | 131 | variableUUID 132 | 439B0192-97F5-4ACF-9602-2454D07F90EB 133 | 134 | BundleIdentifier 135 | com.apple.Automator.Set_Value_of_Variable 136 | CFBundleVersion 137 | 1.0.2 138 | CanShowSelectedItemsWhenRun 139 | 140 | CanShowWhenRun 141 | 142 | Category 143 | 144 | AMCategoryUtilities 145 | 146 | Class Name 147 | Set_Value_of_Variable 148 | InputUUID 149 | D3FB90A4-3684-4E82-A750-0E59DB5E7EA4 150 | Keywords 151 | 152 | variable 153 | binding 154 | input 155 | output 156 | storage 157 | 158 | OutputUUID 159 | 558B8E96-2944-4454-A1E3-33F3874F0A6D 160 | UUID 161 | 182A2489-E9F1-46BF-AC39-72829EF82D8C 162 | UnlocalizedApplications 163 | 164 | Automator 165 | 166 | arguments 167 | 168 | 0 169 | 170 | default value 171 | 172 | name 173 | variableUUID 174 | required 175 | 0 176 | type 177 | 0 178 | uuid 179 | 0 180 | 181 | 182 | isViewVisible 183 | 184 | location 185 | 239.500000:154.000000 186 | nibPath 187 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 188 | 189 | isViewVisible 190 | 191 | 192 | 193 | action 194 | 195 | AMAccepts 196 | 197 | Container 198 | List 199 | Optional 200 | 201 | Types 202 | 203 | * 204 | 205 | 206 | AMActionVersion 207 | v.1.0.2 208 | AMApplication 209 | 210 | Automator 211 | 212 | AMParameterProperties 213 | 214 | variableUUID 215 | 216 | isPathPopUp 217 | 218 | selectedVariableUUID 219 | 439B0192-97F5-4ACF-9602-2454D07F90EB 220 | variableUUIDsInMenu 221 | 222 | 223 | 224 | AMProvides 225 | 226 | Container 227 | List 228 | Types 229 | 230 | * 231 | 232 | 233 | AMRequiredResources 234 | 235 | ActionBundlePath 236 | /System/Library/Automator/Get Value of Variable.action 237 | ActionName 238 | Get Value of Variable 239 | ActionParameters 240 | 241 | variableUUID 242 | 439B0192-97F5-4ACF-9602-2454D07F90EB 243 | 244 | BundleIdentifier 245 | com.apple.Automator.Get_Value_of_Variable 246 | CFBundleVersion 247 | 1.0.2 248 | CanShowSelectedItemsWhenRun 249 | 250 | CanShowWhenRun 251 | 252 | Category 253 | 254 | AMCategoryUtilities 255 | 256 | Class Name 257 | Get_Value_of_Variable 258 | IgnoresInput 259 | 260 | InputUUID 261 | 8FA3AE09-A8C9-4FFB-9198-5B78FAEC0C05 262 | Keywords 263 | 264 | variable 265 | binding 266 | input 267 | output 268 | storage 269 | 270 | OutputUUID 271 | EFBF9EC4-CB82-4EBC-9A1C-636689FABF27 272 | UUID 273 | A11D77B6-4B2D-4990-9AFB-6E0BBC145375 274 | UnlocalizedApplications 275 | 276 | Automator 277 | 278 | arguments 279 | 280 | 0 281 | 282 | default value 283 | 284 | name 285 | variableUUID 286 | required 287 | 0 288 | type 289 | 0 290 | uuid 291 | 0 292 | 293 | 294 | isViewVisible 295 | 296 | location 297 | 239.500000:196.000000 298 | nibPath 299 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 300 | 301 | isViewVisible 302 | 303 | 304 | 305 | action 306 | 307 | AMAccepts 308 | 309 | Container 310 | List 311 | Optional 312 | 313 | Types 314 | 315 | com.apple.cocoa.string 316 | 317 | 318 | AMActionVersion 319 | 2.0.3 320 | AMApplication 321 | 322 | Automator 323 | 324 | AMParameterProperties 325 | 326 | COMMAND_STRING 327 | 328 | CheckedForUserDefaultShell 329 | 330 | inputMethod 331 | 332 | shell 333 | 334 | source 335 | 336 | 337 | AMProvides 338 | 339 | Container 340 | List 341 | Types 342 | 343 | com.apple.cocoa.string 344 | 345 | 346 | ActionBundlePath 347 | /System/Library/Automator/Run Shell Script.action 348 | ActionName 349 | Run Shell Script 350 | ActionParameters 351 | 352 | COMMAND_STRING 353 | export PATH=/usr/local/bin:/usr/local/sbin:$PATH 354 | 355 | BIN_PATH=~/Library/Services/.bin 356 | 357 | for f in "$@"; do 358 | if [ -d $f ]; then 359 | echo "TODO: nothing to compress now!" 360 | elif [[ $f == *.png ]]; then 361 | if hash optipng 2>/dev/null; then 362 | optipng -o7 "$f" 363 | else 364 | $BIN_PATH/optipng -o7 "$f" 365 | fi 366 | if hash pngcrush 2>/dev/null; then 367 | pngcrush -brute -reduce -ow "$f" 368 | else 369 | $BIN_PATH/pngcrush -brute -reduce -ow "$f" 370 | fi 371 | elif [[ $f == *.jpg ]]; then 372 | if hash jpegoptim 2>/dev/null; then 373 | jpegoptim "$f" --strip-all --force --all-progressive 374 | else 375 | echo "No jpegoptim installed, skipped." 376 | fi 377 | elif [[ $f == *.svg ]]; then 378 | if hash svgo 2>/dev/null; then 379 | svgo "$f" 380 | else 381 | echo "No SVGO installed, skipped." 382 | fi 383 | else 384 | echo "TODO: nothing to compress now!" 385 | fi 386 | done; 387 | 388 | CheckedForUserDefaultShell 389 | 390 | inputMethod 391 | 1 392 | shell 393 | /bin/bash 394 | source 395 | 396 | 397 | BundleIdentifier 398 | com.apple.RunShellScript 399 | CFBundleVersion 400 | 2.0.3 401 | CanShowSelectedItemsWhenRun 402 | 403 | CanShowWhenRun 404 | 405 | Category 406 | 407 | AMCategoryUtilities 408 | 409 | Class Name 410 | RunShellScriptAction 411 | InputUUID 412 | 5EEA3E62-AFE5-4276-A778-C091942C6B78 413 | Keywords 414 | 415 | Shell 416 | Script 417 | Command 418 | Run 419 | Unix 420 | 421 | OutputUUID 422 | 4B3FD597-9C55-4133-A905-DFA4C811F6B1 423 | ShowWhenRun 424 | 425 | UUID 426 | CFB0951C-1076-4028-92A0-490967D87A87 427 | UnlocalizedApplications 428 | 429 | Automator 430 | 431 | arguments 432 | 433 | 0 434 | 435 | default value 436 | 0 437 | name 438 | inputMethod 439 | required 440 | 0 441 | type 442 | 0 443 | uuid 444 | 0 445 | 446 | 1 447 | 448 | default value 449 | 450 | name 451 | source 452 | required 453 | 0 454 | type 455 | 0 456 | uuid 457 | 1 458 | 459 | 2 460 | 461 | default value 462 | 463 | name 464 | CheckedForUserDefaultShell 465 | required 466 | 0 467 | type 468 | 0 469 | uuid 470 | 2 471 | 472 | 3 473 | 474 | default value 475 | 476 | name 477 | COMMAND_STRING 478 | required 479 | 0 480 | type 481 | 0 482 | uuid 483 | 3 484 | 485 | 4 486 | 487 | default value 488 | /bin/sh 489 | name 490 | shell 491 | required 492 | 0 493 | type 494 | 0 495 | uuid 496 | 4 497 | 498 | 499 | isViewVisible 500 | 501 | location 502 | 239.500000:238.000000 503 | nibPath 504 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib 505 | 506 | isViewVisible 507 | 508 | 509 | 510 | connectors 511 | 512 | 81F1725E-5D8F-4DB2-938F-F4F4B4810CB0 513 | 514 | from 515 | A11D77B6-4B2D-4990-9AFB-6E0BBC145375 - A11D77B6-4B2D-4990-9AFB-6E0BBC145375 516 | to 517 | CFB0951C-1076-4028-92A0-490967D87A87 - CFB0951C-1076-4028-92A0-490967D87A87 518 | 519 | B7BE26CB-AD13-41C0-8407-F762E18B7BB2 520 | 521 | from 522 | 373E06E1-FEF9-4E70-9172-4F8ADA9D86BE - 373E06E1-FEF9-4E70-9172-4F8ADA9D86BE 523 | to 524 | 182A2489-E9F1-46BF-AC39-72829EF82D8C - 182A2489-E9F1-46BF-AC39-72829EF82D8C 525 | 526 | CBD81BC4-F2E6-4873-9A88-AE4A84F200ED 527 | 528 | from 529 | 182A2489-E9F1-46BF-AC39-72829EF82D8C - 182A2489-E9F1-46BF-AC39-72829EF82D8C 530 | to 531 | A11D77B6-4B2D-4990-9AFB-6E0BBC145375 - A11D77B6-4B2D-4990-9AFB-6E0BBC145375 532 | 533 | 534 | variables 535 | 536 | 537 | UUID 538 | 439B0192-97F5-4ACF-9602-2454D07F90EB 539 | identifier 540 | com.apple.Automator.Variable.Storage 541 | name 542 | TargetFile 543 | 544 | 545 | workflowMetaData 546 | 547 | serviceApplicationBundleID 548 | com.apple.finder 549 | serviceApplicationPath 550 | /System/Library/CoreServices/Finder.app 551 | serviceInputTypeIdentifier 552 | com.apple.Automator.fileSystemObject.image 553 | serviceOutputTypeIdentifier 554 | com.apple.Automator.nothing 555 | serviceProcessesInput 556 | 0 557 | workflowTypeIdentifier 558 | com.apple.Automator.servicesMenu 559 | 560 | 561 | 562 | -------------------------------------------------------------------------------- /Convert .ass to .srt.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Convert .ass to .srt 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.item 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Convert .ass to .srt.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Convert .ass to .srt.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Convert .ass to .srt.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 417 7 | AMApplicationVersion 8 | 2.6 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.Get_Selected_Finder_Items_2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | 76CFAE45-272F-4421-807A-8135056B81C3 68 | Keywords 69 | 70 | OutputUUID 71 | 1CB1E82F-3647-4791-8F71-845CA19F26DB 72 | UUID 73 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 110 | variableUUIDsInMenu 111 | 112 | 113 | 114 | AMProvides 115 | 116 | Container 117 | List 118 | Types 119 | 120 | * 121 | 122 | 123 | AMRequiredResources 124 | 125 | ActionBundlePath 126 | /System/Library/Automator/Set Value of Variable.action 127 | ActionName 128 | Set Value of Variable 129 | ActionParameters 130 | 131 | variableUUID 132 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 133 | 134 | BundleIdentifier 135 | com.apple.Automator.Set_Value_of_Variable 136 | CFBundleVersion 137 | 1.0.2 138 | CanShowSelectedItemsWhenRun 139 | 140 | CanShowWhenRun 141 | 142 | Category 143 | 144 | AMCategoryUtilities 145 | 146 | Class Name 147 | Set_Value_of_Variable 148 | InputUUID 149 | C6AABAE8-84FA-441A-B154-D3318FB669DF 150 | Keywords 151 | 152 | variable 153 | binding 154 | input 155 | output 156 | storage 157 | 158 | OutputUUID 159 | 7D1201F7-273B-413D-8073-02D7F34C3F6B 160 | UUID 161 | 2A73681A-6F01-4277-9758-E9ECCE043C34 162 | UnlocalizedApplications 163 | 164 | Automator 165 | 166 | arguments 167 | 168 | 0 169 | 170 | default value 171 | 172 | name 173 | variableUUID 174 | required 175 | 0 176 | type 177 | 0 178 | uuid 179 | 0 180 | 181 | 182 | isViewVisible 183 | 184 | location 185 | 328.500000:154.000000 186 | nibPath 187 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 188 | 189 | isViewVisible 190 | 191 | 192 | 193 | action 194 | 195 | AMAccepts 196 | 197 | Container 198 | List 199 | Optional 200 | 201 | Types 202 | 203 | * 204 | 205 | 206 | AMActionVersion 207 | v.1.0.2 208 | AMApplication 209 | 210 | Automator 211 | 212 | AMParameterProperties 213 | 214 | variableUUID 215 | 216 | isPathPopUp 217 | 218 | selectedVariableUUID 219 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 220 | variableUUIDsInMenu 221 | 222 | 223 | 224 | AMProvides 225 | 226 | Container 227 | List 228 | Types 229 | 230 | * 231 | 232 | 233 | AMRequiredResources 234 | 235 | ActionBundlePath 236 | /System/Library/Automator/Get Value of Variable.action 237 | ActionName 238 | Get Value of Variable 239 | ActionParameters 240 | 241 | variableUUID 242 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 243 | 244 | BundleIdentifier 245 | com.apple.Automator.Get_Value_of_Variable 246 | CFBundleVersion 247 | 1.0.2 248 | CanShowSelectedItemsWhenRun 249 | 250 | CanShowWhenRun 251 | 252 | Category 253 | 254 | AMCategoryUtilities 255 | 256 | Class Name 257 | Get_Value_of_Variable 258 | IgnoresInput 259 | 260 | InputUUID 261 | 3FA70E20-E230-4798-875D-017FB94AE0EA 262 | Keywords 263 | 264 | variable 265 | binding 266 | input 267 | output 268 | storage 269 | 270 | OutputUUID 271 | BE4B013A-6A54-4EDE-96B7-9B96BAEFC9C5 272 | UUID 273 | CE53F237-7D04-431C-902F-F1A4EDC360CF 274 | UnlocalizedApplications 275 | 276 | Automator 277 | 278 | arguments 279 | 280 | 0 281 | 282 | default value 283 | 284 | name 285 | variableUUID 286 | required 287 | 0 288 | type 289 | 0 290 | uuid 291 | 0 292 | 293 | 294 | isViewVisible 295 | 296 | location 297 | 328.500000:196.000000 298 | nibPath 299 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 300 | 301 | isViewVisible 302 | 303 | 304 | 305 | action 306 | 307 | AMAccepts 308 | 309 | Container 310 | List 311 | Optional 312 | 313 | Types 314 | 315 | com.apple.cocoa.string 316 | 317 | 318 | AMActionVersion 319 | 2.0.3 320 | AMApplication 321 | 322 | Automator 323 | 324 | AMParameterProperties 325 | 326 | COMMAND_STRING 327 | 328 | CheckedForUserDefaultShell 329 | 330 | inputMethod 331 | 332 | shell 333 | 334 | source 335 | 336 | 337 | AMProvides 338 | 339 | Container 340 | List 341 | Types 342 | 343 | com.apple.cocoa.string 344 | 345 | 346 | ActionBundlePath 347 | /System/Library/Automator/Run Shell Script.action 348 | ActionName 349 | Run Shell Script 350 | ActionParameters 351 | 352 | COMMAND_STRING 353 | export PATH=/usr/local/bin:/usr/local/sbin:$PATH 354 | 355 | for f in "$@"; do 356 | 357 | cd "$(dirname "$f")" 358 | 359 | asstosrt --no-effact "$f" 360 | 361 | done; 362 | 363 | CheckedForUserDefaultShell 364 | 365 | inputMethod 366 | 1 367 | shell 368 | /bin/bash 369 | source 370 | 371 | 372 | BundleIdentifier 373 | com.apple.RunShellScript 374 | CFBundleVersion 375 | 2.0.3 376 | CanShowSelectedItemsWhenRun 377 | 378 | CanShowWhenRun 379 | 380 | Category 381 | 382 | AMCategoryUtilities 383 | 384 | Class Name 385 | RunShellScriptAction 386 | InputUUID 387 | 81424856-14BB-41E9-ADCD-3259E565AE98 388 | Keywords 389 | 390 | Shell 391 | Script 392 | Command 393 | Run 394 | Unix 395 | 396 | OutputUUID 397 | 8AE7E7B1-AA6F-4987-B972-DD6E58C85623 398 | UUID 399 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 400 | UnlocalizedApplications 401 | 402 | Automator 403 | 404 | arguments 405 | 406 | 0 407 | 408 | default value 409 | 0 410 | name 411 | inputMethod 412 | required 413 | 0 414 | type 415 | 0 416 | uuid 417 | 0 418 | 419 | 1 420 | 421 | default value 422 | 423 | name 424 | source 425 | required 426 | 0 427 | type 428 | 0 429 | uuid 430 | 1 431 | 432 | 2 433 | 434 | default value 435 | 436 | name 437 | CheckedForUserDefaultShell 438 | required 439 | 0 440 | type 441 | 0 442 | uuid 443 | 2 444 | 445 | 3 446 | 447 | default value 448 | 449 | name 450 | COMMAND_STRING 451 | required 452 | 0 453 | type 454 | 0 455 | uuid 456 | 3 457 | 458 | 4 459 | 460 | default value 461 | /bin/sh 462 | name 463 | shell 464 | required 465 | 0 466 | type 467 | 0 468 | uuid 469 | 4 470 | 471 | 472 | isViewVisible 473 | 474 | location 475 | 328.500000:238.000000 476 | nibPath 477 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib 478 | 479 | isViewVisible 480 | 481 | 482 | 483 | connectors 484 | 485 | 195F7054-D188-460D-8106-D4F0313E5844 486 | 487 | from 488 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 489 | to 490 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 491 | 492 | 250B6EFD-A199-43DC-B6AF-0839BBA6C698 493 | 494 | from 495 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 - 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 496 | to 497 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 498 | 499 | 697D5C6A-D03F-4B02-9B62-2EFB7F2CE559 500 | 501 | from 502 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 503 | to 504 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 - 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 505 | 506 | 507 | variables 508 | 509 | 510 | UUID 511 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 512 | identifier 513 | com.apple.Automator.Variable.Storage 514 | name 515 | TargetFile 516 | 517 | 518 | workflowMetaData 519 | 520 | serviceApplicationBundleID 521 | com.apple.finder 522 | serviceApplicationPath 523 | /System/Library/CoreServices/Finder.app 524 | serviceInputTypeIdentifier 525 | com.apple.Automator.fileSystemObject 526 | serviceOutputTypeIdentifier 527 | com.apple.Automator.nothing 528 | serviceProcessesInput 529 | 0 530 | workflowTypeIdentifier 531 | com.apple.Automator.servicesMenu 532 | 533 | 534 | 535 | -------------------------------------------------------------------------------- /Convert Image Format.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Convert Image Format 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Convert Image Format.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Convert Image Format.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Convert Image Format.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 1.1.1 29 | AMApplication 30 | 31 | Preview 32 | 33 | AMParameterProperties 34 | 35 | imageType 36 | 37 | 38 | AMProvides 39 | 40 | Container 41 | List 42 | Types 43 | 44 | com.apple.cocoa.path 45 | 46 | 47 | ActionBundlePath 48 | /System/Library/Automator/Change Type of Images.action 49 | ActionName 50 | Change Type of Images 51 | ActionParameters 52 | 53 | imageType 54 | JPEG 55 | 56 | BundleIdentifier 57 | com.apple.Automator.ChangeImageType 58 | CFBundleVersion 59 | 1.1.1 60 | CanShowSelectedItemsWhenRun 61 | 62 | CanShowWhenRun 63 | 64 | Category 65 | 66 | AMCategoryPhotos 67 | 68 | Class Name 69 | AMChangeImageTypeAction 70 | InputUUID 71 | 945E4FA1-9BB9-4A01-B35C-92A4A169D4C9 72 | Keywords 73 | 74 | Image 75 | Photo 76 | Change 77 | Convert 78 | Set 79 | 80 | OutputUUID 81 | 215754F2-A6EF-4724-96BB-8D3C1F935673 82 | ShowWhenRun 83 | 84 | UUID 85 | AF982E05-9E52-4208-82BE-AB003C175E7D 86 | UnlocalizedApplications 87 | 88 | Preview 89 | 90 | arguments 91 | 92 | 0 93 | 94 | default value 95 | TIFF 96 | name 97 | imageType 98 | required 99 | 0 100 | type 101 | 0 102 | uuid 103 | 0 104 | 105 | 106 | isViewVisible 107 | 108 | location 109 | 239.500000:112.000000 110 | nibPath 111 | /System/Library/Automator/Change Type of Images.action/Contents/Resources/Base.lproj/main.nib 112 | 113 | isViewVisible 114 | 115 | 116 | 117 | connectors 118 | 119 | workflowMetaData 120 | 121 | serviceApplicationBundleID 122 | com.apple.finder 123 | serviceApplicationPath 124 | /System/Library/CoreServices/Finder.app 125 | serviceInputTypeIdentifier 126 | com.apple.Automator.fileSystemObject.image 127 | serviceOutputTypeIdentifier 128 | com.apple.Automator.nothing 129 | serviceProcessesInput 130 | 0 131 | workflowTypeIdentifier 132 | com.apple.Automator.servicesMenu 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /Convert Selected Text to Audio File.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Convert Selected Text to Audio File 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSSendTypes 16 | 17 | public.utf8-plain-text 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Convert Selected Text to Audio File.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Convert Selected Text to Audio File.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Convert Selected Text to Audio File.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | * 25 | 26 | 27 | AMActionVersion 28 | v.1.0.2 29 | AMApplication 30 | 31 | Automator 32 | 33 | AMParameterProperties 34 | 35 | variableUUID 36 | 37 | isPathPopUp 38 | 39 | selectedVariableUUID 40 | BB1B9C55-03DA-46F9-99F5-BE4C600FC18C 41 | variableUUIDsInMenu 42 | 43 | 44 | 45 | AMProvides 46 | 47 | Container 48 | List 49 | Types 50 | 51 | * 52 | 53 | 54 | AMRequiredResources 55 | 56 | ActionBundlePath 57 | /System/Library/Automator/Set Value of Variable.action 58 | ActionName 59 | Set Value of Variable 60 | ActionParameters 61 | 62 | variableUUID 63 | BB1B9C55-03DA-46F9-99F5-BE4C600FC18C 64 | 65 | BundleIdentifier 66 | com.apple.Automator.Set_Value_of_Variable 67 | CFBundleVersion 68 | 1.0.2 69 | CanShowSelectedItemsWhenRun 70 | 71 | CanShowWhenRun 72 | 73 | Category 74 | 75 | AMCategoryUtilities 76 | 77 | Class Name 78 | Set_Value_of_Variable 79 | InputUUID 80 | 346F2865-95BF-4085-98F3-ACCB706BA1B5 81 | Keywords 82 | 83 | variable 84 | binding 85 | input 86 | output 87 | storage 88 | 89 | OutputUUID 90 | 7E383F70-4481-4FF7-B769-1D1BC8F5E9CD 91 | UUID 92 | 19B0C9D9-B6A5-4D9C-8DDD-2282CF2A3010 93 | UnlocalizedApplications 94 | 95 | Automator 96 | 97 | arguments 98 | 99 | 0 100 | 101 | default value 102 | 103 | name 104 | variableUUID 105 | required 106 | 0 107 | type 108 | 0 109 | uuid 110 | 0 111 | 112 | 113 | isViewVisible 114 | 115 | location 116 | 239.500000:112.000000 117 | nibPath 118 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 119 | 120 | isViewVisible 121 | 122 | 123 | 124 | action 125 | 126 | AMAccepts 127 | 128 | Container 129 | List 130 | Optional 131 | 132 | Types 133 | 134 | * 135 | 136 | 137 | AMActionVersion 138 | v.1.0.2 139 | AMApplication 140 | 141 | Automator 142 | 143 | AMParameterProperties 144 | 145 | variableUUID 146 | 147 | isPathPopUp 148 | 149 | selectedVariableUUID 150 | BB1B9C55-03DA-46F9-99F5-BE4C600FC18C 151 | variableUUIDsInMenu 152 | 153 | 154 | 155 | AMProvides 156 | 157 | Container 158 | List 159 | Types 160 | 161 | * 162 | 163 | 164 | AMRequiredResources 165 | 166 | ActionBundlePath 167 | /System/Library/Automator/Get Value of Variable.action 168 | ActionName 169 | Get Value of Variable 170 | ActionParameters 171 | 172 | variableUUID 173 | BB1B9C55-03DA-46F9-99F5-BE4C600FC18C 174 | 175 | BundleIdentifier 176 | com.apple.Automator.Get_Value_of_Variable 177 | CFBundleVersion 178 | 1.0.2 179 | CanShowSelectedItemsWhenRun 180 | 181 | CanShowWhenRun 182 | 183 | Category 184 | 185 | AMCategoryUtilities 186 | 187 | Class Name 188 | Get_Value_of_Variable 189 | IgnoresInput 190 | 191 | InputUUID 192 | FE4FFD0F-0648-462B-B9D4-B786F7375748 193 | Keywords 194 | 195 | variable 196 | binding 197 | input 198 | output 199 | storage 200 | 201 | OutputUUID 202 | 30C89EF2-1120-4F6A-AA7D-ECAB8CEEC565 203 | UUID 204 | 7E8A1B1B-44AA-438E-B830-861685F13BC0 205 | UnlocalizedApplications 206 | 207 | Automator 208 | 209 | arguments 210 | 211 | 0 212 | 213 | default value 214 | 215 | name 216 | variableUUID 217 | required 218 | 0 219 | type 220 | 0 221 | uuid 222 | 0 223 | 224 | 225 | isViewVisible 226 | 227 | location 228 | 239.500000:154.000000 229 | nibPath 230 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 231 | 232 | isViewVisible 233 | 234 | 235 | 236 | action 237 | 238 | AMAccepts 239 | 240 | Container 241 | List 242 | Optional 243 | 244 | Types 245 | 246 | com.apple.cocoa.string 247 | 248 | 249 | AMActionVersion 250 | 1.1.1 251 | AMApplication 252 | 253 | System 254 | TextEdit 255 | 256 | AMParameterProperties 257 | 258 | chosenVoice 259 | 260 | destinationPath 261 | 262 | isPathPopUp 263 | 264 | variableUUIDsInMenu 265 | 266 | 267 | fileName 268 | 269 | tokenizedValue 270 | 271 | Audio File 272 | 273 | 274 | 275 | AMProvides 276 | 277 | Container 278 | List 279 | Types 280 | 281 | com.apple.cocoa.path 282 | 283 | 284 | ActionBundlePath 285 | /System/Library/Automator/Text to Audio File.action 286 | ActionName 287 | Text to Audio File 288 | ActionParameters 289 | 290 | chosenVoice 291 | Alex 292 | destinationPath 293 | ~/Downloads 294 | fileName 295 | Audio File 296 | 297 | BundleIdentifier 298 | com.apple.Automator.TextToAudioFile 299 | CFBundleVersion 300 | 1.1.1 301 | CanShowSelectedItemsWhenRun 302 | 303 | CanShowWhenRun 304 | 305 | Category 306 | 307 | AMCategoryText 308 | AMCategoryMusic 309 | 310 | Class Name 311 | AMTextToAudioFileAction 312 | InputUUID 313 | DFCA7735-8D4D-409E-8191-243149280811 314 | Keywords 315 | 316 | Text 317 | Audio 318 | Speech 319 | Convert 320 | Create 321 | Make 322 | File 323 | 324 | OutputUUID 325 | 28B7694D-BAD1-48C6-B3CA-2F73C4D1BA33 326 | ShowWhenRun 327 | 328 | UUID 329 | 626D8193-F3E1-4B88-870D-36F04AF5D010 330 | UnlocalizedApplications 331 | 332 | System 333 | TextEdit 334 | 335 | arguments 336 | 337 | 0 338 | 339 | default value 340 | ~/Desktop 341 | name 342 | destinationPath 343 | required 344 | 0 345 | type 346 | 0 347 | uuid 348 | 0 349 | 350 | 1 351 | 352 | default value 353 | 354 | name 355 | chosenVoice 356 | required 357 | 0 358 | type 359 | 0 360 | uuid 361 | 1 362 | 363 | 2 364 | 365 | default value 366 | 367 | name 368 | fileName 369 | required 370 | 0 371 | type 372 | 0 373 | uuid 374 | 2 375 | 376 | 377 | isViewVisible 378 | 379 | location 380 | 239.500000:196.000000 381 | nibPath 382 | /System/Library/Automator/Text to Audio File.action/Contents/Resources/Base.lproj/main.nib 383 | 384 | isViewVisible 385 | 386 | 387 | 388 | connectors 389 | 390 | 8390F1ED-301C-4BB5-872A-2F590CD06197 391 | 392 | from 393 | 7E8A1B1B-44AA-438E-B830-861685F13BC0 - 7E8A1B1B-44AA-438E-B830-861685F13BC0 394 | to 395 | 626D8193-F3E1-4B88-870D-36F04AF5D010 - 626D8193-F3E1-4B88-870D-36F04AF5D010 396 | 397 | 849C3E79-BD5D-41E9-9D07-58C0CB24B89A 398 | 399 | from 400 | 19B0C9D9-B6A5-4D9C-8DDD-2282CF2A3010 - 19B0C9D9-B6A5-4D9C-8DDD-2282CF2A3010 401 | to 402 | 7E8A1B1B-44AA-438E-B830-861685F13BC0 - 7E8A1B1B-44AA-438E-B830-861685F13BC0 403 | 404 | 405 | variables 406 | 407 | 408 | UUID 409 | BB1B9C55-03DA-46F9-99F5-BE4C600FC18C 410 | identifier 411 | com.apple.Automator.Variable.Storage 412 | name 413 | TargetFile 414 | 415 | 416 | UUID 417 | B1159579-4790-4F03-A14D-0EC8B5E27007 418 | identifier 419 | com.apple.Automator.Variable.Storage 420 | name 421 | TargetText 422 | 423 | 424 | workflowMetaData 425 | 426 | serviceInputTypeIdentifier 427 | com.apple.Automator.text 428 | serviceOutputTypeIdentifier 429 | com.apple.Automator.nothing 430 | serviceProcessesInput 431 | 0 432 | workflowTypeIdentifier 433 | com.apple.Automator.servicesMenu 434 | 435 | 436 | 437 | -------------------------------------------------------------------------------- /Convert WebP to PNG.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSBackgroundSystemColorName 11 | blackColor 12 | NSIconName 13 | NSActionTemplate 14 | NSMenuItem 15 | 16 | default 17 | Convert WebP Images 18 | 19 | NSMessage 20 | runWorkflowAsService 21 | NSSendFileTypes 22 | 23 | public.image 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Convert WebP to PNG.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Convert WebP to PNG.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /Convert WebP to PNG.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Convert WebP to PNG.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Convert WebP to PNG.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 490 7 | AMApplicationVersion 8 | 2.10 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.GetSelectedFinderItems2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | 76CFAE45-272F-4421-807A-8135056B81C3 68 | Keywords 69 | 70 | OutputUUID 71 | 1CB1E82F-3647-4791-8F71-845CA19F26DB 72 | UUID 73 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 110 | variableUUIDsInMenu 111 | 112 | 113 | 114 | AMProvides 115 | 116 | Container 117 | List 118 | Types 119 | 120 | * 121 | 122 | 123 | AMRequiredResources 124 | 125 | ActionBundlePath 126 | /System/Library/Automator/Set Value of Variable.action 127 | ActionName 128 | Set Value of Variable 129 | ActionParameters 130 | 131 | variableUUID 132 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 133 | 134 | BundleIdentifier 135 | com.apple.Automator.SetValueofVariable 136 | CFBundleVersion 137 | 1.0.2 138 | CanShowSelectedItemsWhenRun 139 | 140 | CanShowWhenRun 141 | 142 | Category 143 | 144 | AMCategoryUtilities 145 | 146 | Class Name 147 | Set_Value_of_Variable 148 | InputUUID 149 | C6AABAE8-84FA-441A-B154-D3318FB669DF 150 | Keywords 151 | 152 | variable 153 | binding 154 | input 155 | output 156 | storage 157 | 158 | OutputUUID 159 | 7D1201F7-273B-413D-8073-02D7F34C3F6B 160 | UUID 161 | 2A73681A-6F01-4277-9758-E9ECCE043C34 162 | UnlocalizedApplications 163 | 164 | Automator 165 | 166 | arguments 167 | 168 | 0 169 | 170 | default value 171 | 172 | name 173 | variableUUID 174 | required 175 | 0 176 | type 177 | 0 178 | uuid 179 | 0 180 | 181 | 182 | isViewVisible 183 | 184 | location 185 | 292.000000:293.000000 186 | nibPath 187 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 188 | 189 | isViewVisible 190 | 191 | 192 | 193 | action 194 | 195 | AMAccepts 196 | 197 | Container 198 | List 199 | Optional 200 | 201 | Types 202 | 203 | * 204 | 205 | 206 | AMActionVersion 207 | v.1.0.2 208 | AMApplication 209 | 210 | Automator 211 | 212 | AMParameterProperties 213 | 214 | variableUUID 215 | 216 | isPathPopUp 217 | 218 | selectedVariableUUID 219 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 220 | variableUUIDsInMenu 221 | 222 | 223 | 224 | AMProvides 225 | 226 | Container 227 | List 228 | Types 229 | 230 | * 231 | 232 | 233 | AMRequiredResources 234 | 235 | ActionBundlePath 236 | /System/Library/Automator/Get Value of Variable.action 237 | ActionName 238 | Get Value of Variable 239 | ActionParameters 240 | 241 | variableUUID 242 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 243 | 244 | BundleIdentifier 245 | com.apple.Automator.GetValueofVariable 246 | CFBundleVersion 247 | 1.0.2 248 | CanShowSelectedItemsWhenRun 249 | 250 | CanShowWhenRun 251 | 252 | Category 253 | 254 | AMCategoryUtilities 255 | 256 | Class Name 257 | Get_Value_of_Variable 258 | IgnoresInput 259 | 260 | InputUUID 261 | 3FA70E20-E230-4798-875D-017FB94AE0EA 262 | Keywords 263 | 264 | variable 265 | binding 266 | input 267 | output 268 | storage 269 | 270 | OutputUUID 271 | BE4B013A-6A54-4EDE-96B7-9B96BAEFC9C5 272 | UUID 273 | CE53F237-7D04-431C-902F-F1A4EDC360CF 274 | UnlocalizedApplications 275 | 276 | Automator 277 | 278 | arguments 279 | 280 | 0 281 | 282 | default value 283 | 284 | name 285 | variableUUID 286 | required 287 | 0 288 | type 289 | 0 290 | uuid 291 | 0 292 | 293 | 294 | isViewVisible 295 | 296 | location 297 | 292.000000:395.000000 298 | nibPath 299 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 300 | 301 | isViewVisible 302 | 303 | 304 | 305 | action 306 | 307 | AMAccepts 308 | 309 | Container 310 | List 311 | Optional 312 | 313 | Types 314 | 315 | com.apple.cocoa.string 316 | 317 | 318 | AMActionVersion 319 | 2.0.3 320 | AMApplication 321 | 322 | Automator 323 | 324 | AMParameterProperties 325 | 326 | COMMAND_STRING 327 | 328 | CheckedForUserDefaultShell 329 | 330 | inputMethod 331 | 332 | shell 333 | 334 | source 335 | 336 | 337 | AMProvides 338 | 339 | Container 340 | List 341 | Types 342 | 343 | com.apple.cocoa.string 344 | 345 | 346 | ActionBundlePath 347 | /System/Library/Automator/Run Shell Script.action 348 | ActionName 349 | Run Shell Script 350 | ActionParameters 351 | 352 | COMMAND_STRING 353 | export PATH=/usr/local/bin:/usr/local/sbin:$PATH 354 | 355 | for f in "$@"; do 356 | 357 | cd "$(dirname "$f")" 358 | 359 | # https://regex101.com/r/9DGDpu/1 360 | image_name=$(sed -E "s/^.*\/(.*)\..*$/\1/g" <<< $f) 361 | 362 | dwebp "$f" -o "${image_name}.png" 363 | 364 | done; 365 | 366 | CheckedForUserDefaultShell 367 | 368 | inputMethod 369 | 1 370 | shell 371 | /bin/bash 372 | source 373 | 374 | 375 | BundleIdentifier 376 | com.apple.RunShellScript 377 | CFBundleVersion 378 | 2.0.3 379 | CanShowSelectedItemsWhenRun 380 | 381 | CanShowWhenRun 382 | 383 | Category 384 | 385 | AMCategoryUtilities 386 | 387 | Class Name 388 | RunShellScriptAction 389 | InputUUID 390 | 81424856-14BB-41E9-ADCD-3259E565AE98 391 | Keywords 392 | 393 | Shell 394 | Script 395 | Command 396 | Run 397 | Unix 398 | 399 | OutputUUID 400 | 8AE7E7B1-AA6F-4987-B972-DD6E58C85623 401 | UUID 402 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 403 | UnlocalizedApplications 404 | 405 | Automator 406 | 407 | arguments 408 | 409 | 0 410 | 411 | default value 412 | 0 413 | name 414 | inputMethod 415 | required 416 | 0 417 | type 418 | 0 419 | uuid 420 | 0 421 | 422 | 1 423 | 424 | default value 425 | 426 | name 427 | CheckedForUserDefaultShell 428 | required 429 | 0 430 | type 431 | 0 432 | uuid 433 | 1 434 | 435 | 2 436 | 437 | default value 438 | 439 | name 440 | source 441 | required 442 | 0 443 | type 444 | 0 445 | uuid 446 | 2 447 | 448 | 3 449 | 450 | default value 451 | 452 | name 453 | COMMAND_STRING 454 | required 455 | 0 456 | type 457 | 0 458 | uuid 459 | 3 460 | 461 | 4 462 | 463 | default value 464 | /bin/sh 465 | name 466 | shell 467 | required 468 | 0 469 | type 470 | 0 471 | uuid 472 | 4 473 | 474 | 475 | isViewVisible 476 | 477 | location 478 | 292.000000:577.000000 479 | nibPath 480 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib 481 | 482 | isViewVisible 483 | 484 | 485 | 486 | connectors 487 | 488 | 525BA3E2-211D-4AC6-BC9F-052A09C2C99B 489 | 490 | from 491 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 - 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 492 | to 493 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 494 | 495 | DB438BCD-5DD9-4413-A0AA-067CE4E4A014 496 | 497 | from 498 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 499 | to 500 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 501 | 502 | F2FF16DE-8524-41CC-9891-D184AE37CCF1 503 | 504 | from 505 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 506 | to 507 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 - 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 508 | 509 | 510 | variables 511 | 512 | 513 | UUID 514 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 515 | identifier 516 | com.apple.Automator.Variable.Storage 517 | name 518 | TargetFile 519 | 520 | 521 | workflowMetaData 522 | 523 | applicationBundleIDsByPath 524 | 525 | applicationPaths 526 | 527 | backgroundColorName 528 | blackColor 529 | inputTypeIdentifier 530 | com.apple.Automator.fileSystemObject.image 531 | outputTypeIdentifier 532 | com.apple.Automator.nothing 533 | presentationMode 534 | 15 535 | processesInput 536 | 0 537 | serviceInputTypeIdentifier 538 | com.apple.Automator.fileSystemObject.image 539 | serviceOutputTypeIdentifier 540 | com.apple.Automator.nothing 541 | serviceProcessesInput 542 | 0 543 | systemImageName 544 | NSActionTemplate 545 | useAutomaticInputType 546 | 0 547 | workflowTypeIdentifier 548 | com.apple.Automator.servicesMenu 549 | 550 | 551 | 552 | -------------------------------------------------------------------------------- /Copy & Add @2x Suffix.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Copy & Add @2x Suffix 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Copy & Add @2x Suffix.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Copy & Add @2x Suffix.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Copy & Add @3x Suffix.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Copy & Add @3x Suffix 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Copy & Add @3x Suffix.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Copy & Add @3x Suffix.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create .icns.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Create .icns 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.folder 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Create .icns.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create .icns.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create .icns.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.Get_Selected_Finder_Items_2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | E62FEA3E-7E00-4B67-99CE-A780C7A36C2A 68 | Keywords 69 | 70 | OutputUUID 71 | C0F22638-548C-4534-AA22-20B213E1F0D8 72 | UUID 73 | 57255359-7FC2-4021-B573-924607F34971 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 110 | 111 | 112 | AMProvides 113 | 114 | Container 115 | List 116 | Types 117 | 118 | * 119 | 120 | 121 | AMRequiredResources 122 | 123 | ActionBundlePath 124 | /System/Library/Automator/Set Value of Variable.action 125 | ActionName 126 | Set Value of Variable 127 | ActionParameters 128 | 129 | variableUUID 130 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 131 | 132 | BundleIdentifier 133 | com.apple.Automator.Set_Value_of_Variable 134 | CFBundleVersion 135 | 1.0.2 136 | CanShowSelectedItemsWhenRun 137 | 138 | CanShowWhenRun 139 | 140 | Category 141 | 142 | AMCategoryUtilities 143 | 144 | Class Name 145 | Set_Value_of_Variable 146 | InputUUID 147 | B283A899-8B01-4EF2-B8B2-0C769F1AB304 148 | Keywords 149 | 150 | variable 151 | binding 152 | input 153 | output 154 | storage 155 | 156 | OutputUUID 157 | A951AB33-1069-4D21-BC6F-1B36E151F451 158 | UUID 159 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C 160 | UnlocalizedApplications 161 | 162 | Automator 163 | 164 | arguments 165 | 166 | 0 167 | 168 | default value 169 | 170 | name 171 | variableUUID 172 | required 173 | 0 174 | type 175 | 0 176 | uuid 177 | 0 178 | 179 | 180 | isViewVisible 181 | 182 | location 183 | 239.500000:154.000000 184 | nibPath 185 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 186 | 187 | isViewVisible 188 | 189 | 190 | 191 | action 192 | 193 | AMAccepts 194 | 195 | Container 196 | List 197 | Optional 198 | 199 | Types 200 | 201 | * 202 | 203 | 204 | AMActionVersion 205 | v.1.0.2 206 | AMApplication 207 | 208 | Automator 209 | 210 | AMParameterProperties 211 | 212 | variableUUID 213 | 214 | isPathPopUp 215 | 216 | selectedVariableUUID 217 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 218 | 219 | 220 | AMProvides 221 | 222 | Container 223 | List 224 | Types 225 | 226 | * 227 | 228 | 229 | AMRequiredResources 230 | 231 | ActionBundlePath 232 | /System/Library/Automator/Get Value of Variable.action 233 | ActionName 234 | Get Value of Variable 235 | ActionParameters 236 | 237 | variableUUID 238 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 239 | 240 | BundleIdentifier 241 | com.apple.Automator.Get_Value_of_Variable 242 | CFBundleVersion 243 | 1.0.2 244 | CanShowSelectedItemsWhenRun 245 | 246 | CanShowWhenRun 247 | 248 | Category 249 | 250 | AMCategoryUtilities 251 | 252 | Class Name 253 | Get_Value_of_Variable 254 | IgnoresInput 255 | 256 | InputUUID 257 | CEB357CA-98E5-4D02-9AEC-365BB111F0D8 258 | Keywords 259 | 260 | variable 261 | binding 262 | input 263 | output 264 | storage 265 | 266 | OutputUUID 267 | 54F6A1CA-FD3F-4DAB-BD40-AD3AADC4BDDD 268 | UUID 269 | 1607026E-D235-4CBA-844A-CF9A6362BB37 270 | UnlocalizedApplications 271 | 272 | Automator 273 | 274 | arguments 275 | 276 | 0 277 | 278 | default value 279 | 280 | name 281 | variableUUID 282 | required 283 | 0 284 | type 285 | 0 286 | uuid 287 | 0 288 | 289 | 290 | isViewVisible 291 | 292 | location 293 | 239.500000:196.000000 294 | nibPath 295 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 296 | 297 | isViewVisible 298 | 299 | 300 | 301 | action 302 | 303 | AMAccepts 304 | 305 | Container 306 | List 307 | Optional 308 | 309 | Types 310 | 311 | com.apple.cocoa.string 312 | 313 | 314 | AMActionVersion 315 | 2.0.3 316 | AMApplication 317 | 318 | Automator 319 | 320 | AMParameterProperties 321 | 322 | COMMAND_STRING 323 | 324 | CheckedForUserDefaultShell 325 | 326 | inputMethod 327 | 328 | shell 329 | 330 | source 331 | 332 | 333 | AMProvides 334 | 335 | Container 336 | List 337 | Types 338 | 339 | com.apple.cocoa.string 340 | 341 | 342 | ActionBundlePath 343 | /System/Library/Automator/Run Shell Script.action 344 | ActionName 345 | Run Shell Script 346 | ActionParameters 347 | 348 | COMMAND_STRING 349 | iconutil -c icns "$1" 350 | CheckedForUserDefaultShell 351 | 352 | inputMethod 353 | 1 354 | shell 355 | /bin/bash 356 | source 357 | 358 | 359 | BundleIdentifier 360 | com.apple.RunShellScript 361 | CFBundleVersion 362 | 2.0.3 363 | CanShowSelectedItemsWhenRun 364 | 365 | CanShowWhenRun 366 | 367 | Category 368 | 369 | AMCategoryUtilities 370 | 371 | Class Name 372 | RunShellScriptAction 373 | InputUUID 374 | 500D7693-6373-4B8D-8123-6D6AA5B589E7 375 | Keywords 376 | 377 | Shell 378 | Script 379 | Command 380 | Run 381 | Unix 382 | 383 | OutputUUID 384 | 745ADA45-1D23-49D5-99CA-FF9584509DD7 385 | UUID 386 | B9F90851-5A35-48B4-AE10-5715F725506C 387 | UnlocalizedApplications 388 | 389 | Automator 390 | 391 | arguments 392 | 393 | 0 394 | 395 | default value 396 | 0 397 | name 398 | inputMethod 399 | required 400 | 0 401 | type 402 | 0 403 | uuid 404 | 0 405 | 406 | 1 407 | 408 | default value 409 | 410 | name 411 | source 412 | required 413 | 0 414 | type 415 | 0 416 | uuid 417 | 1 418 | 419 | 2 420 | 421 | default value 422 | 423 | name 424 | CheckedForUserDefaultShell 425 | required 426 | 0 427 | type 428 | 0 429 | uuid 430 | 2 431 | 432 | 3 433 | 434 | default value 435 | 436 | name 437 | COMMAND_STRING 438 | required 439 | 0 440 | type 441 | 0 442 | uuid 443 | 3 444 | 445 | 4 446 | 447 | default value 448 | /bin/sh 449 | name 450 | shell 451 | required 452 | 0 453 | type 454 | 0 455 | uuid 456 | 4 457 | 458 | 459 | isViewVisible 460 | 461 | location 462 | 239.500000:238.000000 463 | nibPath 464 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib 465 | 466 | isViewVisible 467 | 468 | 469 | 470 | connectors 471 | 472 | 50F45906-3031-4F87-9254-64AD3A825A0E 473 | 474 | from 475 | 57255359-7FC2-4021-B573-924607F34971 - 57255359-7FC2-4021-B573-924607F34971 476 | to 477 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C - 8C5D1A60-C8D0-4328-9390-AAAB5639899C 478 | 479 | D72DDBF6-4EF4-4008-95CC-0176727B50B8 480 | 481 | from 482 | 1607026E-D235-4CBA-844A-CF9A6362BB37 - 1607026E-D235-4CBA-844A-CF9A6362BB37 483 | to 484 | B9F90851-5A35-48B4-AE10-5715F725506C - B9F90851-5A35-48B4-AE10-5715F725506C 485 | 486 | E36FEB0C-2C07-4665-AD63-DE1EEA7C20A4 487 | 488 | from 489 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C - 8C5D1A60-C8D0-4328-9390-AAAB5639899C 490 | to 491 | 1607026E-D235-4CBA-844A-CF9A6362BB37 - 1607026E-D235-4CBA-844A-CF9A6362BB37 492 | 493 | 494 | variables 495 | 496 | 497 | UUID 498 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 499 | identifier 500 | com.apple.Automator.Variable.Storage 501 | name 502 | IconsetFolder 503 | 504 | 505 | workflowMetaData 506 | 507 | serviceApplicationBundleID 508 | com.apple.finder 509 | serviceApplicationPath 510 | /System/Library/CoreServices/Finder.app 511 | serviceInputTypeIdentifier 512 | com.apple.Automator.fileSystemObject.folder 513 | serviceOutputTypeIdentifier 514 | com.apple.Automator.nothing 515 | serviceProcessesInput 516 | 0 517 | workflowTypeIdentifier 518 | com.apple.Automator.servicesMenu 519 | 520 | 521 | 522 | -------------------------------------------------------------------------------- /Create @2x Image.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Create @2x Image 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Create @2x Image.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create @2x Image.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create @3x Image.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Create @3x Image 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Create @3x Image.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create @3x Image.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create App Iconset.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Create App Iconset 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Create App Iconset.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create App Iconset.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /Create DMG Image.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Create DMG Image 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.folder 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Create DMG Image.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create DMG Image.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create favicon.ico (multi-resource).workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSIconName 11 | NSActionTemplate 12 | NSMenuItem 13 | 14 | default 15 | Create favicon.ico (multi-resource) 16 | 17 | NSMessage 18 | runWorkflowAsService 19 | NSSendFileTypes 20 | 21 | public.image 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Create favicon.ico (multi-resource).workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create favicon.ico (multi-resource).workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /Create favicon.ico (multi-resource).workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create favicon.ico (multi-resource).workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create favicon.ico (multi-resource).workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 444.39 7 | AMApplicationVersion 8 | 2.9 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.GetSelectedFinderItems2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | 76CFAE45-272F-4421-807A-8135056B81C3 68 | Keywords 69 | 70 | OutputUUID 71 | 1CB1E82F-3647-4791-8F71-845CA19F26DB 72 | UUID 73 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 110 | variableUUIDsInMenu 111 | 112 | 113 | 114 | AMProvides 115 | 116 | Container 117 | List 118 | Types 119 | 120 | * 121 | 122 | 123 | AMRequiredResources 124 | 125 | ActionBundlePath 126 | /System/Library/Automator/Set Value of Variable.action 127 | ActionName 128 | Set Value of Variable 129 | ActionParameters 130 | 131 | variableUUID 132 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 133 | 134 | BundleIdentifier 135 | com.apple.Automator.SetValueofVariable 136 | CFBundleVersion 137 | 1.0.2 138 | CanShowSelectedItemsWhenRun 139 | 140 | CanShowWhenRun 141 | 142 | Category 143 | 144 | AMCategoryUtilities 145 | 146 | Class Name 147 | Set_Value_of_Variable 148 | InputUUID 149 | C6AABAE8-84FA-441A-B154-D3318FB669DF 150 | Keywords 151 | 152 | variable 153 | binding 154 | input 155 | output 156 | storage 157 | 158 | OutputUUID 159 | 7D1201F7-273B-413D-8073-02D7F34C3F6B 160 | UUID 161 | 2A73681A-6F01-4277-9758-E9ECCE043C34 162 | UnlocalizedApplications 163 | 164 | Automator 165 | 166 | arguments 167 | 168 | 0 169 | 170 | default value 171 | 172 | name 173 | variableUUID 174 | required 175 | 0 176 | type 177 | 0 178 | uuid 179 | 0 180 | 181 | 182 | isViewVisible 183 | 184 | location 185 | 280.500000:293.000000 186 | nibPath 187 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 188 | 189 | isViewVisible 190 | 191 | 192 | 193 | action 194 | 195 | AMAccepts 196 | 197 | Container 198 | List 199 | Optional 200 | 201 | Types 202 | 203 | * 204 | 205 | 206 | AMActionVersion 207 | v.1.0.2 208 | AMApplication 209 | 210 | Automator 211 | 212 | AMParameterProperties 213 | 214 | variableUUID 215 | 216 | isPathPopUp 217 | 218 | selectedVariableUUID 219 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 220 | variableUUIDsInMenu 221 | 222 | 223 | 224 | AMProvides 225 | 226 | Container 227 | List 228 | Types 229 | 230 | * 231 | 232 | 233 | AMRequiredResources 234 | 235 | ActionBundlePath 236 | /System/Library/Automator/Get Value of Variable.action 237 | ActionName 238 | Get Value of Variable 239 | ActionParameters 240 | 241 | variableUUID 242 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 243 | 244 | BundleIdentifier 245 | com.apple.Automator.GetValueofVariable 246 | CFBundleVersion 247 | 1.0.2 248 | CanShowSelectedItemsWhenRun 249 | 250 | CanShowWhenRun 251 | 252 | Category 253 | 254 | AMCategoryUtilities 255 | 256 | Class Name 257 | Get_Value_of_Variable 258 | IgnoresInput 259 | 260 | InputUUID 261 | 3FA70E20-E230-4798-875D-017FB94AE0EA 262 | Keywords 263 | 264 | variable 265 | binding 266 | input 267 | output 268 | storage 269 | 270 | OutputUUID 271 | BE4B013A-6A54-4EDE-96B7-9B96BAEFC9C5 272 | UUID 273 | CE53F237-7D04-431C-902F-F1A4EDC360CF 274 | UnlocalizedApplications 275 | 276 | Automator 277 | 278 | arguments 279 | 280 | 0 281 | 282 | default value 283 | 284 | name 285 | variableUUID 286 | required 287 | 0 288 | type 289 | 0 290 | uuid 291 | 0 292 | 293 | 294 | isViewVisible 295 | 296 | location 297 | 280.500000:395.000000 298 | nibPath 299 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 300 | 301 | isViewVisible 302 | 303 | 304 | 305 | action 306 | 307 | AMAccepts 308 | 309 | Container 310 | List 311 | Optional 312 | 313 | Types 314 | 315 | com.apple.cocoa.string 316 | 317 | 318 | AMActionVersion 319 | 2.0.3 320 | AMApplication 321 | 322 | Automator 323 | 324 | AMParameterProperties 325 | 326 | COMMAND_STRING 327 | 328 | CheckedForUserDefaultShell 329 | 330 | inputMethod 331 | 332 | shell 333 | 334 | source 335 | 336 | 337 | AMProvides 338 | 339 | Container 340 | List 341 | Types 342 | 343 | com.apple.cocoa.string 344 | 345 | 346 | ActionBundlePath 347 | /System/Library/Automator/Run Shell Script.action 348 | ActionName 349 | Run Shell Script 350 | ActionParameters 351 | 352 | COMMAND_STRING 353 | export PATH=/usr/local/bin:/usr/local/sbin:$PATH 354 | 355 | for f in "$@"; do 356 | 357 | cd "$(dirname "$f")" 358 | 359 | # http://regexr.com/39o5h 360 | favicon_name=$(sed -E "s/^.*\/(.*)\..*$/\1/g" <<< $f) 361 | 362 | convert "$f" \ 363 | \( -clone 0 -resize 16x16 \) \ 364 | \( -clone 0 -resize 32x32 \) \ 365 | \( -clone 0 -resize 64x64 \) \ 366 | -delete 0 "${favicon_name}.ico" 367 | 368 | done; 369 | 370 | CheckedForUserDefaultShell 371 | 372 | inputMethod 373 | 1 374 | shell 375 | /bin/bash 376 | source 377 | 378 | 379 | BundleIdentifier 380 | com.apple.RunShellScript 381 | CFBundleVersion 382 | 2.0.3 383 | CanShowSelectedItemsWhenRun 384 | 385 | CanShowWhenRun 386 | 387 | Category 388 | 389 | AMCategoryUtilities 390 | 391 | Class Name 392 | RunShellScriptAction 393 | InputUUID 394 | 81424856-14BB-41E9-ADCD-3259E565AE98 395 | Keywords 396 | 397 | Shell 398 | Script 399 | Command 400 | Run 401 | Unix 402 | 403 | OutputUUID 404 | 8AE7E7B1-AA6F-4987-B972-DD6E58C85623 405 | UUID 406 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 407 | UnlocalizedApplications 408 | 409 | Automator 410 | 411 | arguments 412 | 413 | 0 414 | 415 | default value 416 | 0 417 | name 418 | inputMethod 419 | required 420 | 0 421 | type 422 | 0 423 | uuid 424 | 0 425 | 426 | 1 427 | 428 | default value 429 | 430 | name 431 | source 432 | required 433 | 0 434 | type 435 | 0 436 | uuid 437 | 1 438 | 439 | 2 440 | 441 | default value 442 | 443 | name 444 | CheckedForUserDefaultShell 445 | required 446 | 0 447 | type 448 | 0 449 | uuid 450 | 2 451 | 452 | 3 453 | 454 | default value 455 | 456 | name 457 | COMMAND_STRING 458 | required 459 | 0 460 | type 461 | 0 462 | uuid 463 | 3 464 | 465 | 4 466 | 467 | default value 468 | /bin/sh 469 | name 470 | shell 471 | required 472 | 0 473 | type 474 | 0 475 | uuid 476 | 4 477 | 478 | 479 | isViewVisible 480 | 481 | location 482 | 280.500000:577.000000 483 | nibPath 484 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib 485 | 486 | isViewVisible 487 | 488 | 489 | 490 | connectors 491 | 492 | 37B950C8-0915-4CB8-ACC7-DC5F5E30A63F 493 | 494 | from 495 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 496 | to 497 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 - 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 498 | 499 | 6408FBB7-7CE3-4BDE-AAAA-8C9A73A19F7C 500 | 501 | from 502 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 503 | to 504 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 505 | 506 | A42EEA9C-0858-4DC7-9A9B-7AB566A26368 507 | 508 | from 509 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 - 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 510 | to 511 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 512 | 513 | 514 | variables 515 | 516 | 517 | UUID 518 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 519 | identifier 520 | com.apple.Automator.Variable.Storage 521 | name 522 | TargetFile 523 | 524 | 525 | workflowMetaData 526 | 527 | applicationBundleIDsByPath 528 | 529 | applicationPaths 530 | 531 | inputTypeIdentifier 532 | com.apple.Automator.fileSystemObject.image 533 | outputTypeIdentifier 534 | com.apple.Automator.nothing 535 | presentationMode 536 | 15 537 | processesInput 538 | 0 539 | serviceInputTypeIdentifier 540 | com.apple.Automator.fileSystemObject.image 541 | serviceOutputTypeIdentifier 542 | com.apple.Automator.nothing 543 | serviceProcessesInput 544 | 0 545 | systemImageName 546 | NSActionTemplate 547 | useAutomaticInputType 548 | 0 549 | workflowTypeIdentifier 550 | com.apple.Automator.servicesMenu 551 | 552 | 553 | 554 | -------------------------------------------------------------------------------- /Create favicon.ico.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSIconName 11 | NSActionTemplate 12 | NSMenuItem 13 | 14 | default 15 | Create favicon.ico 16 | 17 | NSMessage 18 | runWorkflowAsService 19 | NSSendFileTypes 20 | 21 | public.image 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Create favicon.ico.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create favicon.ico.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /Create favicon.ico.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Create favicon.ico.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Create favicon.ico.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 444.39 7 | AMApplicationVersion 8 | 2.9 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.GetSelectedFinderItems2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | 76CFAE45-272F-4421-807A-8135056B81C3 68 | Keywords 69 | 70 | OutputUUID 71 | 1CB1E82F-3647-4791-8F71-845CA19F26DB 72 | UUID 73 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 110 | variableUUIDsInMenu 111 | 112 | 113 | 114 | AMProvides 115 | 116 | Container 117 | List 118 | Types 119 | 120 | * 121 | 122 | 123 | AMRequiredResources 124 | 125 | ActionBundlePath 126 | /System/Library/Automator/Set Value of Variable.action 127 | ActionName 128 | Set Value of Variable 129 | ActionParameters 130 | 131 | variableUUID 132 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 133 | 134 | BundleIdentifier 135 | com.apple.Automator.SetValueofVariable 136 | CFBundleVersion 137 | 1.0.2 138 | CanShowSelectedItemsWhenRun 139 | 140 | CanShowWhenRun 141 | 142 | Category 143 | 144 | AMCategoryUtilities 145 | 146 | Class Name 147 | Set_Value_of_Variable 148 | InputUUID 149 | C6AABAE8-84FA-441A-B154-D3318FB669DF 150 | Keywords 151 | 152 | variable 153 | binding 154 | input 155 | output 156 | storage 157 | 158 | OutputUUID 159 | 7D1201F7-273B-413D-8073-02D7F34C3F6B 160 | UUID 161 | 2A73681A-6F01-4277-9758-E9ECCE043C34 162 | UnlocalizedApplications 163 | 164 | Automator 165 | 166 | arguments 167 | 168 | 0 169 | 170 | default value 171 | 172 | name 173 | variableUUID 174 | required 175 | 0 176 | type 177 | 0 178 | uuid 179 | 0 180 | 181 | 182 | isViewVisible 183 | 184 | location 185 | 280.500000:229.000000 186 | nibPath 187 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 188 | 189 | isViewVisible 190 | 191 | 192 | 193 | action 194 | 195 | AMAccepts 196 | 197 | Container 198 | List 199 | Optional 200 | 201 | Types 202 | 203 | * 204 | 205 | 206 | AMActionVersion 207 | v.1.0.2 208 | AMApplication 209 | 210 | Automator 211 | 212 | AMParameterProperties 213 | 214 | variableUUID 215 | 216 | isPathPopUp 217 | 218 | selectedVariableUUID 219 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 220 | variableUUIDsInMenu 221 | 222 | 223 | 224 | AMProvides 225 | 226 | Container 227 | List 228 | Types 229 | 230 | * 231 | 232 | 233 | AMRequiredResources 234 | 235 | ActionBundlePath 236 | /System/Library/Automator/Get Value of Variable.action 237 | ActionName 238 | Get Value of Variable 239 | ActionParameters 240 | 241 | variableUUID 242 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 243 | 244 | BundleIdentifier 245 | com.apple.Automator.GetValueofVariable 246 | CFBundleVersion 247 | 1.0.2 248 | CanShowSelectedItemsWhenRun 249 | 250 | CanShowWhenRun 251 | 252 | Category 253 | 254 | AMCategoryUtilities 255 | 256 | Class Name 257 | Get_Value_of_Variable 258 | IgnoresInput 259 | 260 | InputUUID 261 | 3FA70E20-E230-4798-875D-017FB94AE0EA 262 | Keywords 263 | 264 | variable 265 | binding 266 | input 267 | output 268 | storage 269 | 270 | OutputUUID 271 | BE4B013A-6A54-4EDE-96B7-9B96BAEFC9C5 272 | UUID 273 | CE53F237-7D04-431C-902F-F1A4EDC360CF 274 | UnlocalizedApplications 275 | 276 | Automator 277 | 278 | arguments 279 | 280 | 0 281 | 282 | default value 283 | 284 | name 285 | variableUUID 286 | required 287 | 0 288 | type 289 | 0 290 | uuid 291 | 0 292 | 293 | 294 | isViewVisible 295 | 296 | location 297 | 280.500000:270.000000 298 | nibPath 299 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 300 | 301 | isViewVisible 302 | 303 | 304 | 305 | action 306 | 307 | AMAccepts 308 | 309 | Container 310 | List 311 | Optional 312 | 313 | Types 314 | 315 | com.apple.cocoa.string 316 | 317 | 318 | AMActionVersion 319 | 2.0.3 320 | AMApplication 321 | 322 | Automator 323 | 324 | AMParameterProperties 325 | 326 | COMMAND_STRING 327 | 328 | CheckedForUserDefaultShell 329 | 330 | inputMethod 331 | 332 | shell 333 | 334 | source 335 | 336 | 337 | AMProvides 338 | 339 | Container 340 | List 341 | Types 342 | 343 | com.apple.cocoa.string 344 | 345 | 346 | ActionBundlePath 347 | /System/Library/Automator/Run Shell Script.action 348 | ActionName 349 | Run Shell Script 350 | ActionParameters 351 | 352 | COMMAND_STRING 353 | export PATH=/usr/local/bin:/usr/local/sbin:$PATH 354 | 355 | for f in "$@"; do 356 | 357 | cd "$(dirname "$f")" 358 | 359 | # http://regexr.com/39o5h 360 | favicon_name=$(sed -E "s/^.*\/(.*)\..*$/\1/g" <<< $f) 361 | 362 | convert "$f" \ 363 | \( -clone 0 -resize 64x64 \) \ 364 | -delete 0 "${favicon_name}.ico" 365 | 366 | done; 367 | 368 | CheckedForUserDefaultShell 369 | 370 | inputMethod 371 | 1 372 | shell 373 | /bin/bash 374 | source 375 | 376 | 377 | BundleIdentifier 378 | com.apple.RunShellScript 379 | CFBundleVersion 380 | 2.0.3 381 | CanShowSelectedItemsWhenRun 382 | 383 | CanShowWhenRun 384 | 385 | Category 386 | 387 | AMCategoryUtilities 388 | 389 | Class Name 390 | RunShellScriptAction 391 | InputUUID 392 | 81424856-14BB-41E9-ADCD-3259E565AE98 393 | Keywords 394 | 395 | Shell 396 | Script 397 | Command 398 | Run 399 | Unix 400 | 401 | OutputUUID 402 | 8AE7E7B1-AA6F-4987-B972-DD6E58C85623 403 | UUID 404 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 405 | UnlocalizedApplications 406 | 407 | Automator 408 | 409 | arguments 410 | 411 | 0 412 | 413 | default value 414 | 0 415 | name 416 | inputMethod 417 | required 418 | 0 419 | type 420 | 0 421 | uuid 422 | 0 423 | 424 | 1 425 | 426 | default value 427 | 428 | name 429 | source 430 | required 431 | 0 432 | type 433 | 0 434 | uuid 435 | 1 436 | 437 | 2 438 | 439 | default value 440 | 441 | name 442 | CheckedForUserDefaultShell 443 | required 444 | 0 445 | type 446 | 0 447 | uuid 448 | 2 449 | 450 | 3 451 | 452 | default value 453 | 454 | name 455 | COMMAND_STRING 456 | required 457 | 0 458 | type 459 | 0 460 | uuid 461 | 3 462 | 463 | 4 464 | 465 | default value 466 | /bin/sh 467 | name 468 | shell 469 | required 470 | 0 471 | type 472 | 0 473 | uuid 474 | 4 475 | 476 | 477 | isViewVisible 478 | 479 | location 480 | 280.500000:452.000000 481 | nibPath 482 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib 483 | 484 | isViewVisible 485 | 486 | 487 | 488 | connectors 489 | 490 | 1481324F-9DAF-48DD-BE9B-FF5492129556 491 | 492 | from 493 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 494 | to 495 | 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 - 4248E4B7-DFA8-4EA6-BF94-252B724FDEC2 496 | 497 | 88700917-D6DC-427E-94B1-5C5EF993561D 498 | 499 | from 500 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 501 | to 502 | CE53F237-7D04-431C-902F-F1A4EDC360CF - CE53F237-7D04-431C-902F-F1A4EDC360CF 503 | 504 | EBD0565E-894E-409D-AE71-16631E3C2EFE 505 | 506 | from 507 | 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 - 92429C5C-D4BF-4A03-BDA0-9E5A7FD232D8 508 | to 509 | 2A73681A-6F01-4277-9758-E9ECCE043C34 - 2A73681A-6F01-4277-9758-E9ECCE043C34 510 | 511 | 512 | variables 513 | 514 | 515 | UUID 516 | B0B74A29-EEA9-435E-8C5C-4C20D26E6544 517 | identifier 518 | com.apple.Automator.Variable.Storage 519 | name 520 | TargetFile 521 | 522 | 523 | workflowMetaData 524 | 525 | applicationBundleIDsByPath 526 | 527 | applicationPaths 528 | 529 | inputTypeIdentifier 530 | com.apple.Automator.fileSystemObject.image 531 | outputTypeIdentifier 532 | com.apple.Automator.nothing 533 | presentationMode 534 | 15 535 | processesInput 536 | 0 537 | serviceInputTypeIdentifier 538 | com.apple.Automator.fileSystemObject.image 539 | serviceOutputTypeIdentifier 540 | com.apple.Automator.nothing 541 | serviceProcessesInput 542 | 0 543 | systemImageName 544 | NSActionTemplate 545 | useAutomaticInputType 546 | 0 547 | workflowTypeIdentifier 548 | com.apple.Automator.servicesMenu 549 | 550 | 551 | 552 | -------------------------------------------------------------------------------- /Encode Selected Files using Base64.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Encode Selected Files using Base64 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Encode Selected Files using Base64.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Encode Selected Files using Base64.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Encode Selected Files using Base64.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.Get_Selected_Finder_Items_2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | E62FEA3E-7E00-4B67-99CE-A780C7A36C2A 68 | Keywords 69 | 70 | OutputUUID 71 | C0F22638-548C-4534-AA22-20B213E1F0D8 72 | UUID 73 | 57255359-7FC2-4021-B573-924607F34971 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 110 | 111 | 112 | AMProvides 113 | 114 | Container 115 | List 116 | Types 117 | 118 | * 119 | 120 | 121 | AMRequiredResources 122 | 123 | ActionBundlePath 124 | /System/Library/Automator/Set Value of Variable.action 125 | ActionName 126 | Set Value of Variable 127 | ActionParameters 128 | 129 | variableUUID 130 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 131 | 132 | BundleIdentifier 133 | com.apple.Automator.Set_Value_of_Variable 134 | CFBundleVersion 135 | 1.0.2 136 | CanShowSelectedItemsWhenRun 137 | 138 | CanShowWhenRun 139 | 140 | Category 141 | 142 | AMCategoryUtilities 143 | 144 | Class Name 145 | Set_Value_of_Variable 146 | InputUUID 147 | B283A899-8B01-4EF2-B8B2-0C769F1AB304 148 | Keywords 149 | 150 | variable 151 | binding 152 | input 153 | output 154 | storage 155 | 156 | OutputUUID 157 | A951AB33-1069-4D21-BC6F-1B36E151F451 158 | UUID 159 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C 160 | UnlocalizedApplications 161 | 162 | Automator 163 | 164 | arguments 165 | 166 | 0 167 | 168 | default value 169 | 170 | name 171 | variableUUID 172 | required 173 | 0 174 | type 175 | 0 176 | uuid 177 | 0 178 | 179 | 180 | isViewVisible 181 | 182 | location 183 | 239.500000:154.000000 184 | nibPath 185 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 186 | 187 | isViewVisible 188 | 189 | 190 | 191 | action 192 | 193 | AMAccepts 194 | 195 | Container 196 | List 197 | Optional 198 | 199 | Types 200 | 201 | * 202 | 203 | 204 | AMActionVersion 205 | v.1.0.2 206 | AMApplication 207 | 208 | Automator 209 | 210 | AMParameterProperties 211 | 212 | variableUUID 213 | 214 | isPathPopUp 215 | 216 | selectedVariableUUID 217 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 218 | 219 | 220 | AMProvides 221 | 222 | Container 223 | List 224 | Types 225 | 226 | * 227 | 228 | 229 | AMRequiredResources 230 | 231 | ActionBundlePath 232 | /System/Library/Automator/Get Value of Variable.action 233 | ActionName 234 | Get Value of Variable 235 | ActionParameters 236 | 237 | variableUUID 238 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 239 | 240 | BundleIdentifier 241 | com.apple.Automator.Get_Value_of_Variable 242 | CFBundleVersion 243 | 1.0.2 244 | CanShowSelectedItemsWhenRun 245 | 246 | CanShowWhenRun 247 | 248 | Category 249 | 250 | AMCategoryUtilities 251 | 252 | Class Name 253 | Get_Value_of_Variable 254 | IgnoresInput 255 | 256 | InputUUID 257 | CEB357CA-98E5-4D02-9AEC-365BB111F0D8 258 | Keywords 259 | 260 | variable 261 | binding 262 | input 263 | output 264 | storage 265 | 266 | OutputUUID 267 | 54F6A1CA-FD3F-4DAB-BD40-AD3AADC4BDDD 268 | UUID 269 | 1607026E-D235-4CBA-844A-CF9A6362BB37 270 | UnlocalizedApplications 271 | 272 | Automator 273 | 274 | arguments 275 | 276 | 0 277 | 278 | default value 279 | 280 | name 281 | variableUUID 282 | required 283 | 0 284 | type 285 | 0 286 | uuid 287 | 0 288 | 289 | 290 | isViewVisible 291 | 292 | location 293 | 239.500000:196.000000 294 | nibPath 295 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 296 | 297 | isViewVisible 298 | 299 | 300 | 301 | action 302 | 303 | AMAccepts 304 | 305 | Container 306 | List 307 | Optional 308 | 309 | Types 310 | 311 | com.apple.cocoa.string 312 | 313 | 314 | AMActionVersion 315 | 2.0.3 316 | AMApplication 317 | 318 | Automator 319 | 320 | AMParameterProperties 321 | 322 | COMMAND_STRING 323 | 324 | CheckedForUserDefaultShell 325 | 326 | inputMethod 327 | 328 | shell 329 | 330 | source 331 | 332 | 333 | AMProvides 334 | 335 | Container 336 | List 337 | Types 338 | 339 | com.apple.cocoa.string 340 | 341 | 342 | ActionBundlePath 343 | /System/Library/Automator/Run Shell Script.action 344 | ActionName 345 | Run Shell Script 346 | ActionParameters 347 | 348 | COMMAND_STRING 349 | for f in "$@"; do 350 | openssl base64 -in "$f" -out "$f".txt 351 | done; 352 | CheckedForUserDefaultShell 353 | 354 | inputMethod 355 | 1 356 | shell 357 | /bin/bash 358 | source 359 | 360 | 361 | BundleIdentifier 362 | com.apple.RunShellScript 363 | CFBundleVersion 364 | 2.0.3 365 | CanShowSelectedItemsWhenRun 366 | 367 | CanShowWhenRun 368 | 369 | Category 370 | 371 | AMCategoryUtilities 372 | 373 | Class Name 374 | RunShellScriptAction 375 | InputUUID 376 | 500D7693-6373-4B8D-8123-6D6AA5B589E7 377 | Keywords 378 | 379 | Shell 380 | Script 381 | Command 382 | Run 383 | Unix 384 | 385 | OutputUUID 386 | 745ADA45-1D23-49D5-99CA-FF9584509DD7 387 | UUID 388 | B9F90851-5A35-48B4-AE10-5715F725506C 389 | UnlocalizedApplications 390 | 391 | Automator 392 | 393 | arguments 394 | 395 | 0 396 | 397 | default value 398 | 0 399 | name 400 | inputMethod 401 | required 402 | 0 403 | type 404 | 0 405 | uuid 406 | 0 407 | 408 | 1 409 | 410 | default value 411 | 412 | name 413 | source 414 | required 415 | 0 416 | type 417 | 0 418 | uuid 419 | 1 420 | 421 | 2 422 | 423 | default value 424 | 425 | name 426 | CheckedForUserDefaultShell 427 | required 428 | 0 429 | type 430 | 0 431 | uuid 432 | 2 433 | 434 | 3 435 | 436 | default value 437 | 438 | name 439 | COMMAND_STRING 440 | required 441 | 0 442 | type 443 | 0 444 | uuid 445 | 3 446 | 447 | 4 448 | 449 | default value 450 | /bin/sh 451 | name 452 | shell 453 | required 454 | 0 455 | type 456 | 0 457 | uuid 458 | 4 459 | 460 | 461 | isViewVisible 462 | 463 | location 464 | 239.500000:238.000000 465 | nibPath 466 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib 467 | 468 | isViewVisible 469 | 470 | 471 | 472 | connectors 473 | 474 | 2A38CD35-D6E6-493A-942A-AA04F5ED6B3B 475 | 476 | from 477 | 57255359-7FC2-4021-B573-924607F34971 - 57255359-7FC2-4021-B573-924607F34971 478 | to 479 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C - 8C5D1A60-C8D0-4328-9390-AAAB5639899C 480 | 481 | 6FF81129-8DD6-43DB-BAD4-FF4ED048743C 482 | 483 | from 484 | 1607026E-D235-4CBA-844A-CF9A6362BB37 - 1607026E-D235-4CBA-844A-CF9A6362BB37 485 | to 486 | B9F90851-5A35-48B4-AE10-5715F725506C - B9F90851-5A35-48B4-AE10-5715F725506C 487 | 488 | AD9C4602-F6CA-4025-89BF-3F897A2189AF 489 | 490 | from 491 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C - 8C5D1A60-C8D0-4328-9390-AAAB5639899C 492 | to 493 | 1607026E-D235-4CBA-844A-CF9A6362BB37 - 1607026E-D235-4CBA-844A-CF9A6362BB37 494 | 495 | 496 | variables 497 | 498 | 499 | UUID 500 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 501 | identifier 502 | com.apple.Automator.Variable.Storage 503 | name 504 | TargetFile 505 | 506 | 507 | workflowMetaData 508 | 509 | serviceApplicationBundleID 510 | com.apple.finder 511 | serviceApplicationPath 512 | /System/Library/CoreServices/Finder.app 513 | serviceInputTypeIdentifier 514 | com.apple.Automator.fileSystemObject.image 515 | serviceOutputTypeIdentifier 516 | com.apple.Automator.nothing 517 | serviceProcessesInput 518 | 0 519 | workflowTypeIdentifier 520 | com.apple.Automator.servicesMenu 521 | 522 | 523 | 524 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2019 Tunghsiao Liu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /Open with rmate.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Open with rmate 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.item 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Open with rmate.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Open with rmate.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Open with rmate.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.Get_Selected_Finder_Items_2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | 43E50BFE-DF1B-4107-86C6-E308A90BE200 68 | Keywords 69 | 70 | OutputUUID 71 | 3F11BB92-274D-4B4B-9F97-AA0F4BBD9127 72 | UUID 73 | 80E7140E-7DF9-4D5A-94C3-9C83AEE1523A 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | 11590E2B-C453-4079-8554-BABE3ADEE5E3 110 | 111 | 112 | AMProvides 113 | 114 | Container 115 | List 116 | Types 117 | 118 | * 119 | 120 | 121 | AMRequiredResources 122 | 123 | ActionBundlePath 124 | /System/Library/Automator/Set Value of Variable.action 125 | ActionName 126 | Set Value of Variable 127 | ActionParameters 128 | 129 | variableUUID 130 | 11590E2B-C453-4079-8554-BABE3ADEE5E3 131 | 132 | BundleIdentifier 133 | com.apple.Automator.Set_Value_of_Variable 134 | CFBundleVersion 135 | 1.0.2 136 | CanShowSelectedItemsWhenRun 137 | 138 | CanShowWhenRun 139 | 140 | Category 141 | 142 | AMCategoryUtilities 143 | 144 | Class Name 145 | Set_Value_of_Variable 146 | InputUUID 147 | A1F95204-51EB-42E3-8839-99387DF6F004 148 | Keywords 149 | 150 | variable 151 | binding 152 | input 153 | output 154 | storage 155 | 156 | OutputUUID 157 | 5015560A-C156-4E15-8864-1AD8367F7035 158 | UUID 159 | 0E2450EB-662D-45B3-BECF-1F7951A56B5E 160 | UnlocalizedApplications 161 | 162 | Automator 163 | 164 | arguments 165 | 166 | 0 167 | 168 | default value 169 | 170 | name 171 | variableUUID 172 | required 173 | 0 174 | type 175 | 0 176 | uuid 177 | 0 178 | 179 | 180 | isViewVisible 181 | 182 | location 183 | 239.500000:154.000000 184 | nibPath 185 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 186 | 187 | isViewVisible 188 | 189 | 190 | 191 | action 192 | 193 | AMAccepts 194 | 195 | Container 196 | List 197 | Optional 198 | 199 | Types 200 | 201 | * 202 | 203 | 204 | AMActionVersion 205 | v.1.0.2 206 | AMApplication 207 | 208 | Automator 209 | 210 | AMParameterProperties 211 | 212 | variableUUID 213 | 214 | isPathPopUp 215 | 216 | selectedVariableUUID 217 | 11590E2B-C453-4079-8554-BABE3ADEE5E3 218 | 219 | 220 | AMProvides 221 | 222 | Container 223 | List 224 | Types 225 | 226 | * 227 | 228 | 229 | AMRequiredResources 230 | 231 | ActionBundlePath 232 | /System/Library/Automator/Get Value of Variable.action 233 | ActionName 234 | Get Value of Variable 235 | ActionParameters 236 | 237 | variableUUID 238 | 11590E2B-C453-4079-8554-BABE3ADEE5E3 239 | 240 | BundleIdentifier 241 | com.apple.Automator.Get_Value_of_Variable 242 | CFBundleVersion 243 | 1.0.2 244 | CanShowSelectedItemsWhenRun 245 | 246 | CanShowWhenRun 247 | 248 | Category 249 | 250 | AMCategoryUtilities 251 | 252 | Class Name 253 | Get_Value_of_Variable 254 | IgnoresInput 255 | 256 | InputUUID 257 | 40FED838-5817-47DF-880D-188C1D63F59A 258 | Keywords 259 | 260 | variable 261 | binding 262 | input 263 | output 264 | storage 265 | 266 | OutputUUID 267 | 5F0166C7-8B42-478B-B67F-6CC9497B0027 268 | UUID 269 | C8421D6C-23B5-46E8-943D-C2F9DA57E755 270 | UnlocalizedApplications 271 | 272 | Automator 273 | 274 | arguments 275 | 276 | 0 277 | 278 | default value 279 | 280 | name 281 | variableUUID 282 | required 283 | 0 284 | type 285 | 0 286 | uuid 287 | 0 288 | 289 | 290 | isViewVisible 291 | 292 | location 293 | 239.500000:196.000000 294 | nibPath 295 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 296 | 297 | isViewVisible 298 | 299 | 300 | 301 | action 302 | 303 | AMAccepts 304 | 305 | Container 306 | List 307 | Optional 308 | 309 | Types 310 | 311 | com.apple.cocoa.string 312 | 313 | 314 | AMActionVersion 315 | 2.0.3 316 | AMApplication 317 | 318 | Automator 319 | 320 | AMParameterProperties 321 | 322 | COMMAND_STRING 323 | 324 | CheckedForUserDefaultShell 325 | 326 | inputMethod 327 | 328 | shell 329 | 330 | source 331 | 332 | 333 | AMProvides 334 | 335 | Container 336 | List 337 | Types 338 | 339 | com.apple.cocoa.string 340 | 341 | 342 | ActionBundlePath 343 | /System/Library/Automator/Run Shell Script.action 344 | ActionName 345 | Run Shell Script 346 | ActionParameters 347 | 348 | COMMAND_STRING 349 | export PATH=/usr/local/bin:/usr/local/sbin:$PATH 350 | 351 | rmate $1 352 | CheckedForUserDefaultShell 353 | 354 | inputMethod 355 | 1 356 | shell 357 | /bin/bash 358 | source 359 | 360 | 361 | BundleIdentifier 362 | com.apple.RunShellScript 363 | CFBundleVersion 364 | 2.0.3 365 | CanShowSelectedItemsWhenRun 366 | 367 | CanShowWhenRun 368 | 369 | Category 370 | 371 | AMCategoryUtilities 372 | 373 | Class Name 374 | RunShellScriptAction 375 | InputUUID 376 | 6593F244-894A-45A0-81C3-1BD50BEB5B5D 377 | Keywords 378 | 379 | Shell 380 | Script 381 | Command 382 | Run 383 | Unix 384 | 385 | OutputUUID 386 | 06AC2193-1331-41DD-BA58-FFA45C54A4B4 387 | UUID 388 | 5A4A74D3-6395-42EC-940E-BD0262EC9AD2 389 | UnlocalizedApplications 390 | 391 | Automator 392 | 393 | arguments 394 | 395 | 0 396 | 397 | default value 398 | 0 399 | name 400 | inputMethod 401 | required 402 | 0 403 | type 404 | 0 405 | uuid 406 | 0 407 | 408 | 1 409 | 410 | default value 411 | 412 | name 413 | source 414 | required 415 | 0 416 | type 417 | 0 418 | uuid 419 | 1 420 | 421 | 2 422 | 423 | default value 424 | 425 | name 426 | CheckedForUserDefaultShell 427 | required 428 | 0 429 | type 430 | 0 431 | uuid 432 | 2 433 | 434 | 3 435 | 436 | default value 437 | 438 | name 439 | COMMAND_STRING 440 | required 441 | 0 442 | type 443 | 0 444 | uuid 445 | 3 446 | 447 | 4 448 | 449 | default value 450 | /bin/sh 451 | name 452 | shell 453 | required 454 | 0 455 | type 456 | 0 457 | uuid 458 | 4 459 | 460 | 461 | isViewVisible 462 | 463 | location 464 | 239.500000:238.000000 465 | nibPath 466 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib 467 | 468 | isViewVisible 469 | 470 | 471 | 472 | connectors 473 | 474 | 80993EA3-B136-46B5-B563-8AC364F77150 475 | 476 | from 477 | C8421D6C-23B5-46E8-943D-C2F9DA57E755 - C8421D6C-23B5-46E8-943D-C2F9DA57E755 478 | to 479 | 5A4A74D3-6395-42EC-940E-BD0262EC9AD2 - 5A4A74D3-6395-42EC-940E-BD0262EC9AD2 480 | 481 | DE6FDCFD-0303-4100-AA2D-F035D2B19F3F 482 | 483 | from 484 | 0E2450EB-662D-45B3-BECF-1F7951A56B5E - 0E2450EB-662D-45B3-BECF-1F7951A56B5E 485 | to 486 | C8421D6C-23B5-46E8-943D-C2F9DA57E755 - C8421D6C-23B5-46E8-943D-C2F9DA57E755 487 | 488 | E4942EEF-0921-40F0-98DF-C7A68096FED3 489 | 490 | from 491 | 80E7140E-7DF9-4D5A-94C3-9C83AEE1523A - 80E7140E-7DF9-4D5A-94C3-9C83AEE1523A 492 | to 493 | 0E2450EB-662D-45B3-BECF-1F7951A56B5E - 0E2450EB-662D-45B3-BECF-1F7951A56B5E 494 | 495 | 496 | variables 497 | 498 | 499 | UUID 500 | 11590E2B-C453-4079-8554-BABE3ADEE5E3 501 | identifier 502 | com.apple.Automator.Variable.Storage 503 | name 504 | TargetFile 505 | 506 | 507 | workflowMetaData 508 | 509 | serviceApplicationBundleID 510 | com.apple.finder 511 | serviceApplicationPath 512 | /System/Library/CoreServices/Finder.app 513 | serviceInputTypeIdentifier 514 | com.apple.Automator.fileSystemObject 515 | serviceOutputTypeIdentifier 516 | com.apple.Automator.nothing 517 | serviceProcessesInput 518 | 0 519 | workflowTypeIdentifier 520 | com.apple.Automator.servicesMenu 521 | 522 | 523 | 524 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tunghsiao Liu’s Automator Workflows 2 | 3 | A collection of Automator workflows that speed up your design and development process. Compatible with LaunchBar 6 and 7. 4 | 5 | ## Installation 6 | 7 | Paste the following code at a Terminal prompt: 8 | 9 | ```shell 10 | bash <(curl -fsSL https://raw.github.com/sparanoid/automator-workflows/go/install) 11 | ``` 12 | 13 | The script explains what it will do and then pauses before it does it. If you don’t trust it, [download zip package](https://github.com/sparanoid/automator-workflows/releases) and manually copy the workflows to `~/Library/Services/`. 14 | 15 | ## Other Notes 16 | 17 | Please note that some workflows are using third-party scripts, the default path of them (for example `imagemagick`) is `/usr/local/bin/imagemagick`. (Installed by [Homebrew](https://brew.sh/)). 18 | 19 | ## Available Workflows 20 | 21 | - [Create App Iconset](#create-app-iconset) 22 | - [Create .icns](#create-icns) 23 | - [Unpack .icns](#unpack-icns) 24 | - [Create `favicon.ico`](#create-faviconico) 25 | - [Create `favicon.ico` (multi-resource)](#create-faviconico-multi-resource) 26 | - [Add `@2x` (`@3x`) Suffix](#add-2x-3x-suffix) 27 | - [Copy & Add `@2x` (`@3x`) Suffix](#copy--add-2x-3x-suffix) 28 | - [Create `@2x` (`@3x`) Image](#create-2x-3x-image) 29 | - [Remove `@2x` (`@3x`) Suffix](#remove-2x-3x-suffix) 30 | - [Convert Image Format](#convert-image-format) 31 | - [Convert WebP to PNG](#convert-webp-to-png) 32 | - [Resize Images](#resize-images) 33 | - [Rename Selected Files](#rename-selected-files) 34 | - [Create DMG Image](#create-dmg-image) 35 | - [Open with rmate](#open-with-rmate) 36 | - [Compress Images](#compress-images) 37 | - [Encode Selected Files Using Base64](#encode-selected-files-using-base64) 38 | - [Convert Selected Text to Audio File](#convert-selected-text-to-audio-file) 39 | - [Convert .ass to .srt](#convert-ass-to-srt) 40 | 41 | ### Create App Iconset 42 | 43 | Create the following sizes of icon resources for your OS X app: 44 | 45 | Filename | Size of canvas (in pixels) 46 | --- | --- 47 | icon_512x512@2x | 1024×1024 48 | icon_512x512 | 512×512 49 | icon_256x256@2x | 512×512 50 | icon_256x256 | 256×256 51 | icon_128x128@2x | 256×256 52 | icon_128x128 | 128×128 53 | icon_32x32@2x | 64×64 54 | icon_32x32 | 32×32 55 | icon_16x16@2x | 32×32 56 | icon_16x16 | 16×16 57 | 58 | The icon you created should be 1024×1024 with an sRGB color profile. You can read more about icon design guidelines [here](https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/Designing.html). 59 | 60 | **Note**: You should always select the original file during the workflow, don’t press any key or click your mouse. 61 | 62 | ### Create .icns 63 | 64 | Create .icns file using `iconutil`. Command Line Tools from Xcode must be installed before using this workflow. 65 | 66 | ### Unpack .icns 67 | 68 | Unpack .icns into .iconset folder. Command Line Tools from Xcode must be installed before using this workflow. 69 | 70 | ### Create `favicon.ico` 71 | 72 | Create a `favicon.ico` from selected PNG image with [ImageMagick](http://www.imagemagick.org/). 73 | 74 | **Requires**: `imagemagick` 75 | 76 | **Notes**: 77 | 78 | 1. The generated `favicon.ico` also works on all platforms include high-res devices. The different from “multi-resource” action is only 64x64 (4x) resource is generated, so you'll get smaller file size. 79 | 2. Sometimes you'll get `convert: iCCP: extra compressed data` error when process PNGs exported from Photoshop, if you got this error, try to compress exported PNGs to remove extra metadata (for example using [Compress Images](#compress-images) workflow or [ImageOptim](https://imageoptim.com/)). 80 | 81 | ### Create `favicon.ico` (multi-resource) 82 | 83 | Create a multi-resource `favicon.ico` from selected PNG image with [ImageMagick](http://www.imagemagick.org/), 64x64, 32x32, and 16x16 are included. 84 | 85 | **Requires**: `imagemagick` 86 | 87 | **Notes**: 88 | 89 | 1. You should only select one image, then multi-resource icos are automatically scaled down. 90 | 2. The selected image should be at least 48x48, for best result, use exact 48x48. 91 | 92 | ### Add `@2x` (`@3x`) Suffix 93 | 94 | Add `@2x` or (`@3x`) suffix for retina image assets. 95 | 96 | ### Copy & Add `@2x` (`@3x`) Suffix 97 | 98 | Copy (duplicate) selected images and rename them with `@2x` or (`@3x`) suffix. Useful when you want to downscale with your own method. 99 | 100 | ### Create `@2x` (`@3x`) Image 101 | 102 | Auto downscale retina images generated by [PNG Express](http://www.pngexpress.com/), or any “@2x” / “@3x” images. 103 | 104 | **Notes**: 105 | 106 | 1. Export your original images in retina size, WITHOUT `@2x` or (`@3x`) suffix. 107 | 2. Create `@3x` Image doesn't downscale images properly at the moment. Need a better method to handle it. 108 | 109 | ### Remove `@2x` (`@3x`) Suffix 110 | 111 | Remove `@2x` and (`@3x`) suffix for retina image assets. Useful when you’re doing something wrong and need to recreate downscaled images one more time. 112 | 113 | ### Convert Image Format 114 | 115 | Convert selected images to specific format. 116 | 117 | ### Convert WebP to PNG 118 | 119 | Convert selected WebP images to PNG. `dwebp` must be installed via `brew install webp`. 120 | 121 | ### Resize Images 122 | 123 | Resize your images to specific size or by percentage. 124 | 125 | ### Rename Selected Files 126 | 127 | ![Rename Finder Items](https://raw.github.com/sparanoid/rsrc/automator-workflows/01-rename-finder-items.png) 128 | 129 | What? You just bought [A Better Finder Rename](http://www.publicspace.net/ABetterFinderRename/)? 130 | 131 | ### Create DMG Image 132 | 133 | Create distributable, cross-platform hybrid DMG images using `hdiutil`, select a directory first to use this script. You’ll be prompted to enter a volume name for your image, then Voilà! 134 | 135 | **Note**: This script doesn’t create “fancy” DMG for your OS X app. 136 | 137 | ### Open with rmate 138 | 139 | Open selected file with [rmate](https://github.com/textmate/rmate). 140 | 141 | **Requires**: `rmate` 142 | 143 | ### Compress Images 144 | 145 | Compress selected images based on file type, `.png`, `.jpg`, and `.svg` are supported. It auto detects the file type of selected images and compress them. [OptiPNG](http://optipng.sourceforge.net/), [Pngcrush](http://pmt.sourceforge.net/pngcrush/), [jpegoptim](https://github.com/tjko/jpegoptim), and [svgo](https://github.com/svg/svgo) are used. 146 | 147 | **Requires**: 148 | 149 | - `optipng` (bundled) 150 | - `pngcrush` (bundled) 151 | - `jpegoptim` 152 | - `svgo` 153 | 154 | **Notes:** 155 | 156 | 1. The default compress options for each type of images is the same as the individual compress workflow. 157 | 2. It’s okay to run this workflow if you only install some of required dependencies, for example, you can just installed `jpegoptim`, but only `.jpg` will be compressed when you run this workflow, all other SVG files you selected will be skipped. 158 | 3. The default `optipng` compress option is set to `-o7` (smallest file size and slowest), you may need change that. 159 | 4. The default `pngcrush` compress option is set to `-brute -reduce -ow` (try 138 different methods and do lossless color-type or bit-depth reduction), you may need change that. 160 | 5. `pngcrush` will take longer time for large images. 161 | 6. The default `jpegoptim` compress option is set to `--strip-all --force --all-progressive` (lossless compression, remove comment, Exif and ICC profile, force all outputs to be progressive), You may need change that. 162 | 163 | ### Encode Selected Files Using Base64 164 | 165 | Encode Selected Files using Base64 for [data URI scheme](https://en.wikipedia.org/wiki/Data_URI_scheme). 166 | 167 | ### Convert Selected Text to Audio File 168 | 169 | Convert selected text to audio file (AIFF) in any application 170 | 171 | ### Convert .ass to .srt 172 | 173 | Convert .ass subtitles to .srt subtitles. [sorz/asstosrt](https://github.com/sorz/asstosrt) must be installed before using this workflow. 174 | 175 | ## Author 176 | 177 | **Tunghsiao Liu** 178 | 179 | - Twitter: @[tunghsiao](https://twitter.com/tunghsiao) 180 | - GitHub: @[sparanoid](https://github.com/sparanoid) 181 | 182 | ## License 183 | 184 | MIT 185 | -------------------------------------------------------------------------------- /Remove @2x Suffix.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Remove @2x Suffix 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Remove @2x Suffix.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Remove @2x Suffix.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Remove @3x Suffix.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Remove @3x Suffix 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Remove @3x Suffix.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Remove @3x Suffix.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Rename Selected Files.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Rename Selected Files 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.item 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Rename Selected Files.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Rename Selected Files.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Rename Selected Files.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 1.3.2 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | caseIndicator 36 | 37 | dateFormat 38 | 39 | datePlacement 40 | 41 | dateSeparator 42 | 43 | dateToUse 44 | 45 | defaultName 46 | 47 | tokenizedValue 48 | 49 | name 50 | 51 | 52 | ignoreCase 53 | 54 | includeExtensions 55 | 56 | insertionPosition 57 | 58 | minimumCount 59 | 60 | nameDateSeparator 61 | 62 | nameSingleItem 63 | 64 | numberLocation 65 | 66 | numberSeparator 67 | 68 | renameItems 69 | 70 | renameType 71 | 72 | replaceWithText 73 | 74 | singleItemOption 75 | 76 | startingNumber 77 | 78 | textInput 79 | 80 | textToFind 81 | 82 | useLeadingZeros 83 | 84 | 85 | AMProvides 86 | 87 | Container 88 | List 89 | Types 90 | 91 | com.apple.cocoa.path 92 | 93 | 94 | ActionBundlePath 95 | /System/Library/Automator/Rename Finder Items.action 96 | ActionName 97 | Rename Finder Items: Make Sequential 98 | ActionParameters 99 | 100 | caseIndicator 101 | 0 102 | dateFormat 103 | 0 104 | datePlacement 105 | 0 106 | dateSeparator 107 | 0 108 | dateToUse 109 | 0 110 | defaultName 111 | name 112 | ignoreCase 113 | 114 | includeExtensions 115 | 0 116 | insertionPosition 117 | 0 118 | minimumCount 119 | 3 120 | nameDateSeparator 121 | 0 122 | nameSingleItem 123 | 124 | numberLocation 125 | 0 126 | numberSeparator 127 | 0 128 | renameItems 129 | 1 130 | renameType 131 | 3 132 | replaceWithText 133 | 134 | singleItemOption 135 | 0 136 | startingNumber 137 | 1 138 | textInput 139 | 140 | textToFind 141 | 142 | useLeadingZeros 143 | 144 | 145 | BundleIdentifier 146 | com.apple.Automator.AddNumbersToFinderNames 147 | CFBundleVersion 148 | 1.3.2 149 | CanShowSelectedItemsWhenRun 150 | 151 | CanShowWhenRun 152 | 153 | Category 154 | 155 | AMCategoryFilesAndFolders 156 | 157 | Class Name 158 | AMRenameFinderItemsAction 159 | InputUUID 160 | A5A831C5-9875-4F8B-AEAA-7D8FBEADC6E6 161 | Keywords 162 | 163 | Name 164 | File 165 | Folder 166 | Add 167 | Number 168 | Change 169 | Case 170 | Rename 171 | Date 172 | Time 173 | Set 174 | Text 175 | Find 176 | Replace 177 | Make 178 | Sequential 179 | 180 | OutputUUID 181 | 3DA9660F-5115-428D-B243-C008F6FBF475 182 | ShowWhenRun 183 | 184 | UUID 185 | 54F53524-B2F1-4C52-A2F8-FA93478E772E 186 | UnlocalizedApplications 187 | 188 | Finder 189 | 190 | arguments 191 | 192 | 0 193 | 194 | default value 195 | 0 196 | name 197 | nameDateSeparator 198 | required 199 | 0 200 | type 201 | 0 202 | uuid 203 | 0 204 | 205 | 1 206 | 207 | default value 208 | 209 | name 210 | textToFind 211 | required 212 | 0 213 | type 214 | 0 215 | uuid 216 | 1 217 | 218 | 10 219 | 220 | default value 221 | 222 | name 223 | nameSingleItem 224 | required 225 | 0 226 | type 227 | 0 228 | uuid 229 | 10 230 | 231 | 11 232 | 233 | default value 234 | 235 | name 236 | ignoreCase 237 | required 238 | 0 239 | type 240 | 0 241 | uuid 242 | 11 243 | 244 | 12 245 | 246 | default value 247 | 248 | name 249 | textInput 250 | required 251 | 0 252 | type 253 | 0 254 | uuid 255 | 12 256 | 257 | 13 258 | 259 | default value 260 | 0 261 | name 262 | dateToUse 263 | required 264 | 0 265 | type 266 | 0 267 | uuid 268 | 13 269 | 270 | 14 271 | 272 | default value 273 | 0 274 | name 275 | includeExtensions 276 | required 277 | 0 278 | type 279 | 0 280 | uuid 281 | 14 282 | 283 | 15 284 | 285 | default value 286 | 287 | name 288 | replaceWithText 289 | required 290 | 0 291 | type 292 | 0 293 | uuid 294 | 15 295 | 296 | 16 297 | 298 | default value 299 | 0 300 | name 301 | renameItems 302 | required 303 | 0 304 | type 305 | 0 306 | uuid 307 | 16 308 | 309 | 17 310 | 311 | default value 312 | 313 | name 314 | defaultName 315 | required 316 | 0 317 | type 318 | 0 319 | uuid 320 | 17 321 | 322 | 18 323 | 324 | default value 325 | 1 326 | name 327 | startingNumber 328 | required 329 | 0 330 | type 331 | 0 332 | uuid 333 | 18 334 | 335 | 19 336 | 337 | default value 338 | 0 339 | name 340 | numberSeparator 341 | required 342 | 0 343 | type 344 | 0 345 | uuid 346 | 19 347 | 348 | 2 349 | 350 | default value 351 | 0 352 | name 353 | datePlacement 354 | required 355 | 0 356 | type 357 | 0 358 | uuid 359 | 2 360 | 361 | 20 362 | 363 | default value 364 | 0 365 | name 366 | caseIndicator 367 | required 368 | 0 369 | type 370 | 0 371 | uuid 372 | 20 373 | 374 | 21 375 | 376 | default value 377 | 0 378 | name 379 | dateFormat 380 | required 381 | 0 382 | type 383 | 0 384 | uuid 385 | 21 386 | 387 | 3 388 | 389 | default value 390 | 0 391 | name 392 | insertionPosition 393 | required 394 | 0 395 | type 396 | 0 397 | uuid 398 | 3 399 | 400 | 4 401 | 402 | default value 403 | 0 404 | name 405 | dateSeparator 406 | required 407 | 0 408 | type 409 | 0 410 | uuid 411 | 4 412 | 413 | 5 414 | 415 | default value 416 | 2 417 | name 418 | minimumCount 419 | required 420 | 0 421 | type 422 | 0 423 | uuid 424 | 5 425 | 426 | 6 427 | 428 | default value 429 | 0 430 | name 431 | numberLocation 432 | required 433 | 0 434 | type 435 | 0 436 | uuid 437 | 6 438 | 439 | 7 440 | 441 | default value 442 | 443 | name 444 | useLeadingZeros 445 | required 446 | 0 447 | type 448 | 0 449 | uuid 450 | 7 451 | 452 | 8 453 | 454 | default value 455 | 0 456 | name 457 | singleItemOption 458 | required 459 | 0 460 | type 461 | 0 462 | uuid 463 | 8 464 | 465 | 9 466 | 467 | default value 468 | 0 469 | name 470 | renameType 471 | required 472 | 0 473 | type 474 | 0 475 | uuid 476 | 9 477 | 478 | 479 | isViewVisible 480 | 481 | location 482 | 239.500000:112.000000 483 | nibPath 484 | /System/Library/Automator/Rename Finder Items.action/Contents/Resources/Base.lproj/main.nib 485 | 486 | isViewVisible 487 | 488 | 489 | 490 | connectors 491 | 492 | workflowMetaData 493 | 494 | serviceApplicationBundleID 495 | com.apple.finder 496 | serviceApplicationPath 497 | /System/Library/CoreServices/Finder.app 498 | serviceInputTypeIdentifier 499 | com.apple.Automator.fileSystemObject 500 | serviceOutputTypeIdentifier 501 | com.apple.Automator.nothing 502 | serviceProcessesInput 503 | 0 504 | workflowTypeIdentifier 505 | com.apple.Automator.servicesMenu 506 | 507 | 508 | 509 | -------------------------------------------------------------------------------- /Resize Image for WordPress.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSBackgroundColorName 9 | background 10 | NSIconName 11 | NSActionTemplate 12 | NSMenuItem 13 | 14 | default 15 | Resize Image for WordPress 16 | 17 | NSMessage 18 | runWorkflowAsService 19 | NSSendFileTypes 20 | 21 | public.image 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Resize Image for WordPress.workflow/Contents/QuickLook/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Resize Image for WordPress.workflow/Contents/QuickLook/Preview.png -------------------------------------------------------------------------------- /Resize Image for WordPress.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Resize Image for WordPress.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Resize Images.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Resize Images 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Resize Images.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Resize Images.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Resize Images.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 409.2 7 | AMApplicationVersion 8 | 2.5 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 1.3.1 29 | AMApplication 30 | 31 | Preview 32 | 33 | AMParameterProperties 34 | 35 | percentageValue 36 | 37 | scaleMethod 38 | 39 | scaleValue 40 | 41 | sizeValue 42 | 43 | 44 | AMProvides 45 | 46 | Container 47 | List 48 | Types 49 | 50 | com.apple.cocoa.path 51 | 52 | 53 | ActionBundlePath 54 | /System/Library/Automator/Scale Images.action 55 | ActionName 56 | Scale Images 57 | ActionParameters 58 | 59 | percentageValue 60 | 75 61 | scaleMethod 62 | 1 63 | scaleValue 64 | 0 65 | sizeValue 66 | 480 67 | 68 | BundleIdentifier 69 | com.apple.Automator.ScaleImage 70 | CFBundleVersion 71 | 1.3.1 72 | CanShowSelectedItemsWhenRun 73 | 74 | CanShowWhenRun 75 | 76 | Category 77 | 78 | AMCategoryPhotos 79 | 80 | Class Name 81 | AMScaleImagesAction 82 | InputUUID 83 | 5DFED915-48FF-474B-AAA6-14860B2AD799 84 | Keywords 85 | 86 | Image 87 | Photo 88 | Scale 89 | Change 90 | 91 | OutputUUID 92 | AE65D1B3-29FA-4BC1-8F26-A2CF42667A3F 93 | ShowWhenRun 94 | 95 | UUID 96 | 2DFB3E86-1469-4BB9-8321-D4F054A62961 97 | UnlocalizedApplications 98 | 99 | Preview 100 | 101 | arguments 102 | 103 | 0 104 | 105 | default value 106 | 100 107 | name 108 | percentageValue 109 | required 110 | 0 111 | type 112 | 0 113 | uuid 114 | 0 115 | 116 | 1 117 | 118 | default value 119 | 0 120 | name 121 | scaleValue 122 | required 123 | 0 124 | type 125 | 0 126 | uuid 127 | 1 128 | 129 | 2 130 | 131 | default value 132 | 0 133 | name 134 | scaleMethod 135 | required 136 | 0 137 | type 138 | 0 139 | uuid 140 | 2 141 | 142 | 3 143 | 144 | default value 145 | 480 146 | name 147 | sizeValue 148 | required 149 | 0 150 | type 151 | 0 152 | uuid 153 | 3 154 | 155 | 156 | isViewVisible 157 | 158 | location 159 | 239.500000:112.000000 160 | nibPath 161 | /System/Library/Automator/Scale Images.action/Contents/Resources/Base.lproj/main.nib 162 | 163 | isViewVisible 164 | 165 | 166 | 167 | connectors 168 | 169 | workflowMetaData 170 | 171 | serviceApplicationBundleID 172 | com.apple.finder 173 | serviceApplicationPath 174 | /System/Library/CoreServices/Finder.app 175 | serviceInputTypeIdentifier 176 | com.apple.Automator.fileSystemObject.image 177 | serviceOutputTypeIdentifier 178 | com.apple.Automator.nothing 179 | serviceProcessesInput 180 | 0 181 | workflowTypeIdentifier 182 | com.apple.Automator.servicesMenu 183 | 184 | 185 | 186 | -------------------------------------------------------------------------------- /Unpack .icns.workflow/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSServices 6 | 7 | 8 | NSMenuItem 9 | 10 | default 11 | Unpack .icns 12 | 13 | NSMessage 14 | runWorkflowAsService 15 | NSRequiredContext 16 | 17 | NSApplicationIdentifier 18 | com.apple.finder 19 | 20 | NSSendFileTypes 21 | 22 | public.image 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Unpack .icns.workflow/Contents/QuickLook/Thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sparanoid/automator-workflows/8f5e2f77a91a2da71270ec5be41f5f7e809d2c8c/Unpack .icns.workflow/Contents/QuickLook/Thumbnail.png -------------------------------------------------------------------------------- /Unpack .icns.workflow/Contents/document.wflow: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AMApplicationBuild 6 | 419 7 | AMApplicationVersion 8 | 2.6 9 | AMDocumentVersion 10 | 2 11 | actions 12 | 13 | 14 | action 15 | 16 | AMAccepts 17 | 18 | Container 19 | List 20 | Optional 21 | 22 | Types 23 | 24 | com.apple.cocoa.path 25 | 26 | 27 | AMActionVersion 28 | 2.1.1 29 | AMApplication 30 | 31 | Finder 32 | 33 | AMParameterProperties 34 | 35 | AMProvides 36 | 37 | Container 38 | List 39 | Types 40 | 41 | com.apple.cocoa.path 42 | 43 | 44 | AMRequiredResources 45 | 46 | ActionBundlePath 47 | /System/Library/Automator/Get Selected Finder Items 2.action 48 | ActionName 49 | Get Selected Finder Items 50 | ActionParameters 51 | 52 | BundleIdentifier 53 | com.apple.Automator.Get_Selected_Finder_Items_2 54 | CFBundleVersion 55 | 2.1.1 56 | CanShowSelectedItemsWhenRun 57 | 58 | CanShowWhenRun 59 | 60 | Category 61 | 62 | AMCategoryFilesAndFolders 63 | 64 | Class Name 65 | AMGetSelectedFinderItemsAction 66 | InputUUID 67 | E62FEA3E-7E00-4B67-99CE-A780C7A36C2A 68 | Keywords 69 | 70 | OutputUUID 71 | C0F22638-548C-4534-AA22-20B213E1F0D8 72 | UUID 73 | 57255359-7FC2-4021-B573-924607F34971 74 | UnlocalizedApplications 75 | 76 | Finder 77 | 78 | arguments 79 | 80 | 81 | 82 | 83 | action 84 | 85 | AMAccepts 86 | 87 | Container 88 | List 89 | Optional 90 | 91 | Types 92 | 93 | * 94 | 95 | 96 | AMActionVersion 97 | v.1.0.2 98 | AMApplication 99 | 100 | Automator 101 | 102 | AMParameterProperties 103 | 104 | variableUUID 105 | 106 | isPathPopUp 107 | 108 | selectedVariableUUID 109 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 110 | 111 | 112 | AMProvides 113 | 114 | Container 115 | List 116 | Types 117 | 118 | * 119 | 120 | 121 | AMRequiredResources 122 | 123 | ActionBundlePath 124 | /System/Library/Automator/Set Value of Variable.action 125 | ActionName 126 | Set Value of Variable 127 | ActionParameters 128 | 129 | variableUUID 130 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 131 | 132 | BundleIdentifier 133 | com.apple.Automator.Set_Value_of_Variable 134 | CFBundleVersion 135 | 1.0.2 136 | CanShowSelectedItemsWhenRun 137 | 138 | CanShowWhenRun 139 | 140 | Category 141 | 142 | AMCategoryUtilities 143 | 144 | Class Name 145 | Set_Value_of_Variable 146 | InputUUID 147 | B283A899-8B01-4EF2-B8B2-0C769F1AB304 148 | Keywords 149 | 150 | variable 151 | binding 152 | input 153 | output 154 | storage 155 | 156 | OutputUUID 157 | A951AB33-1069-4D21-BC6F-1B36E151F451 158 | UUID 159 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C 160 | UnlocalizedApplications 161 | 162 | Automator 163 | 164 | arguments 165 | 166 | 0 167 | 168 | default value 169 | 170 | name 171 | variableUUID 172 | required 173 | 0 174 | type 175 | 0 176 | uuid 177 | 0 178 | 179 | 180 | isViewVisible 181 | 182 | location 183 | 328.500000:178.000000 184 | nibPath 185 | /System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib 186 | 187 | isViewVisible 188 | 189 | 190 | 191 | action 192 | 193 | AMAccepts 194 | 195 | Container 196 | List 197 | Optional 198 | 199 | Types 200 | 201 | * 202 | 203 | 204 | AMActionVersion 205 | v.1.0.2 206 | AMApplication 207 | 208 | Automator 209 | 210 | AMParameterProperties 211 | 212 | variableUUID 213 | 214 | isPathPopUp 215 | 216 | selectedVariableUUID 217 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 218 | 219 | 220 | AMProvides 221 | 222 | Container 223 | List 224 | Types 225 | 226 | * 227 | 228 | 229 | AMRequiredResources 230 | 231 | ActionBundlePath 232 | /System/Library/Automator/Get Value of Variable.action 233 | ActionName 234 | Get Value of Variable 235 | ActionParameters 236 | 237 | variableUUID 238 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 239 | 240 | BundleIdentifier 241 | com.apple.Automator.Get_Value_of_Variable 242 | CFBundleVersion 243 | 1.0.2 244 | CanShowSelectedItemsWhenRun 245 | 246 | CanShowWhenRun 247 | 248 | Category 249 | 250 | AMCategoryUtilities 251 | 252 | Class Name 253 | Get_Value_of_Variable 254 | IgnoresInput 255 | 256 | InputUUID 257 | CEB357CA-98E5-4D02-9AEC-365BB111F0D8 258 | Keywords 259 | 260 | variable 261 | binding 262 | input 263 | output 264 | storage 265 | 266 | OutputUUID 267 | 54F6A1CA-FD3F-4DAB-BD40-AD3AADC4BDDD 268 | UUID 269 | 1607026E-D235-4CBA-844A-CF9A6362BB37 270 | UnlocalizedApplications 271 | 272 | Automator 273 | 274 | arguments 275 | 276 | 0 277 | 278 | default value 279 | 280 | name 281 | variableUUID 282 | required 283 | 0 284 | type 285 | 0 286 | uuid 287 | 0 288 | 289 | 290 | isViewVisible 291 | 292 | location 293 | 328.500000:220.000000 294 | nibPath 295 | /System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib 296 | 297 | isViewVisible 298 | 299 | 300 | 301 | action 302 | 303 | AMAccepts 304 | 305 | Container 306 | List 307 | Optional 308 | 309 | Types 310 | 311 | com.apple.cocoa.string 312 | 313 | 314 | AMActionVersion 315 | 2.0.3 316 | AMApplication 317 | 318 | Automator 319 | 320 | AMParameterProperties 321 | 322 | COMMAND_STRING 323 | 324 | CheckedForUserDefaultShell 325 | 326 | inputMethod 327 | 328 | shell 329 | 330 | source 331 | 332 | 333 | AMProvides 334 | 335 | Container 336 | List 337 | Types 338 | 339 | com.apple.cocoa.string 340 | 341 | 342 | ActionBundlePath 343 | /System/Library/Automator/Run Shell Script.action 344 | ActionName 345 | Run Shell Script 346 | ActionParameters 347 | 348 | COMMAND_STRING 349 | iconutil -c iconset "$1" 350 | CheckedForUserDefaultShell 351 | 352 | inputMethod 353 | 1 354 | shell 355 | /bin/bash 356 | source 357 | 358 | 359 | BundleIdentifier 360 | com.apple.RunShellScript 361 | CFBundleVersion 362 | 2.0.3 363 | CanShowSelectedItemsWhenRun 364 | 365 | CanShowWhenRun 366 | 367 | Category 368 | 369 | AMCategoryUtilities 370 | 371 | Class Name 372 | RunShellScriptAction 373 | InputUUID 374 | 500D7693-6373-4B8D-8123-6D6AA5B589E7 375 | Keywords 376 | 377 | Shell 378 | Script 379 | Command 380 | Run 381 | Unix 382 | 383 | OutputUUID 384 | 745ADA45-1D23-49D5-99CA-FF9584509DD7 385 | UUID 386 | B9F90851-5A35-48B4-AE10-5715F725506C 387 | UnlocalizedApplications 388 | 389 | Automator 390 | 391 | arguments 392 | 393 | 0 394 | 395 | default value 396 | 0 397 | name 398 | inputMethod 399 | required 400 | 0 401 | type 402 | 0 403 | uuid 404 | 0 405 | 406 | 1 407 | 408 | default value 409 | 410 | name 411 | source 412 | required 413 | 0 414 | type 415 | 0 416 | uuid 417 | 1 418 | 419 | 2 420 | 421 | default value 422 | 423 | name 424 | CheckedForUserDefaultShell 425 | required 426 | 0 427 | type 428 | 0 429 | uuid 430 | 2 431 | 432 | 3 433 | 434 | default value 435 | 436 | name 437 | COMMAND_STRING 438 | required 439 | 0 440 | type 441 | 0 442 | uuid 443 | 3 444 | 445 | 4 446 | 447 | default value 448 | /bin/sh 449 | name 450 | shell 451 | required 452 | 0 453 | type 454 | 0 455 | uuid 456 | 4 457 | 458 | 459 | isViewVisible 460 | 461 | location 462 | 328.500000:262.000000 463 | nibPath 464 | /System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib 465 | 466 | isViewVisible 467 | 468 | 469 | 470 | connectors 471 | 472 | 0A84F978-514B-487F-8072-20509A98C122 473 | 474 | from 475 | 57255359-7FC2-4021-B573-924607F34971 - 57255359-7FC2-4021-B573-924607F34971 476 | to 477 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C - 8C5D1A60-C8D0-4328-9390-AAAB5639899C 478 | 479 | 1C3401CD-A4E7-44D3-90C9-96A8A5B04B92 480 | 481 | from 482 | 8C5D1A60-C8D0-4328-9390-AAAB5639899C - 8C5D1A60-C8D0-4328-9390-AAAB5639899C 483 | to 484 | 1607026E-D235-4CBA-844A-CF9A6362BB37 - 1607026E-D235-4CBA-844A-CF9A6362BB37 485 | 486 | DD856124-FA62-4813-B891-EB3E675D443B 487 | 488 | from 489 | 1607026E-D235-4CBA-844A-CF9A6362BB37 - 1607026E-D235-4CBA-844A-CF9A6362BB37 490 | to 491 | B9F90851-5A35-48B4-AE10-5715F725506C - B9F90851-5A35-48B4-AE10-5715F725506C 492 | 493 | 494 | variables 495 | 496 | 497 | UUID 498 | 71C93B7D-DE3A-4358-8061-607CDAB8D344 499 | identifier 500 | com.apple.Automator.Variable.Storage 501 | name 502 | IcnsFile 503 | 504 | 505 | workflowMetaData 506 | 507 | serviceApplicationBundleID 508 | com.apple.finder 509 | serviceApplicationPath 510 | /System/Library/CoreServices/Finder.app 511 | serviceInputTypeIdentifier 512 | com.apple.Automator.fileSystemObject.image 513 | serviceOutputTypeIdentifier 514 | com.apple.Automator.nothing 515 | serviceProcessesInput 516 | 0 517 | workflowTypeIdentifier 518 | com.apple.Automator.servicesMenu 519 | 520 | 521 | 522 | --------------------------------------------------------------------------------