AppleScript scripts return -600 error in STP 231 for Tahoe

The AppleScript script below returns a -600 error (application not running) under STP Tahoe version 231 and macOS 26.1. It functioned flawlessly under previous STP versions under macOS 15.x and 14.x.

tell application "Safari Technology Preview" tell front window set _old_tab to current tab set _new_tab to make new tab at after _old_tab set current tab to _new_tab end tell end tell

The following version returns a syntax error.

Tell application "System Events" Tell process "Safari Technology Preview" tell front window set _old_tab to current tab set _new_tab to make new tab at after _old_tab set current tab to _new_tab end tell end tell end tell

How would these scripts need to be fixed for STP 231 for Tahoe?

Answered by b2fhsd in 866321022

Problem solved after updating to STP release 232.

Accepted Answer

Problem solved after updating to STP release 232.

The symptom has returned. 🙄

Presumably something in my installation is affecting AppleScript's recognition of whether Safari Technology Preview (STP) is running.

I'm looking into replacing STP with Safari until the above symptom resolves (again!).

Where in the user account is STP's last session and/or saved application state information stored? I've found lastsession.plist, but its date stamp is from December 2021 rather than November 2025. I've also found the Saved Application State folder in the user Library folder' STP folder. However, it is empty.

The export browser data dialog in STP does not include last session or saved application state data (i.e., open windows and tabs).

Thanks in advance.

AppleScript scripts return -600 error in STP 231 for Tahoe
 
 
Q