Skip to content
86% off$349 $48.86code BF2026

Docs

Gizmojar docs24 pages

Gizmojar Shortcuts App Actions and gizmojar:// Links

Run Gizmojar tools and recipes from the Shortcuts app or gizmojar:// links: action parameters, link syntax, tool names, options, limits and error messages.

Updated 6 min read

On this page

This page shows how to run Gizmojar tools and recipes from the Shortcuts app or from gizmojar:// links, without working in the Gizmojar window. You can open links from Terminal, scripts, launchers or other apps. Results are saved as new files. Your originals aren't changed.

Before you start

  • Automation needs a license or an active trial. After the trial ends without a license, Shortcuts actions and gizmojar:// links refuse with "Gizmojar needs a license or an active trial to run this."
  • Automation runs one tool or one saved recipe at a time. To chain steps, build a recipe first (see Recipes) and run it by name.

Gizmojar actions in the Shortcuts app

Gizmojar adds three actions to the Shortcuts app:

ActionInputsWhat it does
Run Gizmojar ToolFiles, Tool, Format, Quality, Target Size"Runs a Gizmojar tool on files and returns the results. Originals are never changed."
Run Gizmojar RecipeRecipe, FilesRuns a saved recipe and returns the result files
Optimize Clipboard Imagenone"Re-encodes the image on the clipboard and puts it back if it gets at least 5% smaller."

Gizmojar also provides App Shortcuts, so these phrases are available without building a shortcut: "Run a Gizmojar tool", "Run a Gizmojar recipe" and "Optimize the clipboard with Gizmojar".

If an earlier action hands over files as data rather than as files on disk, Gizmojar writes them to ~/Library/Caches/Gizmojar/Shortcuts/<id>/, and the results are saved next to them in that folder. That is a cache folder, so add a step that moves or saves the results if you want to keep them.

Running a tool from Shortcuts

  1. In the Shortcuts app, create a new shortcut.
  2. Add the Run Gizmojar Tool action.
  3. Set Files, for example to the Shortcut Input or to the output of an earlier action.
  4. Choose a Tool. The list has 34 tools; the default is Compress Image.
  5. Set any of the optional parameters the tool uses:
    • Format: JPEG, PNG, HEIC, TIFF, MP4, MOV, M4A, AAC, WAV or AIFF.
    • Quality: Low, Medium or High.
    • Target Size: a size such as 25 MB or 500 KB, for fit-under compression.
  6. Pass the returned result files to the next action if you need them.

Quality doesn't work the way you might expect for video. Video Compress uses its own Quality level (Best, High, Balanced, Small or Tiny), not this parameter, so for video, setting Quality only switches off fit-under mode. If you need a specific video quality level, save it in a recipe and use Run Gizmojar Recipe.

Running a recipe from Shortcuts

  1. Add the Run Gizmojar Recipe action.
  2. Choose a Recipe. Your own recipes are listed, plus the built-in ones ("Web-ready photos", "Private HEIC", "Share under 25 MB", "PDF under 5 MB") unless you've deleted them.
  3. Set Files.
  4. Use the returned files in later actions if you need them.

Each step runs with the options saved in the recipe. That makes a recipe the dependable way to automate exact settings, such as a video quality level or several steps in a row. Final files are named <original> (<recipe name>).<ext>. If the recipe ends with a Rename step, its pattern names them instead.

There are four kinds of link:

LinkWhat it does
gizmojar://run?tool=<tool>&path=<path>&<options>Runs a tool with no window. Add show=1 to open the command bar and run it there.
gizmojar://recipe?name=<recipe>&path=<path>Runs a saved recipe. The name match ignores case.
gizmojar://open?path=<path>Opens the files in the command bar without running anything
gizmojar://clipboardOptimizes the image on the clipboard

Paths:

  • Use absolute paths (/Users/you/Movies/clip.mov) or home-relative paths (~/Movies/clip.mov).
  • For several files, separate the paths with | or repeat path=.
  • Write spaces as %20, as in name=Web-ready%20photos.

Examples:

text
gizmojar://run?tool=compress&path=~/Movies/a.mov|~/Movies/b.mov&target=25MB

Compresses two videos, aiming to fit each under 25 MB.

text
gizmojar://recipe?name=Web-ready%20photos&path=~/Desktop/photo1.jpg&path=~/Desktop/photo2.jpg

Runs the built-in "Web-ready photos" recipe on two images.

text
gizmojar://open?path=~/Downloads/scan.pdf

Loads a PDF into the command bar so you can pick a tool yourself.

To open a link from Terminal or a shell script, pass it to open:

bash
open "gizmojar://run?tool=gif&path=~/Movies/demo.mov&fps=12&width=480"

This makes an animated GIF at 12 fps and 480 px wide (never wider than the source). Keep the quotes: without them the shell treats & and | as its own operators.

When a run finishes, Gizmojar shows a result toast such as "Compress: 3 results, −72%".

Tool names and parameters

Tool names

The tool= value can be an action ID (for example imageConvert) or a verb. Gizmojar resolves a verb by the kind of file you pass, so compress on a video runs video Compress and on a PDF runs PDF Compress.

VerbRuns
compress, optimizeCompress
convertConvert
trimTrim
rotateRotate (video) or Rotate Pages (PDF)
resizeResize
gifMake GIF
frameGrab Frame
speedChange Speed
muteMute
extractaudioExtract Audio
stripStrip Metadata
removebackgroundRemove Background
ocr, text, extracttextExtract Text
watermarkWatermark
iconset, iconsIcon Set
enlarge, upscaleEnlarge
cropCrop
mergeMerge
splitSplit
searchableMake Searchable
topdfImages → PDF
toimagesPDF → Images
transcribeTranscribe
deletepagesDelete Pages
reorderpagesReorder Pages

Parameters

A parameter that doesn't apply to the chosen tool stops the link: Gizmojar shows a toast and runs nothing.

ParameterValuesSets
qualitylow, medium, high or 1–100Quality (for video, see below)
targeta size such as 25MB or 500KBFit-under target size
formatan output formatOutput format
codech264, hevc, keepVideo codec (keep re-wraps without re-encoding)
hevcswitchUse HEVC (smaller files)
maxpixelsLongest side
percentpercentScale by percent
start, endtimesStart and end of a range
timea timeFrame position
speed0.25–4Speed factor
fps1–30Frame rate
width16–4096Width in pixels
dpi36–600Resolution
scale1.1–4Scale factor
turn90, 180, 270Rotation in degrees
pagespage ranges such as 2, 5-7, endPages for page tools
keepprofile, exif, location, dates, tags or noneWhich metadata the result keeps

pages takes the page-range syntax the app uses: N, N-M, M-N (backwards), N- (to the end), -N (the first N pages), and end or last. Separate items with commas, spaces or semicolons.

The quality caveat from Shortcuts applies here too. On a video, quality doesn't choose the Compress quality level; it only switches off fit-under mode. Use target= for a size goal, or a recipe for a specific quality level.

Tools that can't be automated

These tools need the Gizmojar window. They can't run from a Shortcuts action or a gizmojar:// link:

  • Batch Rename
  • Reveal and Copy Path
  • Add Password and Remove Password
  • Sign
  • Read QR / Barcode

The Run Gizmojar Tool action's Tool list also leaves out Crop Video, Split Video, Export Frames, Normalize Loudness, audio Compress, Redact and Adjust. These aren't excluded from recipes, so put the tool in a recipe and run it with Run Gizmojar Recipe. Rename can also be a recipe's last step, where it names the result files. Password tools, Sign, Read QR / Barcode, Reveal and Copy Path can't be recipe steps at all.

Per-file option overrides don't carry over either. They exist only in the window and last for one session.

Error messages and the license requirement

If a link has an unknown or inapplicable parameter, a bad value, a missing file or a tool that can't be automated, Gizmojar shows a toast and runs nothing.

MessageCauseFix
"Unknown parameter “x”."A misspelled or unsupported parameter nameCheck the name against the parameters table
"“name” doesn't apply to Compress."A real parameter the chosen tool doesn't useRemove it, or choose a tool that takes it
"No files given — add path=/full/path/to/file."The link has no path=Add at least one absolute or ~/ path
"Rename needs the Gizmojar window — it can't run from a link or shortcut."Batch Rename was requestedRun it in the window, or as the last step of a recipe
"Gizmojar needs a license or an active trial to run this."The trial has ended and no license is enteredChoose Enter License… in the app menu

If a link does nothing:

  • Check that each path exists and points to a file the tool accepts. The verb resolves by file kind, so trim on a PDF has nothing to run.
  • In Terminal, check that the whole link is in quotes.
  • Check that name= matches a saved recipe, with spaces written as %20.

For other messages, see Troubleshooting.

Every app.
One purchase.