I wasn't sure if I should ask here or in the Programming section. I thought here since it's nothing advanced.
This is my first attempt at any sort of application making so I don't know very much yet.
I managed to find out how to make an application made with Automator play an audio file upon running, but the audio file is external.
I was wondering if there's a way to make the Automator application play an audio file from within the application?
I want to make it so that I can give people the application and they can put it anywhere without worrying about the audio file not being in the right location/directory.
Right now I'm using the following to play the audio file:
Any advice?
This is my first attempt at any sort of application making so I don't know very much yet.
I managed to find out how to make an application made with Automator play an audio file upon running, but the audio file is external.
I was wondering if there's a way to make the Automator application play an audio file from within the application?
I want to make it so that I can give people the application and they can put it anywhere without worrying about the audio file not being in the right location/directory.
Right now I'm using the following to play the audio file:
Code:
Afplay /Applications/PlaySoundApp/audiofile.m4a
Any advice?