Some users have been getting "Newer Version" and "Older Version" links in their Gmail accounts that switch between the current Gmail interface and a newer one, in testing. There is a new version coming, as Google announced at Google Analyst Day 2007 last week, and it will have a completely different JavaScript base. Is anyone up to updating the various Gmail Macros scripts to work with the new version, once it becomes available to them? Unless of course, Google takes my suggestion and includes Gmail Macros natively in the new version of Gmail...
I do know that my Macros are not working on the new version, though I quite like the new version. Sharp. I'll stick with the old version until macros are brought up to date though, they are absolutely essential.
On Oct 29, 7:49 pm, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> Some users have been getting "Newer Version" and "Older Version" links > in their Gmail accounts that switch between the current Gmail > interface and a newer one, in testing. There is a new version coming, > as Google announced at Google Analyst Day 2007 last week, and it will > have a completely different JavaScript base. Is anyone up to updating > the various Gmail Macros scripts to work with the new version, once it > becomes available to them? Unless of course, Google takes my > suggestion and includes Gmail Macros natively in the new version of > Gmail...
With so many different versions of the script, though, updating might be a bit more difficult. As for the interface, I wish Google would roll out new features more quickly; I don't even have IMAP yet.
Which script variant should get priority? The one included in Lifehacker's Better Gmail? Mihai's original? Yours? This is complicated...
On Oct 30, 2:14 pm, Brent Nef <brent....@gmail.com> wrote:
I think that mine is actually the one used in Better Gmail (the changelog says it was taken at 0.4), which I combined the latest (at the time) changes from Mihai's script. Regardless, the changes will all affect the same spot: the scripts create an alternate "more actions" menu and then fire that off. Since I don't have the new version I'm not sure how that interface has changed and what sort of differences there are between old and new, but presumably this action menu still exists.
>From what I've read and the screenshots I've seen, the more actions
menu has been changed from a select menu to a layer; it looks a lot like the menus in Google Reader, if you're familiar with those, though I don't know if the code is at all similar.
On Oct 30, 4:28 pm, Brent Nef <brent....@gmail.com> wrote:
> I think that mine is actually the one used in Better Gmail (the > changelog says it was taken at 0.4), which I combined the latest (at > the time) changes from Mihai's script. Regardless, the changes will > all affect the same spot: the scripts create an alternate "more > actions" menu and then fire that off. Since I don't have the new > version I'm not sure how that interface has changed and what sort of > differences there are between old and new, but presumably this action > menu still exists.
Are folks working on this? I'd be happy to pitch in, if someone will point me in the right direction in terms of resources, GMAIL's API (is there one?) and that sort of thing. I seriously need the macros to survive, and I don't want to give up all the niftiness of the new version.
On Oct 30, 8:10 pm, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> >From what I've read and the screenshots I've seen, the more actions
> menu has been changed from a select menu to a layer; it looks a lot > like the menus in Google Reader, if you're familiar with those, though > I don't know if the code is at all similar.
> On Oct 30, 4:28 pm, Brent Nef <brent....@gmail.com> wrote:
> > I think that mine is actually the one used in Better Gmail (the > > changelog says it was taken at 0.4), which I combined the latest (at > > the time) changes from Mihai's script. Regardless, the changes will > > all affect the same spot: the scripts create an alternate "more > > actions" menu and then fire that off. Since I don't have the new > > version I'm not sure how that interface has changed and what sort of > > differences there are between old and new, but presumably this action > > menu still exists.
I've tried to take just a small portion - the key assignment part of the gmail macros - and see if I could get the label hotkeys to work. I'm afraid I'm at a loss in the new environment.
I also took a stab at Gmail Colored Labels, but couldn't seem to locate the particular div elements that hosted the place where labels appear in front of messages.
I'm willing to help - or at least document how to help - if someone is willing to figure out the programming.
On Nov 4, 1:33 pm, sam_j <sammer...@gmail.com> wrote:
> Are folks working on this? I'd be happy to pitch in, if someone will > point me in the right direction in terms of resources, GMAIL's API (is > there one?) and that sort of thing. I seriously need the macros to > survive, and I don't want to give up all the niftiness of the new > version.
> I've tried to take just a small portion - the key assignment part of > the gmail macros - and see if I could get the label hotkeys to work. > I'm afraid I'm at a loss in the new environment.
> I also took a stab at Gmail Colored Labels, but couldn't seem to > locate the particular div elements that hosted the place where labels > appear in front of messages.
> I'm willing to help - or at least document how to help - if someone is > willing to figure out the programming.
> On Nov 4, 1:33 pm, sam_j <sammer...@gmail.com> wrote:
> > Are folks working on this? I'd be happy to pitch in, if someone will > > point me in the right direction in terms of resources, GMAIL's API (is > > there one?) and that sort of thing. I seriously need the macros to > > survive, and I don't want to give up all the niftiness of the new > > version.
I'm using Mihai's original one, but I'd be happy to contribute to whichever consensus deems to best fit for a version two. I know how to code, but I don't a clue about where to begin in interfacing with gmail -- most of my experience is offline.
I take it that google does not document interfacing with gmail -- do I just check out the pagesource and tinker through it? Or is there a more intelligent way of doing this?
On Nov 5, 3:48 pm, Doug Harris <dhar...@gmail.com> wrote:
> On Nov 4, 7:09 pm, "caveat...@nospam.gmail.com" <caveat...@gmail.com> > wrote:
> > I've tried to take just a small portion - the key assignment part of > > the gmail macros - and see if I could get the label hotkeys to work. > > I'm afraid I'm at a loss in the new environment.
> > I also took a stab at Gmail Colored Labels, but couldn't seem to > > locate the particular div elements that hosted the place where labels > > appear in front of messages.
> > I'm willing to help - or at least document how to help - if someone is > > willing to figure out the programming.
> > On Nov 4, 1:33 pm, sam_j <sammer...@gmail.com> wrote:
> > > Are folks working on this? I'd be happy to pitch in, if someone will > > > point me in the right direction in terms of resources, GMAIL's API (is > > > there one?) and that sort of thing. I seriously need the macros to > > > survive, and I don't want to give up all the niftiness of the new > > > version.
> I'm using Mihai's original one, but I'd be happy to contribute to > whichever consensus deems to best fit for a version two. I know how > to code, but I don't a clue about where to begin in interfacing with > gmail -- most of my experience is offline.
> I take it that google does not document interfacing with gmail -- do I > just check out the pagesource and tinker through it? Or is there a > more intelligent way of doing this?
> On Nov 5, 3:48 pm, Doug Harris <dhar...@gmail.com> wrote:
> > On Nov 4, 7:09 pm, "caveat...@nospam.gmail.com" <caveat...@gmail.com> > > wrote:
> > > I've tried to take just a small portion - the key assignment part of > > > the gmail macros - and see if I could get the label hotkeys to work. > > > I'm afraid I'm at a loss in the new environment.
> > > I also took a stab at Gmail Colored Labels, but couldn't seem to > > > locate the particular div elements that hosted the place where labels > > > appear in front of messages.
> > > I'm willing to help - or at least document how to help - if someone is > > > willing to figure out the programming.
> > > On Nov 4, 1:33 pm, sam_j <sammer...@gmail.com> wrote:
> > > > Are folks working on this? I'd be happy to pitch in, if someone will > > > > point me in the right direction in terms of resources, GMAIL's API (is > > > > there one?) and that sort of thing. I seriously need the macros to > > > > survive, and I don't want to give up all the niftiness of the new > > > > version.
> If I ever get the new version I'd like to add my code that makes the > keys configurable, and add an interface to change those mappings as > well.
> On Nov 6, 4:53 am, sam_j <sammer...@gmail.com> wrote:
> > I'm using Mihai's original one, but I'd be happy to contribute to > > whichever consensus deems to best fit for a version two. I know how > > to code, but I don't a clue about where to begin in interfacing with > > gmail -- most of my experience is offline.
> > I take it that google does not document interfacing with gmail -- do I > > just check out the pagesource and tinker through it? Or is there a > > more intelligent way of doing this?
> > On Nov 5, 3:48 pm, Doug Harris <dhar...@gmail.com> wrote:
> > > On Nov 4, 7:09 pm, "caveat...@nospam.gmail.com" <caveat...@gmail.com> > > > wrote:
> > > > I've tried to take just a small portion - the key assignment part of > > > > the gmail macros - and see if I could get the label hotkeys to work. > > > > I'm afraid I'm at a loss in the new environment.
> > > > I also took a stab at Gmail Colored Labels, but couldn't seem to > > > > locate the particular div elements that hosted the place where labels > > > > appear in front of messages.
> > > > I'm willing to help - or at least document how to help - if someone is > > > > willing to figure out the programming.
> > > > On Nov 4, 1:33 pm, sam_j <sammer...@gmail.com> wrote:
> > > > > Are folks working on this? I'd be happy to pitch in, if someone will > > > > > point me in the right direction in terms of resources, GMAIL's API (is > > > > > there one?) and that sort of thing. I seriously need the macros to > > > > > survive, and I don't want to give up all the niftiness of the new > > > > > version.
I also put in some code so that people can rebind keys. That is, for small letters, use the numbers such as '71' for g. For capital letters, use put 's' at the end, so '71s' is G. The code for the 's' is on line 252, where I added
k += (event.shiftKey) ? "s" : "";
Also, line 23 has
var MARK_AS_UNREAD_ACTION = "2";
I guess all actions have numbers. One could figure them out by trial and error, if nothing else. Lines 81-87 have the functions for read and unread.
This file doesn't include Brent's other innovations. It doesn't have a help box, but that should be easy to add by copying from the previous script. Knowing the numbers for the other events would be nice.
Thanks for the new macro script. Unfortunately, I really don't care for the new two and three-key combinations for my most common commands. I miss being able to use "t" for trash. Also, "shift-8-u" for select all unread messages seems excessive. I used an old script that used "mu" for selecting all unread messages, but a one-key macro for that would be ideal to me.
Too bad Gmail's system doesn't make it easier to configure these keyboard shortcuts.
It grates on me that these new keyboard shortcuts are so illogical. This is one of my main complaints about Yahoo mail. I suppose "shift-8" is "*" which is supposed to look like a mark, or maybe "#" is like crossing out. But "shift-i" for read? I guess it's next to "shift-u" for unread. Mihai has shortcuts like "b" for remove label. Of course, we're all indebted to him. But it's really essential to let people set up their own shortcuts, and it's the polite thing, too.
Carl
On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> Thanks for the new macro script. Unfortunately, I really don't care > for the new two and three-key combinations for my most common > commands. I miss being able to use "t" for trash. Also, "shift-8-u" > for select all unread messages seems excessive. I used an old script > that used "mu" for selecting all unread messages, but a one-key macro > for that would be ideal to me.
> Too bad Gmail's system doesn't make it easier to configure these > keyboard shortcuts.
Sorry, in my macros "r" conflicts with reply, if you're reading a message. I'll remove that but leave the rest as is. In the previous scripts people were able to make "r" behave differently when viewing a message, so I hope someone will find a way to do this again.
Carl
On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> It grates on me that these new keyboard shortcuts are so illogical. > This is one of my main complaints about Yahoo mail. I suppose > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > is like crossing out. But "shift-i" for read? I guess it's next to > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > Of course, we're all indebted to him. But it's really essential to > let people set up their own shortcuts, and it's the polite thing, too.
> Carl
> On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > Thanks for the new macro script. Unfortunately, I really don't care > > for the new two and three-key combinations for my most common > > commands. I miss being able to use "t" for trash. Also, "shift-8-u" > > for select all unread messages seems excessive. I used an old script > > that used "mu" for selecting all unread messages, but a one-key macro > > for that would be ideal to me.
> > Too bad Gmail's system doesn't make it easier to configure these > > keyboard shortcuts.
I just posted a comment to Mihai's blog asking if he'll add new label functionality to an "official" build of the script, and also (jokingly) if he'll convince the Gmail Team to add Macros to the mainstream code. We'll see what he says...
If he says no or doesn't answer, I think we'll just have to get Brent Nef back here to go over the code and reinvent his wheel... :)
On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote:
> Sorry, in my macros "r" conflicts with reply, if you're reading a > message. I'll remove that but leave the rest as is. In the previous > scripts people were able to make "r" behave differently when viewing a > message, so I hope someone will find a way to do this again.
> Carl
> On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > It grates on me that these new keyboard shortcuts are so illogical. > > This is one of my main complaints about Yahoo mail. I suppose > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > is like crossing out. But "shift-i" for read? I guess it's next to > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > Of course, we're all indebted to him. But it's really essential to > > let people set up their own shortcuts, and it's the polite thing, too.
> > Carl
> > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > Thanks for the new macro script. Unfortunately, I really don't care > > > for the new two and three-key combinations for my most common > > > commands. I miss being able to use "t" for trash. Also, "shift-8-u" > > > for select all unread messages seems excessive. I used an old script > > > that used "mu" for selecting all unread messages, but a one-key macro > > > for that would be ideal to me.
> > > Too bad Gmail's system doesn't make it easier to configure these > > > keyboard shortcuts.
> I just posted a comment to Mihai's blog asking if he'll add new label > functionality to an "official" build of the script, and also > (jokingly) if he'll convince the Gmail Team to add Macros to the > mainstream code. We'll see what he says...
> If he says no or doesn't answer, I think we'll just have to get Brent > Nef back here to go over the code and reinvent his wheel... :)
> On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > message. I'll remove that but leave the rest as is. In the previous > > scripts people were able to make "r" behave differently when viewing a > > message, so I hope someone will find a way to do this again.
> > Carl
> > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > It grates on me that these new keyboard shortcuts are so illogical. > > > This is one of my main complaints about Yahoo mail. I suppose > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > Of course, we're all indebted to him. But it's really essential to > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > Carl
> > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > for the new two and three-key combinations for my most common > > > > commands. I miss being able to use "t" for trash. Also, > "shift-8-u" > > > > for select all unread messages seems excessive. I used an old > script > > > > that used "mu" for selecting all unread messages, but a one-key > macro > > > > for that would be ideal to me.
> > > > Too bad Gmail's system doesn't make it easier to configure these > > > > keyboard shortcuts.
> please I really need this shortcut key. pleeeeeeeeeeeeeeeese. > many times there will be that email that you want to delete from the > conversation
> "delete this message"
> On Nov 6, 2007 3:28 PM, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> > I just posted a comment to Mihai's blog asking if he'll add new label > > functionality to an "official" build of the script, and also > > (jokingly) if he'll convince the Gmail Team to add Macros to the > > mainstream code. We'll see what he says...
> > If he says no or doesn't answer, I think we'll just have to get Brent > > Nef back here to go over the code and reinvent his wheel... :)
> > On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > > message. I'll remove that but leave the rest as is. In the previous > > > scripts people were able to make "r" behave differently when viewing a > > > message, so I hope someone will find a way to do this again.
> > > Carl
> > > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > > It grates on me that these new keyboard shortcuts are so illogical. > > > > This is one of my main complaints about Yahoo mail. I suppose > > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > > Of course, we're all indebted to him. But it's really essential to > > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > > Carl
> > > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > > for the new two and three-key combinations for my most common > > > > > commands. I miss being able to use "t" for trash. Also, > > "shift-8-u" > > > > > for select all unread messages seems excessive. I used an old > > script > > > > > that used "mu" for selecting all unread messages, but a one-key > > macro > > > > > for that would be ideal to me.
> > > > > Too bad Gmail's system doesn't make it easier to configure these > > > > > keyboard shortcuts.
> Have we figured out how to override the new gmail shortcuts yet? i.e. > the shift+i and the shift+8? Customizing the old script was so much > easier...
> On Nov 6, 1:55 pm, "Mohamad Alhomsi" <peacebeupon...@gmail.com> wrote:
> > please I really need this shortcut key. pleeeeeeeeeeeeeeeese. > > many times there will be that email that you want to delete from the > > conversation
> > "delete this message"
> > On Nov 6, 2007 3:28 PM, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> > > I just posted a comment to Mihai's blog asking if he'll add new label > > > functionality to an "official" build of the script, and also > > > (jokingly) if he'll convince the Gmail Team to add Macros to the > > > mainstream code. We'll see what he says...
> > > If he says no or doesn't answer, I think we'll just have to get Brent > > > Nef back here to go over the code and reinvent his wheel... :)
> > > On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > > > message. I'll remove that but leave the rest as is. In the previous > > > > scripts people were able to make "r" behave differently when viewing a > > > > message, so I hope someone will find a way to do this again.
> > > > Carl
> > > > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > > > It grates on me that these new keyboard shortcuts are so illogical. > > > > > This is one of my main complaints about Yahoo mail. I suppose > > > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > > > Of course, we're all indebted to him. But it's really essential to > > > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > > > Carl
> > > > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > > > for the new two and three-key combinations for my most common > > > > > > commands. I miss being able to use "t" for trash. Also, > > > "shift-8-u" > > > > > > for select all unread messages seems excessive. I used an old > > > script > > > > > > that used "mu" for selecting all unread messages, but a one-key > > > macro > > > > > > for that would be ideal to me.
> > > > > > Too bad Gmail's system doesn't make it easier to configure these > > > > > > keyboard shortcuts.
I don't know if this helps people with extending Mihai's script, but he linked to some code that might be of interest <a href="http:// code.google.com/p/gmail-greasemonkey/wiki/ GmailGreasemonkey10API">here</a>.
On Nov 6, 5:39 pm, sam_j <sammer...@gmail.com> wrote:
> Just want to put a thank you out there for fast update on the macro!
> On Nov 6, 4:20 pm, shrutes <shruti.v.s...@gmail.com> wrote:
> > Have we figured out how to override the new gmail shortcuts yet? i.e. > > the shift+i and the shift+8? Customizing the old script was so much > > easier...
> > On Nov 6, 1:55 pm, "Mohamad Alhomsi" <peacebeupon...@gmail.com> wrote:
> > > please I really need this shortcut key. pleeeeeeeeeeeeeeeese. > > > many times there will be that email that you want to delete from the > > > conversation
> > > "delete this message"
> > > On Nov 6, 2007 3:28 PM, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> > > > I just posted a comment to Mihai's blog asking if he'll add new label > > > > functionality to an "official" build of the script, and also > > > > (jokingly) if he'll convince the Gmail Team to add Macros to the > > > > mainstream code. We'll see what he says...
> > > > If he says no or doesn't answer, I think we'll just have to get Brent > > > > Nef back here to go over the code and reinvent his wheel... :)
> > > > On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > > > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > > > > message. I'll remove that but leave the rest as is. In the previous > > > > > scripts people were able to make "r" behave differently when viewing a > > > > > message, so I hope someone will find a way to do this again.
> > > > > Carl
> > > > > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > > > > It grates on me that these new keyboard shortcuts are so illogical. > > > > > > This is one of my main complaints about Yahoo mail. I suppose > > > > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > > > > Of course, we're all indebted to him. But it's really essential to > > > > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > > > > Carl
> > > > > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > > > > for the new two and three-key combinations for my most common > > > > > > > commands. I miss being able to use "t" for trash. Also, > > > > "shift-8-u" > > > > > > > for select all unread messages seems excessive. I used an old > > > > script > > > > > > > that used "mu" for selecting all unread messages, but a one-key > > > > macro > > > > > > > for that would be ideal to me.
> > > > > > > Too bad Gmail's system doesn't make it easier to configure these > > > > > > > keyboard shortcuts.
> I don't know if this helps people with extending Mihai's script, but > he linked to some code that might be of interest <a href="http:// > code.google.com/p/gmail-greasemonkey/wiki/ > GmailGreasemonkey10API">here</a>.
> On Nov 6, 5:39 pm, sam_j <sammer...@gmail.com> wrote:
> > Just want to put a thank you out there for fast update on the macro!
> > On Nov 6, 4:20 pm, shrutes <shruti.v.s...@gmail.com> wrote:
> > > Have we figured out how to override the new gmail shortcuts yet? i.e. > > > the shift+i and the shift+8? Customizing the old script was so much > > > easier...
> > > On Nov 6, 1:55 pm, "Mohamad Alhomsi" <peacebeupon...@gmail.com> wrote:
> > > > please I really need this shortcut key. pleeeeeeeeeeeeeeeese. > > > > many times there will be that email that you want to delete from the > > > > conversation
> > > > "delete this message"
> > > > On Nov 6, 2007 3:28 PM, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> > > > > I just posted a comment to Mihai's blog asking if he'll add new label > > > > > functionality to an "official" build of the script, and also > > > > > (jokingly) if he'll convince the Gmail Team to add Macros to the > > > > > mainstream code. We'll see what he says...
> > > > > If he says no or doesn't answer, I think we'll just have to get Brent > > > > > Nef back here to go over the code and reinvent his wheel... :)
> > > > > On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > > > > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > > > > > message. I'll remove that but leave the rest as is. In the previous > > > > > > scripts people were able to make "r" behave differently when viewing a > > > > > > message, so I hope someone will find a way to do this again.
> > > > > > Carl
> > > > > > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > > > > > It grates on me that these new keyboard shortcuts are so illogical. > > > > > > > This is one of my main complaints about Yahoo mail. I suppose > > > > > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > > > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > > > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > > > > > Of course, we're all indebted to him. But it's really essential to > > > > > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > > > > > Carl
> > > > > > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > > > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > > > > > for the new two and three-key combinations for my most common > > > > > > > > commands. I miss being able to use "t" for trash. Also, > > > > > "shift-8-u" > > > > > > > > for select all unread messages seems excessive. I used an old > > > > > script > > > > > > > > that used "mu" for selecting all unread messages, but a one-key > > > > > macro > > > > > > > > for that would be ideal to me.
> > > > > > > > Too bad Gmail's system doesn't make it easier to configure these > > > > > > > > keyboard shortcuts.
I got updated to the new gmail and I've added a bunch of the old mappings. I'm kind of embarrassed to put this out because it's so rough and I'm probably going to get rid of most of my changes. However the primary reason I'm putting it out there now is because I can't seem to "override" the events. I found this because when you try to do 'X'+a (select all) or any of these, gmail fires the 'x' event handler anyway. event.stopPropagation() doesn't work, nor does changing the capture flag when you create the event handler. I would appreciate any ideas on the subject. It should work somehow because Mihai overrides the 'g' command...
Either way, if you change all the commands to something that gmail doesn't use, it works.
On Nov 7, 5:07 pm, mathalot <ryan.higginbot...@gmail.com> wrote:
> On Nov 7, 8:05 pm, mathalot <ryan.higginbot...@gmail.com> wrote:
> > I don't know if this helps people with extending Mihai's script, but > > he linked to some code that might be of interest <a href="http:// > > code.google.com/p/gmail-greasemonkey/wiki/ > > GmailGreasemonkey10API">here</a>.
> > On Nov 6, 5:39 pm, sam_j <sammer...@gmail.com> wrote:
> > > Just want to put a thank you out there for fast update on the macro!
> > > On Nov 6, 4:20 pm, shrutes <shruti.v.s...@gmail.com> wrote:
> > > > Have we figured out how to override the new gmail shortcuts yet? i.e. > > > > the shift+i and the shift+8? Customizing the old script was so much > > > > easier...
> > > > On Nov 6, 1:55 pm, "Mohamad Alhomsi" <peacebeupon...@gmail.com> wrote:
> > > > > please I really need this shortcut key. pleeeeeeeeeeeeeeeese. > > > > > many times there will be that email that you want to delete from the > > > > > conversation
> > > > > "delete this message"
> > > > > On Nov 6, 2007 3:28 PM, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> > > > > > I just posted a comment to Mihai's blog asking if he'll add new label > > > > > > functionality to an "official" build of the script, and also > > > > > > (jokingly) if he'll convince the Gmail Team to add Macros to the > > > > > > mainstream code. We'll see what he says...
> > > > > > If he says no or doesn't answer, I think we'll just have to get Brent > > > > > > Nef back here to go over the code and reinvent his wheel... :)
> > > > > > On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > > > > > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > > > > > > message. I'll remove that but leave the rest as is. In the previous > > > > > > > scripts people were able to make "r" behave differently when viewing a > > > > > > > message, so I hope someone will find a way to do this again.
> > > > > > > Carl
> > > > > > > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > > > > > > It grates on me that these new keyboard shortcuts are so illogical. > > > > > > > > This is one of my main complaints about Yahoo mail. I suppose > > > > > > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > > > > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > > > > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > > > > > > Of course, we're all indebted to him. But it's really essential to > > > > > > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > > > > > > Carl
> > > > > > > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > > > > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > > > > > > for the new two and three-key combinations for my most common > > > > > > > > > commands. I miss being able to use "t" for trash. Also, > > > > > > "shift-8-u" > > > > > > > > > for select all unread messages seems excessive. I used an old > > > > > > script > > > > > > > > > that used "mu" for selecting all unread messages, but a one-key > > > > > > macro > > > > > > > > > for that would be ideal to me.
> > > > > > > > > Too bad Gmail's system doesn't make it easier to configure these > > > > > > > > > keyboard shortcuts.
Dude...You rule! Sorry, Mihai, but your script is toast now that Brent's updated his. :D
I tried to poke around in the code a bit to see if I could fix a few bugs (like those annoying alerts on action failures [comment out the alert() calls in the simulateClick() function]), with a little success. I did notice that Mihai used keycodes while you have actual letters. That difference could be the key to overriding Gmail's default shortcuts. I don't know for sure, since I'm mainly a GreaseMonkey user, but it's an idea.
Also, is there a way to make sure conversations are selected before trying to apply an action with simulateClick()? That would eliminate a lot of errors that pop up on accidental calls to macros that require a selection.
I don't know how much collaboration and/or cooperation we can expect from the Gmail Team, but perhaps they could add to the unofficial API object methods that access common actions like marking read/unread, starring/unstarring, etc. to make more complex macros easier? Then I could make myself a macro to take a message, mark it as read, unstar it, and archive... Just an idea.
On Nov 7, 8:34 pm, Brent Nef <brent....@gmail.com> wrote:
> I got updated to the new gmail and I've added a bunch of the old > mappings. I'm kind of embarrassed to put this out because it's so > rough and I'm probably going to get rid of most of my changes. > However the primary reason I'm putting it out there now is because I > can't seem to "override" the events. I found this because when you > try to do 'X'+a (select all) or any of these, gmail fires the 'x' > event handler anyway. event.stopPropagation() doesn't work, nor does > changing the capture flag when you create the event handler. I would > appreciate any ideas on the subject. It should work somehow because > Mihai overrides the 'g' command...
> Either way, if you change all the commands to something that gmail > doesn't use, it works.
> On Nov 7, 5:07 pm, mathalot <ryan.higginbot...@gmail.com> wrote:
> > I'm sorry, here's the link in a more usable form:
> > On Nov 7, 8:05 pm, mathalot <ryan.higginbot...@gmail.com> wrote:
> > > I don't know if this helps people with extending Mihai's script, but > > > he linked to some code that might be of interest <a href="http:// > > > code.google.com/p/gmail-greasemonkey/wiki/ > > > GmailGreasemonkey10API">here</a>.
> > > On Nov 6, 5:39 pm, sam_j <sammer...@gmail.com> wrote:
> > > > Just want to put a thank you out there for fast update on the macro!
> > > > On Nov 6, 4:20 pm, shrutes <shruti.v.s...@gmail.com> wrote:
> > > > > Have we figured out how to override the new gmail shortcuts yet? i.e. > > > > > the shift+i and the shift+8? Customizing the old script was so much > > > > > easier...
> > > > > On Nov 6, 1:55 pm, "Mohamad Alhomsi" <peacebeupon...@gmail.com> wrote:
> > > > > > please I really need this shortcut key. pleeeeeeeeeeeeeeeese. > > > > > > many times there will be that email that you want to delete from the > > > > > > conversation
> > > > > > "delete this message"
> > > > > > On Nov 6, 2007 3:28 PM, voyagerfan5761 <voyagerfan5...@gmail.com> wrote:
> > > > > > > I just posted a comment to Mihai's blog asking if he'll add new label > > > > > > > functionality to an "official" build of the script, and also > > > > > > > (jokingly) if he'll convince the Gmail Team to add Macros to the > > > > > > > mainstream code. We'll see what he says...
> > > > > > > If he says no or doesn't answer, I think we'll just have to get Brent > > > > > > > Nef back here to go over the code and reinvent his wheel... :)
> > > > > > > On Nov 6, 3:16 pm, Carl M <carl0muel...@gmail.com> wrote: > > > > > > > > Sorry, in my macros "r" conflicts with reply, if you're reading a > > > > > > > > message. I'll remove that but leave the rest as is. In the previous > > > > > > > > scripts people were able to make "r" behave differently when viewing a > > > > > > > > message, so I hope someone will find a way to do this again.
> > > > > > > > Carl
> > > > > > > > On Nov 6, 2:01 pm, Carl M <carl0muel...@gmail.com> wrote:
> > > > > > > > > It grates on me that these new keyboard shortcuts are so illogical. > > > > > > > > > This is one of my main complaints about Yahoo mail. I suppose > > > > > > > > > "shift-8" is "*" which is supposed to look like a mark, or maybe "#" > > > > > > > > > is like crossing out. But "shift-i" for read? I guess it's next to > > > > > > > > > "shift-u" for unread. Mihai has shortcuts like "b" for remove label. > > > > > > > > > Of course, we're all indebted to him. But it's really essential to > > > > > > > > > let people set up their own shortcuts, and it's the polite thing, too.
> > > > > > > > > Carl
> > > > > > > > > On Nov 6, 12:55 pm, puzzler <mark.engelb...@gmail.com> wrote:
> > > > > > > > > > Thanks for the new macro script. Unfortunately, I really don't care > > > > > > > > > > for the new two and three-key combinations for my most common > > > > > > > > > > commands. I miss being able to use "t" for trash. Also, > > > > > > > "shift-8-u" > > > > > > > > > > for select all unread messages seems excessive. I used an old > > > > > > > script > > > > > > > > > > that used "mu" for selecting all unread messages, but a one-key > > > > > > > macro > > > > > > > > > > for that would be ideal to me.
> > > > > > > > > > Too bad Gmail's system doesn't make it easier to configure these > > > > > > > > > > keyboard shortcuts.