attach name body email
Hi,
When I sent an email, I use this addon "#tbkeys" to add the file name of the attachment in the body email. Is there a way to automatically add the name of the attachment, without using a shortcut ?
and this is the code for shortcut key...
- tbkeys
{"ctrl+3": "(function () {
var bucket = window.document.getElementById('attachmentBucket');
var names = [];
for (var i = 0; i < bucket.getRowCount(); i++)
names.push('• '+bucket.getItemAtIndex(i).getAttribute('name'));
window.goDoCommandParams('cmd_smiley','This is Attachement name :
'+ names.join('
'));
})();"}
Hi,
When I sent an email, I use this addon "#tbkeys" to add the file name of the attachment in the body email.
Is there a way to automatically add the name of the attachment, without using a shortcut ?
and this is the code for shortcut key...
#tbkeys
{"ctrl+3": "(function () {
var bucket = window.document.getElementById('attachmentBucket');
var names = [];
for (var i = 0; i < bucket.getRowCount(); i++)
names.push('• '+bucket.getItemAtIndex(i).getAttribute('name'));
window.goDoCommandParams('cmd_smiley','This is Attachement name :<br><br>'+ names.join('<br>'));
})();"}