S
Slowfox71
Neues Mitglied
Thread Starter
- Dabei seit
- 16.06.2020
- Beiträge
- 8
- Reaktionspunkte
- 0
Hallo,
ich habe folgendes Script (Ein- und ausblenden der Menüleiste) getestet und es funktioniert nur, wenn ich meine Systemsprache auf Englisch einstelle.
tell application "System Preferences"
activate
reveal pane id "com.apple.preference.general"
end tell
delay 1
tell application "System Events"
tell window "General" of process "System Preferences"
click checkbox "Automatically hide and show the menu bar"
end tell
end tell
tell application "System Preferences" to quit
Für ein deutsches System funktioniert folgendes leider auch nicht:
tell application "System Preferences"
activate
reveal pane id "com.apple.preference.general"
end tell
delay 1
tell application "System Events"
tell window "General" of process "System Preferences"
click checkbox "Menüleiste automatisch ein- und ausblenden"
end tell
end tell
tell application "System Preferences" to quit
Fehlermeldung:
„System Events“ hat einen Fehler erhalten: „window "General" of process "System Preferences"“ kann nicht gelesen werden:
click checkbox "Menüleiste automatisch ein- und ausblenden"
Was muß ich tun, damit das ganze bei deutscher Systemsprache funktioniert?
Vielen Dank für fachkundige Hinweise...
Boris
ich habe folgendes Script (Ein- und ausblenden der Menüleiste) getestet und es funktioniert nur, wenn ich meine Systemsprache auf Englisch einstelle.
tell application "System Preferences"
activate
reveal pane id "com.apple.preference.general"
end tell
delay 1
tell application "System Events"
tell window "General" of process "System Preferences"
click checkbox "Automatically hide and show the menu bar"
end tell
end tell
tell application "System Preferences" to quit
Für ein deutsches System funktioniert folgendes leider auch nicht:
tell application "System Preferences"
activate
reveal pane id "com.apple.preference.general"
end tell
delay 1
tell application "System Events"
tell window "General" of process "System Preferences"
click checkbox "Menüleiste automatisch ein- und ausblenden"
end tell
end tell
tell application "System Preferences" to quit
Fehlermeldung:
„System Events“ hat einen Fehler erhalten: „window "General" of process "System Preferences"“ kann nicht gelesen werden:
click checkbox "Menüleiste automatisch ein- und ausblenden"
Was muß ich tun, damit das ganze bei deutscher Systemsprache funktioniert?
Vielen Dank für fachkundige Hinweise...
Boris