Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Can you play a sound using a script in Photoshop?

$
0
0

Awesome! This is definitely more of the idea, although it opens up windows media player, to play. It would be used in a batch, so I wouldn't necessarily want to have to open a program every time, but it does make sense as I'm unaware if there's a default background player for PC and mac. Otherwise I did find documentation on flash, and in using Window, and adding flash player to it, I'm able to get the desired sound to play. However I tried using a relative path from the script to the swf, and it came back with an error. I had to place the swf on my desktop to test correctly. Is there a way to use relative paths?

 

  win.preview = win.add ('flashplayer',undefined,'~/Desktop/test.swf');


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>