macos support

This commit is contained in:
2025-04-08 14:44:20 -07:00
parent e3297c7983
commit 0961746560
3 changed files with 55 additions and 4 deletions

17
MediaControl.scpt Normal file
View File

@@ -0,0 +1,17 @@
on run argv
set var to item 1 of argv
if var is "playpause" then
using terms from application "Spotify"
tell application "Spotify" to playpause
end using terms from
else if var is "next" then
using terms from application "Spotify"
tell application "Spotify" to next track
end using terms from
else if var is "previous" then
using terms from application "Spotify"
tell application "Spotify" to previous track
end using terms from
end if
end run