Skip to content

Instantly share code, notes, and snippets.

@jmah jmah/Ratings.scpt
Created May 17, 2012

Embed
What would you like to do?
Basic example AppleScript for Delicious Library
tell front document of application "Delicious Library 2"
set howMany to count of (every medium whose rating 4)
end tell
tell application "TextEdit"
make new document with properties ¬
{text:"There are " & howMany & " items in Delicious Library rated at least 4 stars."}
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.