I just finished coding this weekend a little greasemonkey script for Google Calendar. If you're not familiar with greasemonkey, it's a Firefox extension that lets you use small javascripts to modify the way websites appear in your browser. It's pretty handy for somethings and there's a large body of user contributed scripts that fix all sorts of web annoyances and add needed features.
My script is designed to let me color code the events in my calendar according to the categories I use to keep track of my time. The script could also be used for any other sort of color coding you might want to do. I wrote the script because Google only lets you use one color code per calendar, which is great when you're comparing your schedule with your friends, but bad when you want to see which of your appointments are classes and which are meetings, etc.
To use the script, you just add a tag like "!class" or "!work" to the title of one of your events. The script adds a little icon to the calendar list on the right hand side; you click it to switch between Google's color codes and the custom set. Perhaps some screen shots will help explain:
Using Google's colors:

Using user colors:

You can download the script at userscripts.org if you're interested. It's pretty easy to make your own categories and colors, you just find the tag in the script and replace it with a new one, or modify the RGB values for the background and border assigned to the tag e.g.:
'colors["!hw"] = new Array("rgb(103,51,0)","rgb(143,86,40)");'
Ok that's all the advertising for today, hope at least some of you found it interesting/want to try it out. (If you're not using Google Calendar, but are looking for a calendar program, you might take a look at it, it's pretty useful.)

16 comments:
Maybe it's just me, but I can't get to the site where the script is...and I really want to try it out ;)
Thanks!
Gute Arbeit
If you're having trouble getting the script from the the site perhaps the direct link will work: http://userscripts.org/scripts/source/10129.user.js
Tried the script i turned most of mu subscription calendars black and I do not see the i8con to the right like your examples to change color
@eqwerty: Did you remember to add tags to your events? The script only colors events that have a tag like "!work" or "!class" in the event name. Other events are intentionally colored black to distinguish them.
I'm not sure what the problem might be with the icon; it's working fine for me , but I'm currently working in Germany, using firefox and haven't had a chance to test it with different browsers or locations. What browser are you using?
If you have an extension like firebug installed, which lets you javascript errors, send me a list of the errors it gives I might be able to figure out what's wrong.
Excuse my english, but my native languge is spanish. I have had problems with your script, because y cannot see any of the categories you included in it. I can see the icon and I can toogle and untoogle it but without any changes (i.e.:seeing categories or colors beneath the icon. What can it be? or how can I work with it.
Thanks.
Carlos Macas
Cholula, Puebla, Mexico.
When turning it on/off, it changes the selection of days displayed in Month view or 2 Week view (not Day/Week view). The tabs for the 2 views also don't go bold when selected and event coloring does not work on those views. All day events are not colored on all views.
@Greg:
Yes, unfortunately the display is sufficiently different for the month and agenda views and for all-day events, that it is necessary to write a different method for changing their colors. It's on my to-do list, but I can't promise when I'll get around to it.
I really wanted this to work. I've tried every combination of quotes, no quotes I can think of to the tags without success.
Should the tag come before or after the title? !class Leadership or Leadership !class
@pastors desk: The tag can come anywhere in the event title. I'm not sure what would be the problem your having. What is it doing instead?
Ha ha! I was using the wrong leading character ! instead of #.
Oops.
NTP
I wanted to put my request in for support of the month view. This script is great, sorry I'm just finding it now! Thanks for this and I hope you're still working on this. I'd be happy to make a small donation if that'd help get you interested.
cariblanco janet faxmeeting equipped carolyn suggest consuming badarpur schoolnet jewels govhome
semelokertes marchimundui
Yes exactly, in some moments I can say that I agree with you, but you may be considering other options.
to the article there is stationary a without question as you did in the go over like a lead balloon a fall in love with issue of this demand www.google.com/ie?as_q=cypress hill campground ?
I noticed the utter you procure not used. Or you partake of the dreary methods of promotion of the resource. I have a week and do necheg
[URL=http://stv.sevastopol.com/festival/417/profiles22.html]порно фото и видео онлайн просмотр[/URL] [URL=http://velosiped.opora.rv.ua/images/avatars/410/profiles14.html]видео голой натальи бочкаревой[/URL]
порно видео короткое училки видео ролик о инцесе
http://velosiped.opora.rv.ua/images/file_types/411/profiles38.html русское порно видео филмы
[URL=http://velosiped.opora.rv.ua/templates/default/418/profiles57.html]русские любительские порно видео ролики[/URL] [URL=http://velosiped.opora.rv.ua/images/file_types/411/profiles56.html]японское порновидео в онлайне[/URL]
камасутра с фото и видео онлайн голые видео онлайн просмотр
http://opora.rv.ua/templates/opora_portal/images/426/profiles37.html кино онлайн высокого качества порно
видео порно папа с дочкой смотреть google4534553453322
Off the keyboard. A quick trip toRhamnus and my schedules should only be a day or so out.
sissy bondage stories
hard hairbrush spanking stories
animal sex stories forum
explicit gay stories
first lesbian sex stories
Off the keyboard. A quick trip toRhamnus and my schedules should only be a day or so out.
Post a Comment