Return to Snippet

Revision: 11166
at January 27, 2009 00:21 by ttscoff


Initial Code
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

Initial URL


Initial Description
I just figured out that TextExpander can execute AppleScripts. This is an experiment.

Initial Title
Mac Lover Sig for TextExpander

Initial Tags
curl, api

Initial Language
AppleScript