(* Copy local ip to the clipboard. --CBT: 2009-09-28 *) on run do shell script " ifconfig `netstat -nrfinet | sed -n '/^default/s/.* //p'` | awk '/broadcast/{printf $2}' | pbcopy " end run