I know very little about coding, and next to nothing about using automator, so I am a little wary about just trying stuff on my own...
I would like to make a service that will run a Terminal command to reboot Core Audio - sometimes Airplay messes up audio. I have found the Terminal command by Googling, and also I have an idea about how I should set it up in Automator, but I would like to get some input from people in the know.
From what I have gathered, I should start a new service in Automator, choose run shell command, and paste the following:
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
I do not understand that command, but have found it by googling... If someone could explain what the individual parts mean I would appreciate it.
Usually when I run this command in terminal I have to input my password afterward, is there a way around this when setting up this service?
I would like to make a service that will run a Terminal command to reboot Core Audio - sometimes Airplay messes up audio. I have found the Terminal command by Googling, and also I have an idea about how I should set it up in Automator, but I would like to get some input from people in the know.
From what I have gathered, I should start a new service in Automator, choose run shell command, and paste the following:
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
I do not understand that command, but have found it by googling... If someone could explain what the individual parts mean I would appreciate it.
Usually when I run this command in terminal I have to input my password afterward, is there a way around this when setting up this service?