- Edited
With Safari, the following command will return the current tab title:
$ echo $(osascript -e 'tell application "Safari" to return name of front document')
Kagi Search - A Premium Search Engine
In Orion, it will always return “Untitled”.
$ echo $(osascript -e 'tell application "Orion" to return name of front document')
Untitled
Note that it will correctly return the URL though:
$ echo $(osascript -e 'tell application "Orion" to return URL of front document')
https://kagi.com/
Expected behavior: tell application "Orion" to return name of front document
should return the current tab’s title.
Version 0.99.127.2-beta (WebKit 619.1.1)
Version 0.99.127.2.2-rc (WebKit 619.1.1)
Sonoma (14)