Hi Kaydell,
Thank you for this. Actually, my first choice for a solution would be to write an applescript do shell script to run the command-line utility. Save that as an app and call it with the login items.
Unfortunately, the client was not keen on installing the command line utility since gatekeeper doesn't like it. So we went with an automator app.
My apologies to the list for the automator talk. I actually do receive the automator users list as well. I'm trying to minimize my use of automator and change everything over to applescript or better.
All in all, we finally found something that appears to work. Not my first choice, but if it works, I'm happy. I have a lot of other applescript projects for my learning stack. :)
Dee Dee
On Jul 16, 2013, at 4:00 AM, Kaydell Leavitt wrote: Hi Dee Dee,
On Jul 15, 2013, at 1:38 PM, Dee Dee Sommers < email@hidden> wrote: We are trying to go with an automator solution, saved as an app then run as a login item.
I believe that using Automator to make an app and make the app a login item is a good solution, but I've always had problems with things like the "Watch Me Do" action.
I would use an Automator workflow with a single action: "Run Shell Script" and run the command-line utility called: "switchaudio-osx" (or did that not work for you?) If you need a copy, I could probably compile it for you. A lot of the time, these open-source programs come with only the source-code and you have to compile it yourself. (Or was that not the problem?)
I know that this is an AppleScript forum, but I think that a an app made with Automator simply calling a shell command would be the best solution.
|