Oct 17, 2008 09:33
I'm unconvinced of Applescript's utility as a programming language, but its extensive use of prepositions in its syntax does make for some very, er, friendly to read code. It's at least charming.
tell application "Adium"
set theAccountList to every account whose status type is offline
repeat with theAccount in theAccountList
tell theAccount to go online
end repeat
activate
end tell
geek