Applescripts for use with DevonTHINK Pro

1. Scripting Hints and Bits of Code

2. Downloadable Scripts

These tools have been released as freeware. You may use them as you wish. If you redistribute them or include them in some other product, please give credit to the original authors.

No warranties are offered or implied with respect to any of these products.

MSDTP is a user interface palette that enables the use of DevonTHINK Pro as a message editor for Barebones Mailsmith. Having selected a plain text document in DevonTHINK Pro you can click on MSDTP to open the document as a new mail message in Mailsmith. MSDTP also links to Apple's Address Book, and contains other useful mail message creation tools.

MSDTP.sitx To install, place the MSDTP folder in your User Scripts Folder. Read the included documentation for instructions on how to use MSDTP.
open-MSDTP.sitx

The regular version of MSDTP is an application. This "open" version is available as a script for scriptors who wants to alter or extend the code. It is identical to the regular version except that it has not been saved as an application. This version requires the Smile applescript editor which can be found at Satimage-software.

MSDTP uses the Satimage-software Smile dialog making utility and it includes the Satimage.osax. You can visit Satimage-software at <http://www.satimage-software.com>.

These two scripts are also useful when editing email in DevonTHINK Pro. They run in Mailsmith and copy a message to DTP formatted as an email "reply".
msdtp-reply.sitx Copies a Mailsmith message to DevonThink Pro in a "reply to" format. The DTP document is created as plain text at the top level of the DTP database. The text of the message is quoted using the ">" character. If necessary, "re:" is added to the subject of the message. The subject of the message becomes the DTP document name. The address of the message is copied to the first paragraph of the DTP document.
msdtp-reply-sel.sitx Same as above except uses selected text instead of the entire email message.