Notes on software and processes for collecting, analyzing and acting on data

More: Related:

AppleScript for Weblogs: Once upon a time there was Manila Express. It was the tool that drove my early weblogging experience. Once installed, (more . . .)

Stickies Express: There's a script that's been reproduced many times around the net. I found it at Studio Log as part of (more . . .)

About this site

Essays

Syndication available


tinderbox
Essays : AppleScript for Weblogs : Bloggers Express

Next I needed to get the script to add blockquote, anchor and italic markup to to get my preferred weblog format just the way I like it:

Scripting News: 12/21/2003: Unknown philosopher: "Only steal from the best."

I just needed to add the HTML markup around the pieces that Stickies Express puts on the Clipboard. The only tricky part is escaping all of the quotes in the HTML like this "/"".

Bloggers Express

tell application "Safari"

activate

set t to name of window 1

set s to URL of document 1

end tell

set the clipboard to ""

tell application "System Events"

tell process "Safari"

click menu item "Copy" of menu "Edit" of menu bar 1

end tell

end tell

tell application "Safari"

activate

set t to name of window 1

set s to URL of document 1

set u to the clipboard

set noteStr to "

" & return & "" & t & ": " & "" & u & "" & return & "
"

set the clipboard to noteStr

end tell

Copyright 2003 by James J. Vornov