Created
May 17, 2012 20:52
-
-
Save jmah/2721526 to your computer and use it in GitHub Desktop.
Basic example AppleScript for Delicious Library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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