I would like to assign “Tags...” in the File menu of Finder to a keyboard shortcut.
I notice in File menu it is not possible to use the arrow keys to go onto/down to the colour labels or “Tags...” itself
In the Keyboard Maestro Interface Control / Select or Show a Menu Item “Tags...“ does not appear as an option and typing “Tags...” in the Menu Item does not cause any assigned shortcut to option the Tags window in Finder for any selected file.
I have tired to assign a shortcut through System Preferences / Keyboard / Shortcuts. Again without success.
The only way I have been able to assign a shortcut in Keyboard Maestro is:
take a screen shot of the ‘Edit Tags’ icon on the toolbar;
then use the screen shot with the Move or Click Mouse action.
Would another Keyboard Maestro user have a better solution?
(Note: I have used ellipsises for the ‘...’ not 3 dots.)
An item is definitely selected. Tags.kmmacros (1.7 KB)
My macro is attached.
The entries in the engine.log are:
2018-10-24 08:36:22 Execute macro “Tags” from trigger The Hot Key ⌃⌥T is pressed
2018-10-24 08:36:22 Select Menu Item failed to find target menu item File➤Tags….
2018-10-24 08:36:22 Select Menu Item failed to find target menu item File➤Tags…. Macro “Tags” cancelled (while executing Select “Tags…” in the Menu “File” in Finder).
I also note the following repeated entry in the engine.log:
2018-10-24 08:40:08 Invalid Plug In Action with Name Set Finder Label
The only difference I can see that your macro works on 10.12.6 and I am running 10.14.
Then the issue is most likely due to macOS Mojave. Sorry, but I can't help you with that since I'm not running Mojave, and don't plan to for many months.
If of any help and as an alternative to the Finder menu, I use a "tag" command line utility to tag my photos from the finder with the help of a KM macro.
Hi @VWKM, in macOS Mojave there are probably still some bugs and to it probably also belongs that one cannot create a shortcut for "Tags ..." nor can work with the arrow keys.
I made something with an AppleScript and with the Click at Found Image action. Maybe it will help you.
@appleainer Thanks! I tried to get this to work using a hotkey, but that doesn't seem to work. That is, when I select a file/folder in Finder and trigger the hotkey, it throws an error. Also, when you try to add a tag to multiple files, you have to manually add the tag to each file with each prompt. Is that the expected behavior? Or is there a way to have the added tag apply to all selected files/folders? Vielen Dane für Irhe Hilfe!
Using just a few keystrokes, you can access the Tags. The steps below will tag a file Red. You can vary the number of down arrows to add a different tag. Of course, this assume that you have a file selected. I did this with Mac OS Monterey 12.2.1.