Error: Command failed with exit code 1: osascript -e
tell application "Spotify"
if not application "Spotify" is running then
activate
set _maxOpenWaitTimeInSeconds to 5
set _openCounter to 1
repeat until application "Spotify" is running
delay 1
set _openCounter to _openCounter 1
if _openCounter > _maxOpenWaitTimeInSeconds then exit repeat
end repeat
end if
pause
end tell
402:407: execution error: Not authorised to send Apple events to Spotify. (-1743)
tell application "Spotify"
if not application "Spotify" is running then
activate
🔔 @thomaspaulmann @altrdev @ron-myers @sandypockets @Kenan7 @dmacdermott @pernielsentikaer @yansq you might want to have a look.
💡 Author and Contributors commands
The author and contributors of `thomas/spotify-controls` can trigger bot actions by commenting:
- `@raycastbot close this issue` Closes the issue.
- `@raycastbot close as not planned` Closes the issue as not planned.
- `@raycastbot rename this issue to "Awesome new title"` Renames the issue.
- `@raycastbot reopen this issue` Reopens the issue.
- `@raycastbot assign me` Assigns yourself to the issue.
- `@raycastbot good first issue` Adds the "Good first issue" label to the issue.
- `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
Extension
https://www.raycast.com/thomas/spotify-controls
Raycast Version
Version 1.84.3
macOS Version
Version 15.0.1
Description
Error:
Steps To Reproduce
i dont know not working
Current Behaviour
not pausing
Expected Behaviour
should pause