RTM Javascript Methods
inxilpro says:
Hey there,
I'm writing a userscript to add Growl alerts and icon badges to Remember The Milk running in Fluid. Is there any information available about the RTM javascript class? I would love to be able to add some functionality that would require a few system calls. For example, I'd love to add a callback to any Growl alerts that would load the list that the alerted item is in. Really that's the only thing I need to know how to do—switch to a list by that list's ID.
Any help is greatly appreciated!
Chris
I'm writing a userscript to add Growl alerts and icon badges to Remember The Milk running in Fluid. Is there any information available about the RTM javascript class? I would love to be able to add some functionality that would require a few system calls. For example, I'd love to add a callback to any Growl alerts that would load the list that the alerted item is in. Really that's the only thing I need to know how to do—switch to a list by that list's ID.
Any help is greatly appreciated!
Chris
leah.shalom says:
Chris,
Great idea. If you get it working and are willing to share the script (or the final product for using Growl) that would be great. I can't help with the javascript class (sorry).
Thanks,
Leah
Great idea. If you get it working and are willing to share the script (or the final product for using Growl) that would be great. I can't help with the javascript class (sorry).
Thanks,
Leah
inxilpro says:
The method I was looking for was:
listTabs.selectTabByData(id);
I already have it updating the icon's badge and a few other things. I'll release the code as soon as it's a little more usable.
CM
listTabs.selectTabByData(id);
I already have it updating the icon's badge and a few other things. I'll release the code as soon as it's a little more usable.
CM
inxilpro says:
See http://www.rememberthemilk.com/forums/tips/9413/ for my script.