Skip to content

Commit e2b5d96

Browse files
jiserradehesa
authored andcommitted
Script commands to change the volume of Apple Music
1 parent f0559fc commit e2b5d96

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/osascript
2+
3+
# Required parameters:
4+
# @raycast.schemaVersion 1
5+
# @raycast.title Apple Music Volume Down
6+
# @raycast.mode silent
7+
8+
# Optional parameters:
9+
# @raycast.icon images/apple-music-logo.png
10+
11+
# Documentation:
12+
# @raycast.author Juan I. Serra
13+
# @raycast.authorURL https://github.com/jiserra
14+
# @raycast.packageName Music
15+
16+
try
17+
tell application "Music"
18+
set sound volume to sound volume - 5
19+
do shell script "echo '⬇'"
20+
end tell
21+
end try
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/osascript
2+
3+
# Required parameters:
4+
# @raycast.schemaVersion 1
5+
# @raycast.title Apple Music Volume Up
6+
# @raycast.mode silent
7+
8+
# Optional parameters:
9+
# @raycast.icon images/apple-music-logo.png
10+
11+
# Documentation:
12+
# @raycast.author Juan I. Serra
13+
# @raycast.authorURL https://github.com/jiserra
14+
# @raycast.packageName Music
15+
16+
try
17+
tell application "Music"
18+
set sound volume to sound volume + 5
19+
do shell script "echo '⬆'"
20+
end tell
21+
end try

0 commit comments

Comments
 (0)