Created
October 10, 2012 22:04
-
-
Save jmah/3868775 to your computer and use it in GitHub Desktop.
Creating Loans with Delicious Library 2
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 f to first friend | |
set m to first item of (get selected media) | |
set due to (current date) + 2 * weeks | |
make new loan with properties {due date:due, borrower:f, medium:m} | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment