Small macOS helper that lets you open Adobe Illustrator from browser links via a custom URL protocol.
Use links like:
illustrator-open://open?path=/absolute/path/to/file.ai
to open local Illustrator-supported files directly in Adobe Illustrator.
- Registers
illustrator-open://URL scheme. - Accepts URLs in the form:
illustrator-open://open?path=/absolute/path/to/file.ai
- Opens the file in Illustrator and brings Illustrator to the foreground.
- Only paths ending in
.svg,.pdf,.ai, or.epsare accepted. - Only paths under your configured base directory are accepted.
- Copy env template:
cp .env.example .env.local- Edit
.env.local:
ILLUSTRATOR_APP_NAME- usuallyAdobe IllustratorILLUSTRATOR_ALLOWED_BASE_PATH- absolute allowlisted folder for your artwork filesILLUSTRATOR_URL_SCHEME- defaultillustrator-open
Run:
./scripts/build-handler.shThis will:
- Generate AppleScript from template + env values
- Compile
IllustratorUrlHandler.app - Register URL scheme with LaunchServices
Open:
open example/index.htmlThen click the icon. It triggers the URL handler and opens the file in Illustrator.
Source-of-truth handler logic is in scripts/handler.applescript.template.
MIT.