/ Published in: AppleScript
I just figured out that TextExpander can execute AppleScripts. This is an experiment.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
set _date to do shell script "date +'Sent on %A, %b %d at %l:%M %p'|tr -s ' '" set _quote to do shell script "curl -s 'http://www.iheartquotes.com/api/v1/random?source=macintosh&max_lines=4&show_source=0&show_permalink=0'|sed -n '$!p'" set _out to " -Brett " & _date & " ________________________________ Brett Terpstra | [email protected] The Unofficial Apple Weblog  http://www.tuaw.com " & _quote return _out