Skip to main content
wckdtall
Inspiring
October 18, 2014
Answered

Can you play a sound using a script in Photoshop?

  • October 18, 2014
  • 2 replies
  • 2224 views

I'd like to play an audio alert once my script finishes running, I looked up some options online, but I can only find reference to how to play sound using javascript and html5.

This topic has been closed for replies.
Correct answer wckdtall

Solution on Mac:

try{
app.system("afplay /System/Library/Sounds/Glass.aiff")
}catch(e){
};

2 replies

wckdtall
wckdtallAuthorCorrect answer
Inspiring
March 26, 2024

Solution on Mac:

try{
app.system("afplay /System/Library/Sounds/Glass.aiff")
}catch(e){
};
JJMack
Community Expert
Community Expert
October 19, 2014

beep();

JJMack
Known Participant
January 14, 2021

I tried adding this to the end of the following script, but no sound plays after it finishes. Am I missing something?

for (var i = 0; i < 2; i++) app.doAction("Pixel Crop+Scale Loop","shape");beep();

 

Kukurykus
Legend
January 14, 2021

It works for me.