• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Was gibt es Schöneres als den Mai draußen in der Natur mit allen Sinnen zu genießen? Lasst uns teilhaben an Euren Erlebnissen und macht mit beim Thema des Monats Da blüht uns was! ---> Klick

Bildschirm Taktung

hubionmac

Tydemans Early Worcester
Registriert
25.06.04
Beiträge
393
HahA! Mit GUI-Scripting (UI Browser sei dank!) kann ich jetzt unter Leopard von 16mil Farben auf 32768 runterschalten!:-D
Es lebe das Sinnlos-Scripting!
Übrigens, die Herz-Zahl ist
Code:
pop up button 2
do shell script "open /System/Library/PreferencePanes/Displays.prefPane"
delay 3
activate application "System Preferences"
tell application "System Events"
get system attribute "sysv"
if result is greater than or equal to 4144 then -- Mac OS X 10.3.0
if UI elements enabled then
tell application process "Systemeinstellungen"
click pop up button 1 of group 1 of tab group 1 of window 1
--32768 Farben auswählen
keystroke "32"
delay 1
--die Auswahl bestätigen
keystroke return
delay 1
--ggf. eine meldung die rummeckert ebenfalls bestätigen
keystroke return
end tell
else
beep
display dialog "GUI Scripting is not enabled" & return & return & "Open System Preferences and check Enable Access for Assistive Devices in the Universal Access preference pane, then run this script again." with icon stop
if button returned of result is "OK" then
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.universalaccess"
end tell
end if
end if
else
beep
display dialog "This computer cannot run this script" & return & return & "The script uses GUI Scripting technology, which requires an upgrade to Mac OS X 10.3 Panther or newer." with icon caution buttons {"Quit"} default button "Quit"
end if
end tell