@ALYB, of course if you want to use that script in KM, then you must:
- Set the destinationPath in a KM Variable
- Modify the script to read that KM Variable
- Put the script in an Execute AppleScript Action
- And you probably should add some error checking.
- Add any notifications you may want to confirm move, or report errors
The core of this macro is just as simple, but it does much more:
MACRO: [FINDER] Move Selected Finder Items to Choose Folder [Example]
Here's the core Action:
If anyone wants to modify the process, you don't need to know any scripting. For example, if you want to use a fixed Destination Folder, then all you need do is disable the Prompt for User, and add a simple Set Variable to Text action.
The main advantage of using a script for this is if you need to move many files (>> 100), then the script may be faster.
Questions?
