AppleScript Integration
Automate Statuz with AppleScript via URL scheme
AppleScript users can automate Statuz through URL scheme integration. Classic Mac automation meets modern social media. Open composer, schedule posts, or.
How to Use
- 1Open Script Editor
- 2Create new AppleScript
- 3Write: tell application "System Events"
- 4Add: open location "statuz://compose?text=Hello"
- 5Save script
- 6Run script
- 7See Statuz open with text
- 8Create folder action script
- 9Trigger on new file in folder
- 10Script posts file to Statuz
- 11Automated posting
- 12Create app integration script
- 13Statuz launches from another app
Key Features
Example AppleScript
tell application "System Events"
set theText to "Hello from AppleScript"
set theURL to "statuz://compose?text=" & theText
open location theURL
end tellBatch Import (Automator/Folder Action):
on run {input, parameters}
-- Build comma-separated list of file paths (all files in ONE post)
set filePaths to {}
repeat with fileAlias in input
set end of filePaths to "file://" & (POSIX path of fileAlias)
end repeat
set AppleScript's text item delimiters to ","
set mediaParam to filePaths as text
set AppleScript's text item delimiters to ""
tell application "System Events"
open location "statuz://compose?media=" & mediaParam
end tell
return input
end runWorks in: Automator workflows, Quick Actions, folder actions with
on runhandlerImportant: Don't call
openin a loop - that creates multiple posts. Build a comma-separated list and open once.
Why AppleScript Users Love It
AppleScript is classic Mac automation. Statuz URL scheme enables AppleScript integration for workflows impossible in web tools. Mac automation tradition meets modern social media.
Batch vs Single File
✅ Correct (all files in ONE post):
-- Build list of file paths
set files to {"file:///path/1.jpg", "file:///path/2.jpg"}
-- Set delimiter to comma (tells AppleScript how to join the list)
set AppleScript's text item delimiters to ","
-- Convert list to comma-separated text and open
open location "statuz://compose?media=" & (files as text)❌ Wrong (creates MULTIPLE posts):
-- Opens a new composer for EACH file
repeat with file in fileList
tell application "Statuz" to open file
end repeatReal-World Example: Lightroom Automation
Want to automate photo exports? Set up a folder action that automatically opens Lightroom exports in Statuz.
Complete Lightroom Setup Guide →