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 . . .)

Bloggers Express: Next I needed to get the script to add blockquote, anchor and italic markup to to get my preferred weblog (more . . .)

AppleScript Installation: AppleScript has to be fully installed properly. On my OS X Panther install, that took two steps. First, the Applescript (more . . .)

About this site

Essays

Syndication available


tinderbox
Essays : AppleScript for Weblogs : Stickies Express

There's a script that's been reproduced many times around the net. I found it at Studio Log as part of a script for pulling info from a web page into a Stickie. It actually works pretty well for grabbing info for Tinderbox where the title and URL will be made into a link via a dialog. I have it in Script menu as Stickies Express

[Note to self: Is this scriptable in Tinderbox?]

Stickies 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 t & return & s & return & u

set the clipboard to noteStr

end tell

Copyright 2003 by James J. Vornov