![]() Now when any file is added to the Input folder it automatically gets a blue tag. Set Set to Tags (add), Of File to %Variable%Path%, and to to Blue. This is one of macOS’s built in tags and it will just let me know that any image tagged with it is optimised for the web.Īdd a Set File Attribute from the File category under Execute the Following Actions. ![]() The first thing I want to do is add a blue tag to it. Now that the macro triggers when I file is added to the Input folder and then pulls it in, it’s time to actually start doing something to it. If it does matter for you, explore some of the other options. Pulling in the files.įor this macro, it doesn’t matter what order the files are operated on so I’m going to leave it Alphabetically. Click the purple folder icon and select the Input folder again. The next major step is to pull in all the files in the Input folder.Īdd a For Each Path in Folder from the File category. Now I’ve got a macro that will trigger when anything is added to the Input folder but it doesn’t do anything yet or have access to the files in that folder. Ensure the trigger is set to Adds An Item and Ignore Partial Files and it’s ready to go. Click the small purple folder icon and then select the Input folder. Click New Trigger and select Folder Trigger.īy default, the folder trigger targets the Downloads folder. Call it something descriptive like Watch Folder for Web Optimisation. Open Keyboard Maestro and create a new macro. I’ve two folders, one called Input the other called Output, inside a folder called KM Test for this lesson but the folders can be anywhere. The first step is to set up the folder structure in Finder. The macro works on images, but it will run up to the last step on any kind of file. The macro gives each file a blue tag, moves each file to an Output folder and opens each file in ImageOptim. Whenever a file, or group of files, is added to the folder, it triggers and runs the macro on them. Keyboard Maestro watches an Input folder. Building the Macro Setting It Upīefore starting, I'll break down exactly how this macro works. ![]() #KEYBOARD MAESTRO USER INPUT FREE#If you’re going to make my macro exactly, you also need a free copy of ImageOptim. #KEYBOARD MAESTRO USER INPUT FULL#It’s $36 for a full licence but there’s a free trial so you don’t need to pay to follow this tutorial. You obviously need a copy of Keyboard Maestro.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |