Automating System Preferences in Sound?

Hello All-
I am going out of my mind. I am trying to be able to toggle the output of my sound preferences back and forth between my Line Out and my M-Audio Firewire Solo. I do this multiple times a day. It would be great if I could hot key a way to do it or at least get the Automator on boeard. Any help?
Thank.
Paul

I agree wholeheartedly with Ric about the UI Browser suggestion and in fact you can use it to start looking for attributes of those GUI items which can be used for developing your "if then thing".
I have also found that using the repeat loops instead of the delays tends to help with reducing some of the problems of transferring scripts to other computers. UI Browser was also invaluable in finding the attributes required for the repeat loops.
Here is a further development of the scripts that have already been provided. I have assumed that your two output options are on row 1 and row 2 of the list. If they are not then there are two options:
1) if they will always be found in the same location in the list then just change the row numbers in the "if then" clause;
2) if they are not always found in the same location because you have other output options which come and go then there will have to be some further checking. This is possible but I did not add it here because of the added complexity. Let me know if you need it.
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.sound"
end tell
tell application "System Events"
tell process "System Preferences"
click radio button "Output" of tab group 1 of window "Sound"
repeat until (value of radio button "Output" of tab group 1 of window "Sound") is 1
end repeat
if (selected of row 1 of table 1 of scroll area 1 of tab group 1 of window "Sound") is true then
select row 2 of table 1 of scroll area 1 of tab group 1 of window "Sound"
repeat until (selected of row 2 of table 1 of scroll area 1 of tab group 1 of window "Sound") is true
end repeat
else
select row 1 of table 1 of scroll area 1 of tab group 1 of window "Sound"
repeat until (selected of row 1 of table 1 of scroll area 1 of tab group 1 of window "Sound") is true
end repeat
end if
end tell
quit
end tell
</pre>
PowerBook 12"   Mac OS X (10.4.6)  

Similar Messages

  • How do i switch from head phone to mic? I know there is a internal mic, but when i go to system preferences  then sound doesn't give me the input option.

    I know there is an internal mic but i need to switch the head phone to mic. but in system preference then sound folder it does not give me the option to  make  the mic an imput. but when i goto about this computer it says it is compatable how do i make this happen?

    Welcome to Apple Support Communities
    You have a MacBook, so your Mac hasn't got a HDMI port and you are using a Mini DisplayPort to HDMI adapter.
    There are some Macs which do not support sound over HDMI, and it seems that your MacBook does not support it. Read > About Mini DisplayPort to HDMI adapters

  • I recently used the computer for I player over the TV, but when removing the external speakers the internal speaker appears to have stopped working and when going on to system preferences and sound I am only given the option of digital out put. Help

    I recently used the computer for I player over the TV, but when removing the external speakers the internal speaker appears to have stopped working and when going on to system preferences and sound I am only given the option of digital out put. Help

    Do you see a red light shining in the headphone port?

  • Automator, System Preferences, and Permissions

    I've just bought this MacBook Pro, and I'm setting up the Guest account. I live in University accomodation, so the internet connection requires you to enter a name and password to use the internet connection. I'm trying to use Automator in conjunction with System Preferences to configure the Guest account to open the internet-login URL and display a Growl sticky notification (http://growl.info/about.php) with the login details when someone logs in to the Guest account.
    I made a simple Workflow in Automator, telling it to show a Growl sticky notification with the login details, and then to open the URL, when run. I saved it as an application called "Internet" in the Guest account's Sites folder (HD>Users>Guest>Sites). I made Guest the owner of the application, in a group called Guest, and made the application read-and-writeable at all three levels. I then made the application available to the Guest account in the Parental Controls for the Guest account. Finally, I logged into the Guest account and made the application a Login Item in the account's preferences.
    However, when I open the application from within the Guest account, I get a momentary flash of an alert saying an AppleScript error of type -10862 has occurred, of which I can fin no mention anywhere on the internet. Curiously, it works fine from within my account.
    Any suggestions?

    I've just bought this MacBook Pro, and I'm setting up the Guest account. I live in University accomodation, so the internet connection requires you to enter a name and password to use the internet connection. I'm trying to use Automator in conjunction with System Preferences to configure the Guest account to open the internet-login URL and display a Growl sticky notification (http://growl.info/about.php) with the login details when someone logs in to the Guest account.
    I made a simple Workflow in Automator, telling it to show a Growl sticky notification with the login details, and then to open the URL, when run. I saved it as an application called "Internet" in the Guest account's Sites folder (HD>Users>Guest>Sites). I made Guest the owner of the application, in a group called Guest, and made the application read-and-writeable at all three levels. I then made the application available to the Guest account in the Parental Controls for the Guest account. Finally, I logged into the Guest account and made the application a Login Item in the account's preferences.
    However, when I open the application from within the Guest account, I get a momentary flash of an alert saying an AppleScript error of type -10862 has occurred, of which I can fin no mention anywhere on the internet. Curiously, it works fine from within my account.
    Any suggestions?

  • O make the In system preferences under Sound, there is no drop-down menu for "Use audio port for."  How do I switch the port to input?

    I'm trying to use the audio input/output port to record in Garageband.  When I plug in my guitar it isn't recognized, and when I go to sound prefrences it does not give me the option to switch between input and output.  How do I switch it to input?

    For GarageBand issues post in that forum.

  • I currently have no sound from my internal speakers. When I go to system preferences, internal speakers is not an option - there is nothing there. What should I do to fix this?

    I don't know what to do - I don't have any sound coming from my internal speakers, and with headphones there is still no sound coming out. When I go into system preferences under sound, there is nothing there - it says 'no output devices'. What should I do?

    MacBook Pro model?
    Hard to suggest a solution without knowing the model.
    The following tips may not apply to latest MacBook Pro 13 inch model.
    Go step by step and test.
    1. System Preference > Sound > Output > Internal Speakers
        Highlight  Internal Speakers / Headphones
        Make sure that Mute is not enabled.
    2.Plug in and  remove the headphone.
        If you see red light in the headphone port, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
    3. Reset PRAM.  http://support.apple.com/kb/PH4405
    4. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    5. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
        Side Bar
        Click the Built-in Output.
        Under Mute any of the boxes checked? If so, uncheck it.

  • System preferences 'sound' closed but then re-opens. Can't close :(

    My iMac has just started behaving strangely. The System Preferences 'sound' window opens but after closing or minimising it re-opens.
    Forced close by cmd+option+esc but symptoms remain.
    Another symptom shows within 'Launchpad' when several Apps flicker and show the delete 'X'.
    Restarting system or logging in as a guest doesn't change the situation.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/d;/(etc|Preferences)\//s/^\.\/[^/]+//p;' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.[bw]/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / /{$0="'"${p[28]}"'"};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,[lps]*.conf,pam.d,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D23 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Automating a system preference when a program launches.

    Hi there. This is my first time posting.
    This is a small issue. I'm curious to know if this type of thing is possible, and how I'd go about doing it!
    When I launch a certain program (various games, certain audio applications) sometime I need to enable the "use all F1 F2 etc keys as standard function keys" option. However, when I am not using these applications, I would prefer it to be off.
    Is there a way to automate this function on and off? For example:
    If i Open (program X)
    This system preference is engaged.
    When I close (program X)
    This system preference is disengaged.
    Sorry if that sequence makes me sound like an idiot - I have no knowlege of automating tasks/script/code.
    Thanks in advance! And if there's a better place I should be looking for this info, please let me know. Thanks again!
    -J

    Hi guys, and again, thank you.
    I got it working as well as I can figure. I used a combination of Applescript and Automator. This is what it looks like:
    The applescript you see in the middle was taken from a similar apple forum. I have NO idea why I needed it. For whatever reason, the "Watch Me Do" function you see at the bottom of my automation simply doesn't work like it's supposed to without that applescript.
    Then I saved the whole thing as an "application" and now I launch it from my dock the same way I'd launch anything else. It's awesome.
    Now if I only I could figure out how to toggle it back once the program quits....
    -J

  • Use Automator to Change System Preferences?

    Hi. I want to create a workflow or applescript that will open my system's sound preferences and change the output source. The Applescript editor doesn't record any of my actions.

    Modify the setting from System Preferences, and then look for plist files in ~/Library/Preferences/ and /Library/Preferences/ modified around that time. When you've located a possible plist, open the Terminal application in the /Applications/Utilities/ folder and enter 'defaults read ' without the quote marks. Drag the plist into the Terminal and press Enter; you will then see a list of keys. If a key looks like it contains what you're looking for, remember its value, change the setting again from System Preferences, and check the key again. Once you've found the key, you can use a 'defaults write' action in Automator's shell script option to change the value. If you can't write the key successfully, post back here with the name of the key and where you found it for further assistance.
    (12421)

  • Hi i upgrade from lion to mountain lion to day on my mini mac,Since the upgrade i am getting no sound through my HDMI cable which was working fine on lion Checked the midi audio settings and system preferences to out on HDMi nothing no sound whats so ever

    Hi i upgraded from lion to mountain lion to day on my mini mac,Since the upgrade i am no longer getting sound through my HDMI cable which was working fine on lion Checked the midi audio settings and system preferences to out on HDMi nothing no sound whats so ever.Any one any ideas?
    I use a samsung TV for my monitor via HDMI.Tried all the system Audi setting nothing .Head phone and internal speakers are fine.

    Similar issue; Audio was working fine on Lion, now not on Mountain Lion. Have a Macbook Pro early 2011 with AMD Radeon HD 6750M, connected by thunderbolt through a Lacie LBD to a mini-displayport to HDMI adapter (n.b. same problem when not going through the LBD) to a Pioneer VSX 521 AV receiver. For me when I go into audio Midi settings all the volume sliders for the displayport device are greyed out and at zero. But when I click 'configure speakers', it's able to send out the test signals to each speaker. Part of the problem could be that I'm not getting the option to put out 6channel sound, only 2 or 8 channel. Since my system is Dolby 5.1, and I only have 6 speakers, I would have expected the 6ch option to be available. But I imagine there's more to it than that. Elsewhere someone has suggested playing with Remote Interactive over HD on an Onkyo device; I'll see if there's something similar on the Pioneer that can be changed. Any other suggestions welcome.

  • There is no audio output on my MBA in the system preferences-sound folder. Therefore no sound comes from my computer. At the same time this happened, any streaming video stopped playing after 11 seconds, as well as iTunes will not play any song. Help!?

    Hello everyone.
    i have a 15" MBA circa 2011 running Lion 10.7.5 and my sound has gone, There is a no sound circle on my volume display and in system preferences sound my options for output is empty. At the same time this happened I noticed 2 things: 1) itunes would not actually play any audio track and every video i streamed stopped after a few seconds (usually 11s) but not always.
    I have tried following some tips I have found online like going into MIDI and fixing the problem there, restarting in safe mode. Resetting with PRAM (or something that sounds like that).
    Does anyone have any insight on this? At this point i'm thinking it's time to reload Lion but I don't really know how to go about that without losing all of my files.
    Please Help
    Thanks

    Hello JaboorMBA2011,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Troubleshooting issues with no audio from built-in speakers on Macs
    http://support.apple.com/kb/ts1574
    Have a nice day,
    Mario

  • System preferences shot after Security Update 2006-008 - no sound any more

    All sorts of strange problems after running the 2006-008 security update, yet only affecting one my two MacMini:
    System Preferences completely "shot", with the Date&Time item/icon looking very odd.
    The little flag for language/keyboard setting and date/time did not show any more in the top menu bar -- basically everything left side of the blue Spotlight magnifying glass icon was gone.
    Also Safari much more prone to quit.
    Managed to delete some prefs and cached stuff and to replace the System Preferences application with the one from the other (working ok) Mac.
    (I wish such components were available on the web!)
    However: Currently I get no sound whatsoever. When I check the option to have the little speaker symbol displayed in the menu bar it shows. But as soon as I click it once, it vanishes from the menu bar.
    In the Sound window, I have Volume set to full, yet everything is greyed out, "Sound off" is checked without my doing, while "Display sound volume in the menu bar" unchecks itself everytime(!)
    And, very odd: While resetting PRAM and the fsck-routine working ok (no problems found) and disk utility claiming to have repaired all permissions, I can not run a reset of Open Firmware/nvram with the O-F-Apple-Alt key combination (I'm using an original Apple USB Keyboard for this, since I'm aware that my 3rd party keyboards from Logitech and Microsoft often refuse to perform such kind of "low level" tasks).
    Mac Mini 1.66 GHz 2 GB RAM   Mac OS X (10.4.8)   German language OS

    finally found the solution to my problems at
    http://www.macfixit.com/article.php?story=20061229012312895
    Late-Breakers
    Friday, December 29 2006 @ 01:23 AM PST
    Security Update 2006-008 Special Report: General fixes for common issues
    "Re-apply the Mac OS X 10.4.8 combo updater Once again, re-application of the current combination updater (Mac OS X 10.4.8 for PowerPC or Intel) has proven useful in the case of Security Update 2006-008. Doing so overwrites potentially problem-causing files".
    while it is widely known that the folks from redmond do release software before all the bugs are removed, i was not aware before that apple is following the same approach: using their customers as guinea pigs when it comes to updates. there is plenty of reports on MacFixIt about all sorts of troubles with previous apple os updates.
    Mac Mini 1.66 GHz 2 GB RAM   Mac OS X (10.4.8)   German language OS

  • I have mid 2009 Mac Book Pro running 10.9.1. The hdmi mini port no longer supports sound on the Sony TV. This is apparently a change. It no longer shows as an option in system preferences/sound.Any ideas?

    I have mid 2009 Mac Book Pro running 10.9.1. The hdmi mini port no longer supports sound on the Sony TV. This is apparently a change. It no longer shows as an option in system preferences/sound.Any ideas?

    The 2009's didn't support sound on HDMI. That came in 2010. Are you sure it ever worked?

  • System Preferences Sound Input is stuck at Soundflower (64ch). I can't change it!

    So, I have a mid-2010 MacBook Pro running OS X Yosemite (latest version). (250GB HDD, 4GB RAM, 2.4 GHz)
    I wanted to record some commentary for my video and to use the mic I went into System Preferences > Sound > Sound Input.
    With my mic connected, I tried all of the 4 options (picture below), but then after closing and opening System Preferences again, the sound input is stuck on "Soundflower 64ch).
    When I try to change it (e.g. Built-In), it "crashes", but not really: It selects the option I clicked for a second or two, then the list disappears and says "No Input Devices" briefly, then the list reappears with "Soundflower 64ch" selected.
    Please help, I've tried some solutions I found online, like restarting the laptop, repairing disk permissions, even a code for Terminal.
    Thanks to anybody in advance.
    UPDATE: ****, I think my Mac is possessed or something. It shows the ring of death when my mouse is on the System Preferences window, and when I try to take a screenshot of the list itself, it lags and doesn't let me take it until "No input devices found" appears.

    Either remove "Soundflower" or refer to its developer for support.
    Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    I never install system modifications myself, and except as stated in this comment, I don't know how to uninstall them. You'll have to do your own research to find that information.
    Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmymac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button. The uninstaller might also be accessed by clicking the Customize button, if there is one.
    Back up all data before making any changes.
    You will generally have to restart the computer in order to complete an uninstallation. Until you do that, there may be no effect, or unpredictable effects.
    If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    Trying to remove complex system modifications by hunting for files by name often will not work and may make the problem worse. The same goes for "utilities" such as "AppCleaner" and the like that purport to remove software.

  • The choice of headphone jack is not showing up under the system preferences - sound output options.  Therefor, my speakers suddenly do not work with my iMac

    On my Intel based iMac, OS 10.6.8, my speakers suddenly were not transmitting sound. When I checked the System Preferences, Sound output, the headphone option was no longer available.  This has always worked in the past - what is up?
    Anyone have any suggestions???
    Ellen

    Applications > Utilities > AudioMIDI Setup.app
    Audio Devices window
    Side Bar
    Click the Built-in Output.
    Under Mute any of the boxes checked? If so uncheck it.
    Plug in the headphone and check whether in the output  headphone shows up in the same panel.
    If so, you can adjust the volume there.
      Reset SMC and PRAM.
         Reset PRAM.  http://support.apple.com/kb/PH4405
         Reset SMC.     http://support.apple.com/kb/HT3964
         Choose the  appropriate method.
    Best.

Maybe you are looking for