Thursday, June 5, 2008

[Nautilus Script]將檔案以附件方式由ThunderBird寄出

http://g-scripts.sourceforge.net/cat-filesysmgt.php

Script可由下列位址下載
http://g-scripts.sourceforge.net/nautilus-scripts/File%20System%20Management/attachtoTBmail

要修改下列地方才能正常使用

# Test if Thunderbird is running to make properly the attachment.
MOZ_ON=`ps -ec | grep -c thunderbird`
if [ $MOZ_ON != 0 ]; then
/usr/lib/thunderbird/thunderbird "xfeDoCommand(composeMessage,attachment=$ATTACHMENT)"
else
thunderbird -compose "attachment=$ATTACHMENT"
fi

No comments: