← Home About iOS Shortcuts Workflows Flowers & Blooms Fujifilm X Fujifilm Recipes macOS Shortcut Photos Archive Also on Micro.blog
  • Colors balance shift is a key part of Film recipes so my Shortcut would fail to match as white balance would inexplicably reset via Q. Fujifilm found the bug too: “bug has been fixed, which caused that WB SHIFT saved as ‘CUSTOM’ would be disabled by operating the ’Q’ menu.”

    → 6:42 AM, Apr 3
  • Latest Shortcuts for macOS Has Vast Improvements

    What's new in Shortcuts in iOS 15.4 and macOS 12.3:

    “End If” and “End Repeat” can now be dragged in the Shortcuts editor

    That’s a big deal. I’ve abandoned attempts at refactoring shortcuts solely because I couldn’t move entire blocks of If statements.

    “Combine Images” no longer produces empty images on macOS

    I ran into this bug right away and couldn’t believe it. 

    The "Shortcuts Events" app, which provides scripting functionality for Shortcuts on macOS, no longer needs to be opened manually before it can be used from scripts

    This is potentially a big deal? I don’t know enough about how Shortcuts works but I’ve run into many problems running Shortcuts via apps like Hazel, and I bet some of them were because of the above issue they resolved.

    This is a great update.

    → 7:00 AM, Mar 19
  • macOS Shortcuts, Logger for Shortcuts, Shortcuts Temporary Files, and Hazel

    Logger for Shortcuts provided me exactly the information to figure out how to get Hazel to properly use a Shortcut against a file. Now I can have Hazel run a specific Shortcut against a file whenever a new file shows up.

    Background: for some reason when Hazel starts a Shortcut, the Shortcut operates on a copy of the file in a temporary folder. My programmer brain assumed that the Shortcut Input would be immutable. Nope. Turns out Shortcut Input is a temporary file that all Shortcut operations (like exiftool) must then run against. So while you think you’ve been working on a specific file in a specific folder, Shortcuts has been working on a copy of it all along in a temporary folder. Thus you must output the Shortcut Input to provide the file you’ve been modifying (in this case with exiftool). It’s very frustrating for Shortcuts to override paths with its own temporary paths but thanks to Logger for Shortcuts I quickly figured out this vexing issue. Already the app is worth $9.99 because now I’ve got the time saving Hazel ruleset I always wanted.

    Here’s the Hazel embedded Apple Script I have to run to make a Shortcut with a file output (Shortcut Input (gah)) to work. I suppose now that I’ve fixed the Shortcuts issue this could now be more simply done… but it works (I’ve never had any success with running Hazel’s built in Shortcuts capability and right now it can’t even list the available Shortcuts):

    do shell script “shortcuts run ’Shortcut Name Modified for use with Hazel’ -i ” & quoted form of POSIX path of theFile & “ -o ” & quoted form of POSIX path of theFile

    Logger for Shortcuts output clearly showing me the ridiculous temporary folder Shortcuts is using to work on Shortcut Input:

    Screen Shot 2022 03 13 at 7 58 26 AM

    → 8:01 AM, Mar 13
  • Dynamic Range Priority Added to "What was my Fujifilm Recipe?" macOS 12 Shortcut

    I’ve updated my “What was my Fujifilm Recipe?” macOS 12 Shortcut. It now includes support for Dynamic Range Priority. The “Scanned Superia” recipe from fujixweekly.com is added. The Shortcut now uses SHA1 hashing, as on modern processors it is much faster than MD5 (Intel and M1 Macs). I removed Grain since I often override it and it doesn’t seem important to ID recipes. Finally, I prefixed “Saturation " to the saturation keyword so that it is clear as to what that keyword refers to.

    You can get more information at the Shortcut’s page or grab the Shortcut here. Remember, this requires a Mac with exiftool to be available and in your path (or you can manually hardcode the path in the Shortcut).

    → 9:47 AM, Jan 29
  • macOS Shortcut: What's my Fujifilm Focal Length?

    Since I now have the TCL-X100II attachment and I make ample use of the Digital Teleconverter feature, I made a quick macOS Shortcut to add Fujifilm Effective Focal Length as a metadata Keyword. This Shortcut requires exiftool in your path. It’s a modified version of What’s My Fujifilm Recipe? Shortcut.

    This is only tested on straight out of the camera JPEGs. I added it to my Batch Processor shortcut that also runs What’s My Fujifilm Recipe? Shortcut(example of that is linked to on that Shortcut page).

    So photos imported into macOS Photos can now have the effective focal length as a Keyword. That’s very useful as I can search for it or make Smart Albums with it.

    This Shortcut still has to output exiftool’s results to a temporary file as it errors on me if I try to read the results from only console (aka Shell Script Result).

    Get the Shortcut: What’s my Fujifilm Focal Length? Shortcut

    → 9:48 AM, Jan 22
  • “What was my Fujifilm Recipe?” macOS Shortcut update: exiftool now preserves the original file dates (-P) and it now overwrites the original file (-overwrite_original). I also added a Shortcut example for batch processing photos using a selection in Finder. Find all this on the Shortcut’s webpage.

    → 8:36 AM, Dec 21
  • Better B&W Recipe Detection and exif Keywords added to macOS "What was my Fujifilm Recipe" Shortcut

    I know that many people choose Fujifilm cameras for black and white photography. I hadn’t explored B&W photography yet so the original macOS “What was my Fujifilm Recipe” didn’t include one specific B&W recipe ingredient: BWAdjustment (Warm/Cool aka WC). So to better match black and white recipes, I’ve added the BWAdjustment exif tag that includes Warm/Cool (WC). Unfortunately, Magenta & Green (MG) setting for black and white toning doesn’t seem to be available in exiftool. So only WC is in BWAdjustment. Despite that, BWAdjustment with Saturation and White Balance should help make B&W film recipes to be a bit more unique for matching.

    Finally, this latest Shortcut now can be silenced and keywords can be added to a photo that has a recipe match. By default, the Shortcut will add to a photo separate keywords “Film Recipe” and the matched Recipe name. During setup you can override this by deleting AddKeyword or changing it to anything else. The shortcut also now allows you to disable alerts in case you need it to be silent such as for scripting/further automation. You can override this in setup by deleting NoAlerts or changing it to anything else.

    Go to the macOS Film Recipe Shortcut page or download the updated shortcut here: https://www.icloud.com/shortcuts/eb2aff4ed3654b00a0b3bbf972ebf851

    → 10:06 AM, Dec 4
  • Shortcuts for macOS really makes me want to say many oaths 🤬

    → 5:00 PM, Dec 3
  • macOS 12 Shortcut: What was my Fujifilm Recipe?

    Screen Shot 2021 11 24 at 12 32 51 PM

    NOTE: the link to this Shortcut, and then its changelog, is at the end of this page.

    About

    I’ve created a macOS 12 only Shortcut to remind me what Fujifilm Recipe or Film Simulation I used for my off the camera photos. It requires exiftool in your path (manually or via Homebrew etc). For some reason I couldn’t successfully compare dictionaries as text in an if statement so I am using hash.

    This Shortcut is particularly handy if you use Apple’s Photos app on macOS and iOS. Photos makes searching Keywords easy.Photos Keywords

    License

    This shortcut, possibly against best practice, is in the public domain for any use. Please use it and adapt it however you wish.

    But it’s always so very nice to give people credit/attribution.

    Detail

    This Shortcut does the following:

    1. Runs exiftool against your chosen photo to get its metadata
    2. Matches the exifdata against a dictionary of known recipes (you can customize this)
    3. If there’s a known recipe match,
      1. it can alert you and/or
      2. use exiftool to keyword your chosen photo with “film recipe”, the matched recipe name, film simulation and saturation mode. NOTE: exiftool will modify your photo’s metadata
    4. If there’s no known recipe match, the Shortcut will at least tell you
      1. what film simulation and saturation modes were used and,
      2. it can also use exiftool to add “unknown recipe” and the film simulation and saturation keywords. Again, exiftool will modify the photo’s metadata.

    I’ll update this Shortcut as I make it more sophisticated. I apologize in advance if it doesn’t seem to work for you :-)

    Oh, and of course, all built-in or slightly modified recipes come from Fuji X Weekly and Life, Unintended.

    Some Instructions for Use

    So this Shortcut is tested on Straight Out of the Camera JPEGs from an X100V (X-Trans IV class camera). It requires exiftool as it can add keywords to a matched photo.

    Be sure to add exiftool's path in the Shortcut if exiftool isn’t in your system path. There's three different places where you may need to add the path in this Shortcut.

    You also need to add your own Recipes using the exact Schema in the FilmRecipe text box. Run this against a photo with a new recipe & get the JSON from /tmp/fujirecipelookup.txt and appropriately add to the FilmRecipe definition text box. Hashing is annoying like that.

    By default, this Shortcut provides no alerts and it adds keywords to processed JPEGs.

    Hint: if you allow the Shortcut access to Finder’s Quick Access, you can then right click an image in Finder, go to Quick Actions, and use the Shortcut! Or, if previews/column mode is enabled in Finder, left click an image and the Shortcut will show up below the image preview. Handy!

    Batch processing: You can call this Shortcut in another Shortcut that uses Repeat with Each to process multiple JPEGs in one go via Finder Quick Actions (example here). You must enable Quick Actions in Shortcut settings. You can even chain additional shortcuts such as with my “What’s my Fujifilm Focal Length” Shortcut.

    Download

    Download this Shortcut from iCloud.com (you'll need to give the shortcut access during its first run -- the most seamless choice would be Always Allow):

    https://www.icloud.com/shortcuts/50fc3355df8743329e29e4de76eaed2c

    Changelog (I’ll update the iCloud link for each dated “release”):

    Shortcut by Ryan Mikulovsky. [www.distortions.net](http://www.distortions.net)
    Only tested on X100V metadata. Requires macOS 12 and exiftool.

    v.20220528 - Fixed some errors in settings of various film simulations such as The Rockwall, Optima 200.

    v.20220129 - Added support for Dynamic Range Priority & added fujixweekly.com’s Scanned Superia recipe. Use SHA1 hashing instead of MD5. SHA1 is faster on modern hardware. I used MD5 originally just because I was used to seeing it ;-) Added prefix of “Saturation ” to the Saturation tag because it’s easy to figure what that number and parenthetical means.

    v.20220122 - Removed Grain Effect since it is unlikely to affect results and it is probably the most likely setting to be overridden depending on the photography scenario (well, at least for me). YMMV.

    v.20211220 - With exiftool, use -P to preserve file dates and use -overwrite_original to avoid backup copies of photos. Include film simulation and saturation in keywords for recipe matches and no matches. Split out the film simulation and saturation into their own keywords.

    v.20211211 - make sure only JPEGs or JPGs are processed. RAW files are not developed though they can include a thumbnail of the developed JPEG.

    v.20211208 - added exiftool keywording to photos with unknown recipes — it’ll keyword a photo with unknown recipe and then film mode/simulation (saturation). Did some clean-up and added more comments.

    v.20211204 - added BWAdjustment to better match with B&W recipes. Added ability for shortcut to Keyword processed photos with “Film Recipe” and the determined recipe. As always, run this against a photo with a new recipe & get the JSON from /tmp/fujirecipelookup.txt and appropriately add to the FilmRecipe definition text box. Added setup to configure the shortcut to show alerts or to not add recipe keywords to a processed photo.

    v.20211203 - added AlertMode so users can turn off alerts for scripting. Change NoAlerts in text block above to anything else if you want alert prompts. NoAlerts is used to turn off alert prompts. Use NoKeywords in keyword variable to not add keywords to processed images.

    v.20211124 - Remove Dynamic Range because there is too much variability. There’s enough variables that removing DR from match shouldn’t result in false-positives. This allowed me to remove recipes that only had their DR adjusted (mostly because I accidentally set the wrong DR :-p)

    v.20211123 - Film Simulations that come with this shortcut are mostly from Fuji X Weekly at [fujixweekly.com.](https://fujixweekly.com.) I’ve tweaked some of the simulations and those have parentheticals in the keys in the FilmSimulation text box.
    20211123 - added a few more recipes I use, added missing photo file paths, restrict file input to just images.

    20211121 - initial release

    → 5:25 PM, Nov 21
  • With macOS 12.0.1 Shortcuts’ Run Shell Script, Shortcuts often crashes when reading stdout text. After much experimentation, my workaround: send output to a file and then use Shortcut’s File function to read the file into the workflow.

    → 10:33 AM, Nov 21
  • As a follow up, I’ve updated an older Fujifilm Get Film Simulation iOS Shortcut to now include ACROS and Monochrome simulations. This has only been tested on JPEGs from an X100V. Get this not well tested iOS Shortcut here.. For everyone else, enjoy a stuffing waffle using the Velvia film simulation.

    crispy stuffing waffle
    → 4:26 PM, Oct 17
  • I had one last use of Dropbox with a iOS Shortcut. Now that iOS 15 supports file operations anywhere in iCloud, Dropbox is a goner.

    → 6:20 PM, Sep 21
  • If you use recent Fujifilm camera (e.g. X100V), they have neat film simulations. I’ve made a iOS 15 Shortcut that’ll get the film sim from EXIF of a Fujifilm JPEG. Handy if you need a quick reminder about what film sim you used. Doesn’t yet work on B&W and sepia sims.

    → 1:40 PM, Sep 19
  • I can hardly wait for Shortcuts on MacOS. That’s my favorite announcement from WWDC. Automator never clicked for me. I’m willing to wait so bugs hopefully won’t destroy my Shortcuts or iCloud data.

    → 7:12 PM, Jun 8
  • I’ve always loved listening to entire albums, as is evidence by my iOS Shortcut to randomize complete albums in track order. I don’t need that anymore. The Albums app is everything I always wanted Music.app to be. Shoutout to MacStories for letting me know about it!Albums app for iOS showing the queue as... albums. Lovely.

    → 4:02 PM, Jun 5
  • I created a shuffle albums Shortcut a while back. It’s now retired for the iOS Albums app. It’s great with its focus on albums and I love its insights. Album’s new releases section isn’t polluted with artists from Apple Music’s Radio.

    → 1:20 PM, May 15
  • iOS Shortcut: RaspberryShake Helicorder 24 Hour Plot

    I rapidly made a iOS 14 Shortcut that automatically pulls the last 24 hours of helicorder plots from your #RaspberryShake (it assumes a rs.local hostname). Handy to have on the Home Screen. Let me know if there’s any problems. If you’re not in the US west coast, you’ll need to adjust to UTC from your time zone (look for Add 7 hours). Get it here.

    Older 3/28 Shortcut version

    → 6:33 AM, Mar 28
  • I used the Controller app to create an automation that triggers upon press of my Logitech doorbell button. Then I converted it to a Shortcut so that upon doorbell press, my dining room lights will flash. Real cool. So the light is Set on or off and then reversed depending on the light status.

    → 8:19 PM, Mar 26
  • I’m experimenting with HomeKit Automations converted to Shortcuts. This one, when a Home member arrives, will turn on a welcome light if the Logitech doorbell reads < 200 Lux. Otherwise it’ll flash the living room lamp to indicate an arrival.

    → 10:30 AM, Feb 20
  • Here’s my iOS Shortcut that uses ShellFish App to show all journals over the years written “On This Day”. I’m pretty pleased with it. You’ll see it relies on good file management!

    → 9:13 AM, Jan 24
  • Secure ShellFish for iOS is wonderful. Its shortcut functions allowed me to create a Shortcut that shows all journals written “On This Day” from my SSH server. Slick.

    → 7:55 PM, Jan 23
  • Siri Shortcut for Meteobridge Weather Report

    If you have a weather station with Meteobridge, I’ve made a iOS Siri Shortcut so Siri can tell you about current conditions. You can tweak the weather report using variables on Meteobridge’s template page along with other small shortcut adjustments.

    By default it reports current temperature, humidity and gusts in the last hour.

    You’ll likely want to change the shortcut’s name. I chose simply “Yard” since Siri on HomePod finds it unique enough to not do something else. And my station is in the yard.

    Upon import, It’ll ask for your Meteobridge IP address and credentials. Those are private to your device! Then be sure to go to the shortcut’s details screen to enable Internet access. Test it out on your handheld device then try on your HomePod. If you’re using HomePod, it may need a power cycle to see the shortcut……

    Get the Shortcut!

    → 11:05 AM, Oct 11
  • For iOS 14 Shortcuts, seems the volume control function for AirPlay devices is only reliable after the audio begins. So for a DarkNoise shortcut, it switches to an AirPlay device, then DarkNoise plays, and finally after a four seconds wait the volume is controlled.

    → 8:31 PM, Sep 21
  • I’m experimenting with Meteobridge Templates and Siri Shortcuts so Siri can tell me about the weather just by pulling data off the local network data logger. Works pretty good!

    → 9:05 AM, Apr 4
  • A Very Good Overcomplicated Journal Workflow

    Our journal workflow is probably more complicated than it needs to be. There’s room to optimize this workflow. It grew out of our moving away from Day One when they went to the subscription model. At the time there were some terrible limitations and we wanted none of it. Instead, we went with a semi-automated method involving iOS Shortcuts, iOS Notes, 1Writer, Homebrew (for Pandoc and LaTeX toolchain), and my favorite Swiss army knife GraphicConverter. The final archival format of each journal entry is a beautiful, open standard and searchable PDF generated by Pandoc using LaTeX (MiKTeX distribution).

    The Shortcuts step creates or seeds a range of dated Markdown files with dated headers. The filenames follow the very sortable format of “yyyy-MM-dd HH.mm.ss.md” or, for example, "2020-02-09 19.24.38.md". Of course, with Shortcuts limitations interacting with Files, I have to create the files in the Shortcuts folder and then move them to the 1Writer iCloud folder shared with my partner. 1Writer is thus setup to save all journals to iCloud folder where both my partner and I can write.

    If we need to add a photo to a journal entry, we split screen with 1Writer and Photos and drag a photo over to 1Writer. 1Writer puts the image file, with the original filename, in the same folder as the Markdown files. If we need a collage, we create it in Google Photos app (though we don’t actually use it for sync!) because it does  a really good job at collages of photos with different dimensions. Google Photos saves the collage to Photos and we go from there.

    Once a month’s worth of journal entries (Markdown files) are complete, I then have a workflow to convert the Markdown files to PDFs. This is where Finder, GraphicConverter, Pandoc and LaTeX come in.

    Since 1Writer is using iCloud, it’s all downloaded to my MacBook without any effort. So first I copy the files to a non-iCloud syncing folder in my ~home folder or into a folder with .nosync postfix.

    Next, some photos won’t be properly rotated, so I use GraphicConverter to Auto-rotate photos by clicking the Rotation icon on a thumbnail in Browse mode.

    Next, I finally run a command that I modified from somewhere on the internet. I was not talented enough to put this command together from scratch. This command is why I had to wait on installing Catalina until Homebrew was compatible with it. With the following command, you just need to have a working Pandoc and LaTeX environment with a subfolder named Archive:

    cd ~/Journal-compile/
    for f in *.md; do pandoc $f -o ./Archive/${f%.md}.pdf -t latex; done

    Then I load GraphicConverter, and in Browse mode, use the “Set Exif Date from Filename” tool on all the freshly minted PDFs. This sets the file date to the date of the journal entries. The format I use is YYYY-MM-DD. Then I copy the PDFs and source files (with images) to various Cloud and NAS folders. Of course, I keep the PDFs separate and that’s what we always reference back to. PDFExpert is currently our choice app for viewing journals since it has excellent file content search and SMB syncing.

    Now, a lot of this is broken up so the workflow isn’t onerous. But I admit for most people, this is just ridiculous. But the benefit of this workflow is our memories are in a open format where it matters with no proprietary nonsense.

    Since you likely read through all of this, here’s the Shortcut for generating blank journals. I bet it is also more complicated than it needs to be. But it works well.

    11/15/2020 - edited to reflect that we now use iCloud Shared Folders to edit journals directly in 1Writer. Previously we had to use Notes first, then transfer to a Markdown file, complicating things a bit. It also now reflects that zsh, the shell that MacOS started using since Catalina, no longer cares about path or filename spaces. But realize, there is still a very powerful Rename tool in Finder in the right click context menu,

    → 3:37 PM, Mar 6
Page 1 of 2 Older Posts →
  • RSS
  • JSON Feed
  • Micro.blog