Modified Gmail Macros v. 2.0

By sewpafly Last update Oct 22, 2008 — Installed 11,690 times.

Hot off the press buggy version

in
Subscribe to Hot off the press buggy version 25 posts, 6 voices



sewpafly Script's Author

I got the parts of the script working that I use regularly, but I know that there are still some bugs with this, but wanted to see if anyone else wanted to give it a shot...

version 20090206.1

Also, because gmail's shortcuts work much better than mine (it's okay, as someone told me -- they cheat) by the next official version I will probably be removing:
* add/remove/create label
* move to inbox
* trash
* unread
* read
* archive
* select functions

 
zzyyfff User

awesome! thank you! time to test...... =)

 
zzyyfff User

not sure what i'm doing wrong if anything, but i can't get it to do anything. is there a way to check to see if it's loaded?

 
sewpafly Script's Author

Close gmail, clear your cache, reload gmail. Hopefully, 'h' will then bring up the config screen. If this doesn't work try editing the script and changing the value debugVar = true, and then do the close, clear, reload and keep the firefox javascript console enabled (ctrl+shift+j) to see any errors/output from the script.

 
rastony User

Hi, same problem as zzyyfff.

Do I need to disable MM2 and use greasemonkey with that fix script? Or both together ? Or ... ?
It doesn't work. Could it be because of cache, you think ?

Please keep on updating. I have 916 labels (wow, 1st time I count - professionnal uasge of gmail and not one-to-one labelling)and Gmail absolutely sucks we such amount of label (their script crash).

Tks,
Anthony

 
zzyyfff User

sorry i'm being slow to get back to you on this. still not working after clearing the cache. i'm in grad school and don't have time to monkey with the script, but if i do have a free moment i'll give it shot. =)

 
sewpafly Script's Author

Which version of Greasemonkey are you using?

Try changing the value debugVar to true and pastebin the messages from the firefox error console.

 
Beatnick User

I haven't tested the whole shortcut's set, but the version 20090206.1 on git works for me using :
Mozilla Firefox 3.0.6 on GNU/Linux
Greasemonkey Release 0.8.20090123.1
Gmail new version/US

 
rastony User

Sorry but maybe I'm stupid or didn't succeed to make it works (or both :D ).
I get the releases mentioned above by Beatnick, but do I also need to have the Better Gmail 2 add-on installed or not ?
I removed it but then the "l" key shortcut to tag has no more effect (I also assume that I have to remobve it from my Gmail settings shortcuts.)
Plssssssss help.
Tks to all.

PS:I also change the debugVar option but nothing (because it seems the script doesn't launch...)

 
rastony User

PPS: I use CustomizeGoogle add-on but even if I deactivate, same issue:nothing happens.
I also used GTDInbox but uninstall (maybe some traces of it somewhere...)

Others add-ons: Adblock plus,delicious,Google toolbar,... but not sure have a link with that issue.

 
sewpafly Script's Author

For debugging this issue I would disable Better Gmail and use the latest version of greasemonkey (in Beatnick's post). close your gmail tab. Then hit ctrl+shift+j to bring up the javascript console. ctrl+shift+delete to delete the cache, load gmail and see what messages are sent to the javascript console. (This is if you did set the debugVar = true in the script).

 
free17 User

Debugging gives: Syntax error on line 1.

When I click on the link provided in the first post on Feb 6, this brings up garbage. It certainly does not look like a Greasemonkey script. It looks like an HTML file, beginning like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta /><title>modified_gmail_macros.user.js at 9dcf844667eff48d0935a73311476f5c9cbd7b60 from sewpafly's modified-macros - GitHub</title><link href="/opensearch.xml" title="GitHub" /><link href="http://github.com/fluidicon.png" title="GitHub" /><link href="http://assets3.github.com/stylesheets/bundle.css?bcc2cb10c9a3dafb91c36fb6b9eb5bbb7a37a580" /></head></html>

 
sewpafly Script's Author

@free 17 - Are you using something like noscript? You can also see the project github page here and try to download the file from there.

 
Beatnick User

I've noticed that if i enable the "Right-side chat" or "Right-side labels" lab features the macros stop working.

 
free17 User

sewpafly: the version downloaded from the link in your latest post works, both in Linux and on Vista. I am not using Noscript, just the latest Firefox with Adblock. I wonder how many other users for which this script did not work had the problem exactly like mine.

 
sewpafly Script's Author

Thanks free17

 
kent moffat User

Most shortcuts work for me except the one I consider the biggest time saver: Mark as read, all unread. When I press the , it pulls down the "More Actions" menu rather than marking the messages as read.

Any ideas on what could be wrong?

Thanks!

 
sewpafly Script's Author

kent, are you using it in a special view? (What's the url?) I probably use this one more than any other one as well, and it's working for me.

 
rastony User

Dear sewpafly, thanks for your script, it's really good.

First, as free17, when downloading the script I had a HTML file instead of a Userscript file. ABP is disable but nothing change (I don't have NoScript installed). I copy and paste the script source in GreaseMonkey and now the MM2 script launches. Great!!!

But :( when accessing to my labels, the MM2 popup appears but no prefetch/suggested label when I type and even if I type the whole label, it doesn't take it into consideration :(
Any idea ?

P.S.: I disabled the "Open label as menu" keyboard shortcut in gmail (default is letter "l" assigned). Am I wrong in this ?

Tks for you greaaaaaaaaaat job.
Anthony

 
rastony User

Here are logs given by vardebug=true in JS console:
github.com/modified_gmail_macros: nodeName: HTML
github.com/modified_gmail_macros: getTranslatedEventCode - heard key: 76
github.com/modified_gmail_macros: kH - Macro: APPLYLABEL
github.com/modified_gmail_macros: nodeName: HTML
github.com/modified_gmail_macros: getTranslatedEventCode - heard key: 76
github.com/modified_gmail_macros: kH - Macro: APPLYLABEL
github.com/modified_gmail_macros: nodeName: INPUT
github.com/modified_gmail_macros: nodeName: INPUT
github.com/modified_gmail_macros: nodeName: INPUT
github.com/modified_gmail_macros: nodeName: INPUT
...

As many "github.com/modified_gmail_macros: nodeName: INPUT" as I type (but no mention which key I typed nor which keycode).
ENTER is considered as a "github.com/modified_gmail_macros: nodeName: INPUT" but no further actions triggered.

Tks for your help

 
zzyyfff User

i've got the mark all unread as read function working! that is exciting. unfortunately, using it scrolls my to the bottom of the page.

another big issue: when i press 'g' to bring up the label go-to window, it comes up and i can type into it, but it does not go to the label i type making it not of any use currently. also, it does not show any predictive labels nor try to autocomplete.

i've got the debug var on and the consol up, but i'm not sure how to send you what is in it! not sure how to use pastebin either.

thnaks for a great script!

 
zzyyfff User

hi there! any progress on getting the label navigation to work? it still seems to be broken here

thanks! =)

 
zzyyfff User

bump, poke, etc.....

 
zzyyfff User

bump

 
sewpafly Script's Author

I'm pretty sure that I'm not going to update this script anymore. Gmail's lab features handle 98% of what I wanted to do with this and I don't have a need to update it for myself... If someone else wants to take over the development that's fine, I'll link to them...