Email Customization
There is no way to compose an email that includes an attachment using the mailto: protocol. Therefore in ProfitTrain when we want to send an email with the PDF invoice attached we use a series of AppleScripts to support Mail.app, Entourage, Mailsmith, Eudora and Mailplane (Gmail front end).
If you want to run your own AppleScript when ProfitTrain wants to send an email you can do that as well. As we say in the help book article:
Under the application menu “ProfitTrain”, in the main menu, you’ll find a command labeled “Install Custom Email AppleScript…”. Using this you can copy a customizable AppleScript into place at:
[HardDisk]/Users/[you]/Library/Application Support/ProfitTrain/email_invoice_using_user_script.scptWhen ProfitTrain sees an AppleScript at this location, with this filename, it will use it when you use the Email publish action instead of the default built-in script.
ProfitTrain user Jankees van Woezik is using this feature to customize the subject line as well as archive the PDF invoices as he mails them. Cool stuff.