API Reference
Complete API reference for applescript-node
API Reference
High-Level Sources
Script Execution
Builder Methods
| Category | Methods |
|---|---|
| Blocks | tell, tellApp, tellProcess, end, if, then, else, elseIf, repeat, repeatWith, forEach, try, onError |
| Apps | activate, quit, launch, running |
| Windows | closeWindow, minimizeWindow, zoomWindow, moveWindow, resizeWindow |
| UI | click, keystroke, delay, pressKey, displayDialog, displayNotification |
| Variables | set, setExpression, get, copy, count, exists |
| Data | mapToJson, setEndRecord, pickEndRecord, returnAsJson |
| Utility | raw, build, reset |
Execution Options
Type Safety
Typed Results
ExprBuilder for Conditions
Type-safe condition building with autocomplete:
Available operators:
- Comparison:
gt,lt,gte,lte,eq,ne - Logical:
and,or,not - String:
contains,startsWith,endsWith,length - Objects:
exists,count,property