Skip to content

Instantly share code, notes, and snippets.

@bradwright
bradwright / send-mail-to-omnifocus-and-archive.scpt
Last active August 25, 2016 19:05
Take current Mail.app message, send its subject and 'message:<>' URL to OmniFocus, and then Archive the email
-- Send currently selected Mail.app message to OmniFocus 2 quick entry box, then archive it
-- Archive behaviour found at: http://vemedio.com/blog/posts/my-archive-email-apple-script
tell application "Mail"
set theSelectedMessages to selection
set the selected_message to item 1 ¬
of the theSelectedMessages
set message_id to the message id of the selected_message
set my_subject to the subject of the selected_message
set message_url to "message://%3c" & message_id & "%3e"

ArchivesSpace binary distribution

The .jar file distribution requires that users type a complex java command line to start the application.

Proposal: distribute a .zip file that contains the .jar as well as some wrapper scripts to start up the server.

Assumes either java 6 or java 7 is on the $PATH or %PATH%.

This is what you would get when you unpack the file: