Browse the docs

A download starts or finishes

Runs the macro when a download starts, finishes or fails in a Chrome-family browser.

A download event

Details #

Needs the browser extension (Settings ▸ Browsers). The Chrome family only; Safari has no download events for extensions.

event is started, finished (the default) or failed. match.url matches the file's address. The run starts with file (its name), path when known, mime, bytes, url and error.

Parameters #

ParameterTypeRequiredValuesWhat it does
eventone ofstarted finished failedstarted, finished or failed.
matchrecordbrowser title urlurl (the file's address) and browser.

Every trigger also takes Limits: a cooldown, the first time each day, every nth time, twice within seconds, a chance, only while you are at the Mac, on one Mac, or in a State. See Limits on any trigger.

Examples #

Say when a PDF has downloaded
When
  1. A download finishes
Do
  1. Show “Downloaded {{file}}” for 2 s
Open in Switchboard to try it

Gotchas #

  • Lint warns when the trigger is limited to Safari.