AppleScript not working when launched by Raycast but it works running from Script Editor
Hi there!
I'm trying to replicate the move command from Finder. The goal is to move selected Finder items to an external location, such as an external drive. By moving it means it needs to remove the previously selected items in Finder, not sending them to Trash, just wipe them out immediately. Another option I would like be able to get is the suffix number renaming if an item already exists in destination.
I did achieve the move script so far, but it only runs from Script Editor, Raycast throws an error message: Process tried to run but failed.
Both removing and renaming are not yet in this script but if anyone is willing to help me I would appreciate a lot.
TiA