This script allows you to perform a function known as "invert selection"/ If you have used Total Commander on MS Windows you might know this extremely useful function. Unfortunately on MacOS, such a function is not accessible or at least I have no idea how to perform it in Finder. Hence this script was born. It is not optimized, I haven't tested it in huge folders like 1000 elements, however there should be no problem. There are two ways you can use this script, either by assigning it to a Keyboard Commander command or creating an automator service that will execute this script. This approach has a bonus of being able to put the thin in the Finder's contextual menu. Here you go, enjoy
https://mao.s.elten.blog/wp-content/uploads/sites/627/2023/07/Odwroc-zaznaczenie.scpt_.zip
By Nuno, 30 July, 2023
Forum
macOS and Mac Apps