Here's an applescript to attach current Nisus doc to email.
Posted: 2006-06-01 11:03:00
maybe there's already a way to do this, but I couldn't find it. I was trying to do this myself, but got MAJOR help from the forum users at macosxhints.com...please include the credit (not mine, the author's) if you distribute it:
-- Send Nisus Writer Express Document as Mail Attachment
--
-- By BigPixel Software
-- http://bigpixel.macintoshdevelopers.net
-- You don't have t keep this header here, but if you do
-- redistrbute it, I would like some credit for my work.
tell application "Nisus Writer Express"
set theFile to path of document of front window
end tell
tell application "Mail"
set theMessage to make outgoing message
tell theMessage
make new attachment with properties {file name:theFile} at after the last paragraph
end tell
set visible of theMessage to true
end tell
-- Send Nisus Writer Express Document as Mail Attachment
--
-- By BigPixel Software
-- http://bigpixel.macintoshdevelopers.net
-- You don't have t keep this header here, but if you do
-- redistrbute it, I would like some credit for my work.
tell application "Nisus Writer Express"
set theFile to path of document of front window
end tell
tell application "Mail"
set theMessage to make outgoing message
tell theMessage
make new attachment with properties {file name:theFile} at after the last paragraph
end tell
set visible of theMessage to true
end tell