Sheep1
Alkmene
- Registriert
- 27.05.09
- Beiträge
- 35
Sheep1 das forum lebt von lösungen, nicht nur von der bekanntgabe, dass es eine gibt
share yr scripts?!
Code:
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 "Ton"
click radio button "Ausgabe"
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 "Kopfhörer"
else
set selected of row 2 of table 1 of scroll area 1 to true
set deviceselected to "US-144 MKII: Output"
end if
end tell
end tell
end tell
tell application "System Preferences" to quit
Heute mittag probiere ich noch eine Growlnotification dranzuhängen. Kann ich dann hier reinhängen.


Merci.
... denke ich.