Gmail attachment reminder v3.0b

By norcimo Last update Dec 23, 2007 — Installed 20,064 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 29 posts, 18 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Nathan Sudds User

Would it be possible to adapt this script to be used for a Reply to All Reminder --- I find myself often "Replying" and then wishing I had clicked Reply to All instead --- it seems to me there might be a way to use this same theory for a reminder to ask if I'd like to "reply to all" when that tab is visible.

If anyone has ideas on this, I would appreciate it.

 
LudoA User

It'd be great if the trigger wasn't a string variable, but a string array. That way one could change wordTrigger to include not just "attach", but also "bijlage" (Dutch), "ci-joint" & "annexe" (French), etc. Useful for those of us who send emails in multiple languages, so we don't have to install another version of this script for each language (and even multiple versions per language, for those languages which have multiple words for it, like French).

Would be nice if there were more comments in the code, like in the last part. Would help *a lot* to quickly get in the code. I'm looking at adapting it myself to change it to use an array, but the lack of comments in the first part makes it a bit more confusing. I'm sure it's all clear to you as it's a relatively small piece of code, so it'd be much appreciated if you could have a look at adding some more comments (not really about the code, which isn't very hard, but about the domain - e.g. "what's the importance of the send button's text?" and stuff like that).

Other than that, great script, thanks for making it!

 
Patrick Robe... User

Doesn't seem to be working for me either. :(
Can't get it to prompt at all.
Do I need to edit the script in any way, or should all the triggers be there already?

 
norcimo Script's Author

Sorry for the delay in response. A new job and associated move have rather curtailed my normal activities. I'll be looking into this as soon as I can, as well as making the script compatable with the new GMail interface).

 
Patrick Kamper User
Here is your test case: start a new message in HTML mode (script works fine for plain text). Type your trigger word in the BODY and it is not recognized when you add no attchment. It is recognized in the subject field. I'm no programmer but I think something is wrong with --- var fixupReg=new RegExp(/
/gi); msg=msg.replace(fixupReg,"\n"); --- Could you fix it? Because it's a really fine script!
 
norcimo Script's Author

@Steve, I've just checked again (normal GMail account, not apps for my domain) and I can't reproduce that behaviour. Everything seems to work fine. I don't suppose anyone has a simple test case where it fails?

 
Steve Skinner User

I'm with the last two posts. This doesn't seem to work. I have Google Apps for my domain, but it seems like that's been accounted for. I've successfully been able to send emails without attachments even with attach, attachment, and attached in the email body.

 
norcimo Script's Author

Nathan, the script won't catch just the word attach but will catch attachment, attached, etc. Off the top of my head (it's late here!) to catch just attach to edit line 94 and replace the last + with a *

 
Nathan Sudds User

Is this still working for people currently? I have just installed this and seem to be able to send a message without the attachment even with attach in the body of the message.

 
Gina Trapani Scriptwright

Hi there - I love this script, so much so that I've posted it on Lifehacker and included it in a Firefox extension I put together called Better Gmail (with full credit and attribution to you of course.)

Several of my readers asked for an easy way to modify the trigger word for other languages, so I've done a slight modification which adds this option to the GM user script command menu.

My mod is here:
http://ginatrapani.org/workshop/greasemonkey/at...

It's still not perfect, since you can only set one root word for your regex. It would be nice to set several different words. Something to think about...

Anyway, you're free to incorporate my mods into your next rev, if you'd like.

Thanks again for a really useful script.

 
Henrik N Admin

Great script. I added the include http*://mail.google.tld/a/* locally to work with Google Apps.

 
Edward K User

This is a great script, so I'm wondering if it could be modified to check for other things, such as whether you've set the "from:" field correctly when sending email to certain domains. I wouldn't know where to start.

 
Jerry R User

Love it! An hour after I installed it it popped up when I forgot the attachment - I do this all the time.

 
norcimo Script's Author

There appears to be an Italian translation at http://www.skyone.it/skyblogone/?p=551 (I think, I don't actually speak Italian...)

 
theaulddubliner Scriptwright

quite easily nicklman55 - you're typing an email and you've said you'll send an attachment as well - you get distracted and click send before choosing your attachment - i don't know how many times i've done it or been done to me

 
nicklman55 User

What is the point of this? How can you forget to attach something?

 
norcimo Script's Author

I've almost completely rewritten the script so it should handle things it didn't before (famous last words...)

 
norcimo Script's Author

Forgot to say if you (or anyone else) wants any pointers on modifying the script drop me a line (webmaster at norcimo dot com) and I'll do my best to help

 
norcimo Script's Author

thomp: No idea what's going on there. I have experienced (other) greasemonkey scripts which have abruptly stopped working, but usually an uninstall/reinstall sorts everything out. I've never gone so far as to reinstall Firefox though! Glad it's all working now anyways

 
thomp 1 User

follow-up: 8 hours later and the script is working again, with no changes to the script or Firefox in the meantime. Maybe this sort of behavior is well-known by others, but it is a mystery to me. (I'm happy to have the attachment reminder back--many attachments sent today.)

 
thomp 1 User

newbie Q: I added this script and was very happy with it. I edited the section that has the default check for "attach", and the prompt message "It appears that..", mainly just to 'see' the changes--since I thought the script was so cool. Now it doesn't work. Those were the only two edits I ever did. Did them in Wordpad. Never changed the default script name. I screwed around with with uninstalling and reinstalling the script an embarrassing number of times and can't get it going again. The installed script is identical to the download available here. Other scripts (e.g. conversation bubble), other extensions still fine. Removed and reinstalled Firefox. Any ideas? I really miss the cool attachment reminder.

 
Hlaing User

Oh Sorry, I forget to add to contact me,please contact at Hlaingbwa@mail2air.com

 
Hlaing User

Hi! It is fantastics as it is a real site for any addition on internet with FOC. I don't know what will be saying online.

 
norcimo Script's Author

OK, updated the script with my best attempt at getting it to work with HTML email (I always use plain text myself). The match is actually just a regular expression so if you understand such things you can write your own to match whatever you want. match('attach|adjunt') should do more or less what you want Patxi

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel