Automation
Automate Ink from AppleScript with the new command-only Ink Scripting dictionary. Read
or update Markdown, append notes, format the current selection, and export HTML, PDF, RTF, or DOCX from
scripts and automation tools.
-
AppleScript support for Script Editor,
osascript, Raycast, Alfred, Keyboard Maestro,
shell scripts, and other Apple Events clients.
-
List open documents, get current document text, replace text, append text, read or replace the
selection, format the selection, and export documents.
- Export HTML, PDF, RTF, or DOCX from scripts without showing a save panel.
- Targets the active document by default, with exact targeting by document ID or file path.
-
[v2] Build Shortcuts that act on open projects, then run them from
Siri through App Intents. Search indexed project files, headings, citations, and tags alongside the
existing document actions.
-
Remote AI providers stay blocked unless you explicitly allow them for a Shortcut run. No local server
required. Ink receives user-authorized Apple Events and App Intents, keeping automation native to
macOS.
osascript -e 'tell application "LitSquare MD" to get ink text'
osascript -e 'tell application "LitSquare MD" to append ink text "Next note" separator double newline'
osascript -e 'tell application "LitSquare MD" to export ink document as PDF'