I have the same challenge.
For Airport Utility (5.6?) in Snow Leopard
I used a script I made, but it doesn't work in Airport Utility 6+, the menu's are different.
Now I'm figuring out how to script the new version, but it's very difficult. It almost looks like Applescript doesn't work with the buttons and tabs in Airport Utility anymore.
So, if you have something, it would help me as well.
I have tried using the import and export files. They work (better than in 5.x) but are of no use to me, because I am not able to script importing them.
RLB2
tell application "AirPort Utility"
activate
end tell
tell application "System Events"
delay 3
click menu item "Manual Setup" of menu "Base Station" of menu bar 1 of process "AirPort Utility"
delay 1
-- * Set Wireless on and set the name to 'Straling'
-- Select menu Airport, to change wifi settings
click menu item "Airport" of menu "Settings" of menu bar 1 of process "AirPort Utility"
delay 3
clickradio button "Wireless" of tab group 1 of window 1 of application process "AirPort Utility"
delay 1
-- Set Wireless mode to ON
click pop up button "Wireless Mode:" of tab group 1 of window 1 of application process "AirPort Utility"
tell menu 1 of pop up button "Wireless Mode:" of tab group 1 of window 1 of application process "AirPort Utility"
click menu item "Create a wireless network"
end tell
-- Set Wireless Network name to Straling
set value of text field "Wireless Network Name:" of tab group 1 of window 1 of application process "AirPort Utility" to "Straling"
-- * Set the Internet connection to Bridge Mode *
-- Select menu "Internet"
click menu item "Internet" of menu "Settings" of menu bar 1 of process "AirPort Utility"
delay 1
click pop up button "Connection Sharing:" of tab group 1 of window 1 of application process "AirPort Utility"
tell menu 1 of pop up button "Connection Sharing:" of tab group 1 of window 1 of application process "AirPort Utility"
click menu item "Off (Bridge Mode)"
end tell
-- * Update settings
delay 1
click button "Update" of window 1 of process "AirPort Utility"
delay 1
if (exists button "Continue" of sheet 1 of window 1 of process "AirPort Utility") then
click button "Continue" of sheet 1 of window 1 of process "AirPort Utility"
end if
-- * Quit Airport utility
delay 2
tell application "AirPort Utility" to quit
end tell