![]() I've given an absolute path to a file called keyw.txt - I explain more about why in Points to Note below. I've given an example of that in Points to Note below. If I were stating the keyword actually in the exiftool script, I would omit the "<" and just use the "=". The "=" sign (no quotes) is then needed to let exiftool know the value that's going into the Keywords tag, but because i'm pointing at a file to obtain the new keywords, the "<" is needed after the "+" and before the "=". If I were replacing the contents of the Keywords tag (i.e. I'm using this app to add more keywords to the Keywords tag of photos, so after "exiftool" and a space I specify that tag using:īecause I'm adding to keywords that already exist, I've then put "+" (no quotes). That helps a lot with problem solving as the errors returned on the command line are a lot more specific and helpful than what's returned from the app. in a Terminal window) before building them into the app. I'll explain the exiftool command as well as I can, but if you're not very familiar with exiftool I'd advise you follow the advice I was given, which is to try executing specific exiftool statements on the command line (i.e. That target is what you select in the Ask for Finder part of the app when it runs. The "f" in "for" simply acts as the target for what's then passed to exiftool, the link being the "$f" at the end of the exiftool command. ", "do" and "done" as shown in the PDF (no quotes). Leave Shell as /bin/bash, and ensure Pass input is set to "as arguments". I'd advise checking the Allow Multiple Selection box as that enables more than one file/folder to be passed through to exiftool which will then handle them all in the one command. Select your Start at folder, which in the example is called Photos, and also the Type, which I put as Files and Folders to enable selection of both. This Ask for Confirmation is not strictly necessary as the next step also has a cancel option. I also put in some description to state that more than one file can be selected and passed to exiftool, and what happens if one or more folders are selected. This may help in case someone runs it by mistake, so they can see what's happening and cancel as needed. I put the text "Add ≥1 Keywords into that tag for photo(s)" (without the quotes) into the message area, telling anyone who runs it that this app adds to the Keywords tag of one or more photos. When you do that it will present a dialog to complete. I'd advise dragging over Ask for Confirmation first. To create your app you'll drag from the list nearest the panel into the panel itself. Once you've selected Workflow, ensure you're in the Actions tab (over on the top left), and you'll see 2 lists on the left, and a panel on the right. I'd advise starting off with a Workflow as that's easy to edit, and can be saved as an app when you no longer need to change anything. When Automator opens it gives a dialog picturing the options available. ![]() To start open (double-click) Automator.app which normally resides in the system level Applications folder of your Mac. I've attached a PDF of the workflow/app I created, alongside which I'll step through what's in there and why. I'm posting this explanation to help anyone else who wants to do something similar - updates/suggestions/corrections are always welcome. What I've done is to put a Mac OS X Automator wrapper on certain aspects of exiftool to execute what I need to do, as I find this more convenient than using the command line. I'm new to exiftool - a complete beginner, and give my thanks to StarGeek and Phil for the help they've given. INTRODUCTION - Automator Wrapper for Exiftoolįirstly I'd note that exiftool seems extremely powerful and comprehensive to me - all credit to Phil Harvey for creating it and making it freely available.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |