MAC-Adressen Filter der Airport-Station per Script befüllen
26/04/2010 Ist zwar GUI-Scripting, hat mir aber einiges an Zeit erspart, als ich mal so 30 MAC-Adressen in den Filter einer Airport-Station eintragen durfte. =)
No CommentsCode zum markieren einmal anklicken Code im Skript-Editor öffnen
set a to {"04:1e:aa:ef:7c:5d", "04:1e:aa:eb:1:e7"}
set i to 1
repeat with w in a
activate application "AirPort Utility"
tell application "System Events"
tell process "AirPort-Dienstprogramm"
click button 2 of tab group 1 of window 1
delay 1
keystroke w as text
delay 0.25
keystroke tab
keystroke tab
keystroke "mac " & i
delay 0.25
keystroke return
delay 1
end tell
end tell
set i to i + 1
end repeat

