Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Gmail Macros
Extra (customizable) keyboard shortcuts and macros.
|
|
New version at http://blog.persistent.info/2007/11/macros-for-... |
|
|
For the top row of buttons, Gmail macros calls the "id=x" variable from HTML in the old Gmail, where x equals the following id's:
In new Gmail the HTML uses the parameter "act=x", where x equals the following numbers:
For compatibility with both versions, Gmail macros needs to be changed to call either one for the variables for each action. |
|
|
+1 for updating this to Gmail 2.0; this is the script that made Gmail so much more usable for me (with R for mark read and E for archive). |
|
|
Until we get an update Gmail Macros for Gmail 2.0, you can get back Gmail Macros functionality. In the top right corner, at least right now, there's an option called "Older version" which reverts Gmail to the UI version when the Gmail Macros still worked. Hooray for a workaround! |
|
|
Let's talk about exactly how it's broken, and maybe we can fix it ourselves. I've noticed that pressing 'y' to archive is working fine. But that pressing 'l' to label a message is NOT working. Has anybody noticed other problems? |
|
|
Please tell me you'll be updating the code for the new Gmail interface? :) |
|
|
Broken for today's firefox update. |
|
|
Please help a noob.
I have a office@xxx mailbox and I want to forward the messages to the proper people (and keep a count of the forwards) - a macro would definetly improve my life. Which lines need to be changed?
|
|
|
Guys, updated version of the script if found in his blog!
|
|
|
this is a very good and useful script |
|
|
@Mahesh: Press 'h' to see a list of all the available shortcut keys. If you still aren't getting this, try installing the script from persistent info directly. |
|
|
Hi I am new to this greasemonkey scripts. could anyone please tell me what all shortcuts are enabled after installing this script. I installed this gmail macros after installing the grease monkey firefox extension, but I still haven't got access to any shortcuts while using gmail :(. |
|
|
One of the limitations of this script has been that you have to keep the "Labels" node/table open for it to pickup your user-defined labels; and I don't like keeping my labels table/node open. If you have it closed, then you can Goto/Label only the standard labels. So, yesterday I sat down hacking the JavaScript, and came up with the following fix. Now, if the "Labels" node is closed, then it will first opne it, perform your action (goto/label), and then close it back again. Here it goes: Note to non-JS/novice guys: Declare a global variable (preferably just before "function beginLabelAction()"):
Now, add the following 4 lines at the beginning of "function beginLabelAction()":
Now, at the end of "function endLabelAction()", add the following 4 lines:
I am myself pretty much a novice at JS, so raising a request in the community (here) for this feature was the easiest way to get this functionality. But yesterday, I decided that it was high time that I too dirtied my hands with JS. So I set off debugging GMail's DOM and JS using the firefox's built in DOM Inspector. I tried my hands on the Venkman debugger too, but that didn't prove of much help. I think 3 hours of my weekend afternoon were put to good use; you decide it. I have been a great fan of the GMmacros script, and hope this adds more value to it. Best regards,
|
|
|
p.s. to install the posted scipt, you need to right click > View User Script Source |
|
|
Mihai seems to be too busy to fix it. well, i found a post on the author's page about a group started for gmail scripts (very experimental). Thanks Scott for pointing it out. http://groups-beta.google.com/group/gmail-power... The script seems to work just great as it was first intended by the original author. Thanks to Karl/Anand/Brent for tweakin 'em up! |
|
|
Waiting for an updated version, too.
|
|
|
used to work smoothly until a few days ago when the page didnt respond to goto (g) functions. applied this updated one and nothing seems to work now, not even the quicksilver... needs a fix, yet again. will keep comin back... |
|
|
Does this silly comment display mechanism not even honor tags? How is anyone supposed to put together a decent- looking comment??? Ed. |
|
|
I tooled around with the gmailmacros.user.js file in my ~/.mozilla/firefox/ Near the beginning of the file, I found : const LABEL_ACTIONS = { // g: go to label 71: function(labelName) { Near the bottom of this small function is: // event.target gets set to the document (and is read-only, so we can't set // it by hand). Unfortunately, labelDiv.createEvent doesn't work either. // However, Gmail checks for both srcElement and target, so we can fake // it this way. event.srcElement = labelDiv; document.dispatchEvent(event); I have changed the last line shown above - document.dispatchEvent: //document.dispatchEvent(event); labelDiv.dispatchEvent(event); And now it seems to be working for me, although I don't know if it will stop working again tomorrow morning :-/ Ed. |
|
|
Using Firefox 1.5.0.3 on Mandriva 2006. The "g" function to goto labels is my primary interest in this script. After installing, it worked fine for a day. The next day, though "g" shows the "Label Selector 9000" "popup", and it auto-completes label names, it did not actually go to that label. Refreshing the Gmail page and disabling, then re-enabling GreaseMonkey got it working again, for the whole day.
I fetched the patch mentioned by Lady Madonna, and tried to patch the js file with "patch gmailmacros.user.js /home/edgar/dl/gmail-macros-fix20060318.patch" but this failed, with error messages stating 2 out of 2 hunks failed. With good reason, since this patch appears to be for an earlier version of the Macros script. I monitored the Javascript Console while invoking the "g" functions, but no error is reported from this JS file. It just doesn't work.
Can the author please help? Thanks,
|
|
|
Need to change MARK_AS_UNREAD to "ur". |
|
|
Fantastic scripts! Two suggestions: 1) "P" (purge) gets in the way of "n"/"p" in conversation view (to move among msgs in conversation)! I recommend changing this to another shortcut. 2) I think this would be revolutionary: ability to take action on the item AT THE CARET without having to "X" it and without interfering with whatever *is* "X"'d...Perhaps <shift>+key could accomplish this. Examples: ===Message list view===
===Conversation view===
Know this would be more of a challenge but you've gotta admit it would be useful!</shift></shift></shift></shift></shift> |
|
|
I installed in early April on machine #1 and it worked fine. In the past month or so, I installed on machines #2 & 3 and it didn't work. I copied the js file from #1 to #2 and it works on #2. The working version is the version from the "Original Source Location" link on this page (pointing to http://persistent.info/greasemonkey/gmail-macro...). Is anybody else having similar experiences? |
|
|
A nice & accessible reminder for shortcuts in the gmail interface is welcome.
|
|
|
hmmm... purge (mark as read, archive) doesn't work anymore. |
You could comment on this script if you were logged in.
