• 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

Mit Skript AirPort ausschalten

Kernelpanik

Maren Nissen
Registriert
05.03.04
Beiträge
2.303
tell application "System Events" to tell the front menu bar of process "SystemUIServer"
try
click bt_menu
tell the second menu item of the front menu of bt_menu to if title is "AirPort deaktivieren" then
click
delay 1
else
error
end if
on error
repeat with x in menu bar items
click x
try
if the title of the second menu item of the front menu of x starts with "AirPort deaktivieren" then exit repeat
end try
end repeat
set bt_menu to x
try
tell the second menu item of the front menu of bt_menu to if title is "AirPort deaktivieren" then
click
else
error
end if
on error
click bt_menu
end try
end try
end tell