set {d, s, t} to {1, "My Sheet", "My Quotes"} -- front doc, sheet named "My Sheet", table named "My Quotes"
set quoteProps to "l1" -- For more props see http://www.jarloo.com/yahoo_finance/ set baseURL to "http://download.finance.yahoo.com/d/quotes.csv?"
tell application "Numbers" to tell document d's sheet s's table t set theSymb to column 1's (cells 2 thru -1)'s value set AppleScript's text item delimiters to "+" set theSymb to "s=" & theSymb set quoteProps to "&f=" & quoteProps set the clipboard to (do shell script "curl -s " & (baseURL & theSymb & quoteProps)'s quoted form) set selection range to range "B2" activate tell application "System Events" to keystroke "v" using {option down, shift down, command down} end tell