From ffe622ed30c60eb2a0ed2fdd644b2b4f606b0ba0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 5 Mar 2026 21:23:20 -0800 Subject: [PATCH] macos: add standard application properties and commands Add standard Cocoa scripting definitions to the AppleScript dictionary: - Application properties: name, frontmost, version - Standard Suite commands: exists, quit These are backed by built-in Cocoa scripting classes (NSExistsCommand, NSQuitCommand) and standard NSApplication KVC keys, so no Swift code changes are needed. --- macos/Ghostty.sdef | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/macos/Ghostty.sdef b/macos/Ghostty.sdef index ba959fe01..dcb973974 100644 --- a/macos/Ghostty.sdef +++ b/macos/Ghostty.sdef @@ -5,6 +5,11 @@ + + + + + @@ -167,5 +172,16 @@ + + + + + + + + + + +