collection:Finders_Selection
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| collection:Finders_Selection [2015/12/23 12:22] – Add HR and subtitle JMichaelTX | collection:Finders_Selection [2021/12/07 05:48] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{: | {{: | ||
| - | ====== | + | |
| + | ====== | ||
| **with the // | **with the // | ||
| As you probably know, you can select multiple files and/or folders in the Mac Finder, and then perform a manual operation on the entire selection, like copy, move, delete, apply tags, etc. If you have an operation that you often perform, then Keyboard Maestro can most likely automate that for you. | As you probably know, you can select multiple files and/or folders in the Mac Finder, and then perform a manual operation on the entire selection, like copy, move, delete, apply tags, etc. If you have an operation that you often perform, then Keyboard Maestro can most likely automate that for you. | ||
| + | |||
| ===== Potential Use Cases ===== | ===== Potential Use Cases ===== | ||
| + | |||
| Some examples of Keyboard Maestro macros performing operations (actions) on a Finder Selection: | Some examples of Keyboard Maestro macros performing operations (actions) on a Finder Selection: | ||
| - Move the selected files to another folder you often use for a specific purpose | - Move the selected files to another folder you often use for a specific purpose | ||
| - Assigning Mac Tags to the selection (can't be done via AppleScript) | - Assigning Mac Tags to the selection (can't be done via AppleScript) | ||
| - Renaming the selected files using a consistent prefix and number scheme | - Renaming the selected files using a consistent prefix and number scheme | ||
| - | - [FIXME JM: should we add more?] | ||
| - | [FIXME | ||
| - | |||
| - | ---- | ||
| ===== Setup of the For Each Item Action ===== | ===== Setup of the For Each Item Action ===== | ||
| Line 22: | Line 22: | ||
| {{: | {{: | ||
| - | |||
| - | ---- | ||
| ===== Examples ===== | ===== Examples ===== | ||
| - | **Here are some detailed examples.** \\ | ||
| The // | The // | ||
| Note the consistency between the first three examples. And note that you could do all three in a single For Each action if you wanted (you would have to ensure the Move was done last of course, as that will change the path to the file). | Note the consistency between the first three examples. And note that you could do all three in a single For Each action if you wanted (you would have to ensure the Move was done last of course, as that will change the path to the file). | ||
| - | |||
| - | ---- | ||
| ==== #1 - Move Selected Files ==== | ==== #1 - Move Selected Files ==== | ||
| - | To move the files to the Documents folder, you would do this:\\n | + | To move the files to the Documents folder, you would do this:\\ |
| - | [FIXME | + | {{ : |
| - | + | ||
| - | {{ : | + | |
| - | + | ||
| - | + | ||
| - | ---- | + | |
| ==== #2 - Assign Mac Tags to Selection ==== | ==== #2 - Assign Mac Tags to Selection ==== | ||
| To change the Finder Tags, you would use: | To change the Finder Tags, you would use: | ||
| - | + | {{ : | |
| - | [FIXME | + | |
| - | {{ : | + | |
| - | + | ||
| - | ---- | + | |
| ==== #3 - Rename Selected Files ==== | ==== #3 - Rename Selected Files ==== | ||
| + | You could rename the selected files from .txt to .html like this: | ||
| - | + | {{ :action:rename-selected.png?nolink& | |
| - | [ | + | |
| - | Set the Finder Label to Red (using the Plug In action for Set the Finder Label). | + | |
| - | + | ||
| - | [FIXME | + | |
| - | {{ :action:label-red.png?nolink |}} | + | |
| - | + | ||
| - | ---- | + | |
| ==== #4. Pass the File Path to a Shell Script ==== | ==== #4. Pass the File Path to a Shell Script ==== | ||
| Line 69: | Line 49: | ||
| You can pass each file to a shell script using something like this: | You can pass each file to a shell script using something like this: | ||
| - | {{ : | + | {{ : |
| - | + | ||
| - | ---- | + | |
| ==== #5. Combining Multiple Actions in One For Each Item Action ==== | ==== #5. Combining Multiple Actions in One For Each Item Action ==== | ||
| - | |||
| This macro will take the selected items in the Finder and perform the following Actions: | This macro will take the selected items in the Finder and perform the following Actions: | ||
| Line 89: | Line 66: | ||
| {{ : | {{ : | ||
| - | ---- | ||
| ===== Downloads ==== | ===== Downloads ==== | ||
| + | |||
| - {{: | - {{: | ||
| - | ---- | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | ==== Documentation ==== | ||
| - | | + | ==== Actions ==== |
| + | |||
| + | * [[action: | ||
| + | * [[action: | ||
| + | * [[action: | ||
| + | * [[action: | ||
| + | |||
| + | ==== Collections ==== | ||
| + | |||
| + | * [[collection: | ||
| + | * [[collection: | ||
| + | * [[collection: | ||
| + | |||
| + | ==== Tokens==== | ||
| + | |||
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[token: | ||
| ==== Forum ==== | ==== Forum ==== | ||
| + | |||
| * [Working with the Finder Selection](https:// | * [Working with the Finder Selection](https:// | ||
| - | ==== External References ==== | ||
| - | * TBD | ||
collection/Finders_Selection.1450873369.txt.gz · Last modified: by JMichaelTX
