Skip to content

Commit 40ebb02

Browse files
AktasCdehesa
authored andcommitted
Added simplified Tidal script
1 parent b8c0889 commit 40ebb02

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/osascript
2+
3+
# Required parameters:
4+
# @raycast.schemaVersion 1
5+
# @raycast.title Toggle Play/Pause
6+
# @raycast.mode silent
7+
# @raycast.packagename Tidal
8+
9+
# Optional parameters
10+
# @raycast.icon images/tidal-logo.png
11+
12+
# Documentation:
13+
# @raycast.author Cebrail AKTAS
14+
# @raycast.authorURL https://github.com/AktasC
15+
# @raycast.description Play/Pause Tidal
16+
17+
tell application "System Events"
18+
tell process "TIDAL"
19+
click first menu item of menu "Playback" of menu bar 1
20+
if name of first menu item of menu "Playback" of menu bar 1 is "Play" then
21+
log "▶️"
22+
else
23+
log ""
24+
end if
25+
end tell
26+
end tell

0 commit comments

Comments
 (0)