We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c0889 commit 40ebb02Copy full SHA for 40ebb02
commands/media/tidal/tidal.applescript
@@ -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