pub fn said_yes(stdout: &str) -> bool
Whether osascript’s output for the dialog is an explicit Yes: the button, and not given up (the dialog closes itself, as No, when its time is up).
osascript