AppleScript: Fehler!

L

leo-magic

Aktives Mitglied
Thread Starter
Dabei seit
24.12.2004
Beiträge
1.178
Reaktionspunkte
4
Hallo

Habe dieses Script, welches dies macht:

Systemeinstellungen Monitor öffnen, die Bildschirmsynchronisation aktivieren.

Code:
tell application "System Preferences"
	set current pane to pane "com.apple.preference.displays"
end tell

tell application "System Events"
	tell process "System Preferences"
		click radio button 2 of tab group 1 of window "iMac"
		click checkbox "Bildschirme synchronisieren" of group 1 of tab group 1 of window "iMac"
	end tell
end tell

tell application "System Preferences" to quit

Bis vor kurezm ging das auch alles noch. Doch jetzt kommt aus unbekannten Gründen folgender Fehler:
An error of type -10826 has occured.

Weiss jemand, woran das liegen könnte?

Danke! Léo
 
Zurück
Oben Unten