Skip to content

Instantly share code, notes, and snippets.

@jmah
Created October 10, 2012 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmah/3868775 to your computer and use it in GitHub Desktop.
Save jmah/3868775 to your computer and use it in GitHub Desktop.
Creating Loans with Delicious Library 2
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