Bring Statuz to the foreground or launch it from automations
Use the open action when you simply need to launch Statuz or bring its window to the front before performing other automated steps.
statuz://open
No parameters are required or accepted.
open "statuz://open"
open "statuz://open"
sleep 1
open "statuz://compose?text=Hello%20World"#!/bin/bash
# guarantee Statuz is focused before showing the composer
open "statuz://open"
osascript -e 'display notification "Statuz is ready" with title "Automation"'