Describe the bug
I have an Apple Script to gather information from Spotify. After updating to the latest macOS Sequoia 15.0, I've noticed that this script may occasionally cause Spotify to reopen itself when attempting to quit.
Additionally, when this happens, the text alignment resets to center alignment, and I need to relaunch BTT to fix it.
Screenshots
This issue occurs when I try to quit Spotify. Please note that it quickly reopens itself.
Device information:
- Type of Mac: MacBook Pro 14-inch, 2023
- macOS version: Sequoia 15.0
- BetterTouchTool version: Version: 4.700 (2024091701)
Sounds like Apple has re-introduced a bug that they had fixed quite a while ago.
You can try replacing your if with the BTT "is_app_running"
tell application "BetterTouchTool"
set isRunning to is_app_running "Spotify"
if isRunning then
end if
end tell
This can check the running state without querying the app & without launching it. However for performance reasons the running states are only updated every few seconds
Thanks for your quick reply! However, the issue still persists even after replacing the "if" statement.
Here is my latest script, and it's the only script running while all others are already disabled.:
Video:
Your script refresh rate might be set to a too short interval for the is_app_running function to work. Until it knows that Spotify has quit, it can 3-4 seconds so running the script every second will still cause it to think Spotify is still running.
Okay, let me try setting the refresh rate to 3 seconds and see if that solves the problem. Thanks!