Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

03.09.2010 13:41:49
Re: Headless Mac Mini

This posting is older than 6 months and can contain outdated information.
Hi. 
Thanks for your answer. My solution to the problem was to create a applescript which toggle the two soundsources. Then create a new behaviour with applescript and assign that behavior to a button. In my case pressing and holding the up button on the apple remote. 
In case anybody else have the same problem. Here is the script. Possibly you have to make local adjustments on it to make it work: 
Create a new behaviour and paste this applescript.

tell application "System Preferences" 
activate 
set current pane to pane "com.apple.preference.sound" 
end tell

tell application "System Events" 
tell application process "System Preferences" 
tell tab group 1 of window "Sound" 
click radio button "Ljud ut" 
if (selected of row 2 of table 1 of scroll area 1) then 
set selected of row 1 of table 1 of scroll area 1 to true 
set deviceselected to "Earphones" 
else 
set selected of row 2 of table 1 of scroll area 1 to true 
set deviceselected to "SAMSUNG" 
end if 
end tell 
end tell 
end tell

tell application "System Preferences" to quit 

Thread-display::