Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Search

Search results for "Posted by atsushi.hirata"



AuthorMessage
atsushi.hirata

Posted: Jun 08, 2012



Hello, everyone.

I made Bookmarklet for Toodledo newly.

Please try.

I am glad if feedback can be got. :)

[code]
javascript:(function(){str=%27%27%3Bd=document%3Bs=d.createElement(%27script%27)%3B
s.setAttribute(%27src%27,%27http://toodledotips.jp/t/et2.js%27)%3B
d.documentElement.appendChild(s)%3Btt_navi=0%3Btt_fnt=1%3Btt_top=450%3B
tt_left=5%3Btt_wid=170%3Btt_lang=%27en%27%3Btt_due=0%3Btt_star=0%3B}())

*Please remove the newline character (either or both of CR and LF).

[screenshot]


[blog]
http://blog.toodledotips.jp/?p=1625&lang=en


This message was edited Jun 09, 2012.
atsushi.hirata

Posted: Apr 12, 2011



Hi everyone,

Here's a bookmarklet that should allow you can see how long the subtotals will take per subtotal.
This bookmarklet opens in a modal-type window directly over top of the To-Do List page you're currently viewing.
It will work in all the major browsers e.g Firefox, Google Chrome, Internet Explorer, Safari and so on.

If you highlight the Javascript below and drag it to your bookmark bar (and then give this bookmarklet a name),
then after any sort in Toodledo you can see how long the subtotals will take per subtotal.

For instance, if you sort by Context or Tag then clicking on your bookmarklet will tell you how long you've estimated
it will take -- in total -- for each Context or Tag.

Please enjoy and provide feedback of any kind. :)

[code]

javascript:(function(){str='';d=document;s=d.createElement('script');s.setAttribute('src', 'http://blog.toodledotips.jp/end.js');d.documentElement.appendChild(s);tt_open=1;tt_top=10; tt_left=10;tt_lang= 'en';}())


[screenshot]



This message was edited Apr 12, 2011.
atsushi.hirata

Posted: Mar 31, 2010



Yes, It works as you wish.
Just click the column heading labeled "Priority" to sort by priority, and then run the Bookmarklet.
atsushi.hirata

Posted: Mar 25, 2010



Everyone,

It's a Bookmarklet that you can see length by sort items (for example, context) and end time for complete tasks
,using JavaScript alert.

Please try it out. :)

javascript:var o=0;var o2='';var o3=0;var s='';var sd='';var myto=0;var it='';var v=0;var d=document.body.innerHTML;var c=document.getElementsByClassName('sep');for(i=0;i<c.length;i++){if(i+1==c.length){myto=9999999;} else {myto=d.indexOf(c[i+1].innerHTML);}s=d.substring(d.indexOf(c[i].innerHTML),myto); sd=s.match(/len[^>]+>([^<]+)<\/span>/ig);for(j=0;j<sd.length;j++){if(sd[j].indexOf('none') < 1){ sd[j].match(/(\d*\.?\d+) min|(\d*\.?\d+) hour/i);o=o+(isNaN(RegExp.$1)?0:RegExp.$1-0)+((isNaN(RegExp.$2)?0:RegExp.$2-0)*60);}};if(typeof c[i].innerText=='undefined'){it=c[i].textContent;}else{it=c[i].innerText;}v=(o-0)/60;o2=o2+it+' - '+v.toFixed(2)+' hours\n';o3=o3+v;o=0;};d=new Date();var o5=d.getHours()+':'+('0'+d.getMinutes()).slice(-2);d.setMinutes(d.getMinutes()+(o3*60));var o4=d.getHours()+':'+('0'+d.getMinutes()).slice(-2);alert(o2+'\nTotal Estimated Lengths: '+o3.toFixed(2)+' hours\n\nCurrent time - '+o5+'\nEnd time - '+o4);



This message was edited Mar 25, 2010.
atsushi.hirata

Posted: Feb 22, 2010



Here is a bookmarklet that should work:

javascript:var o=0;var o2='';var s='';var sd='';var myto='';var it='';var v=0;var d=document.body.innerHTML;var c=document.getElementsByClassName('sep');for(i=0;i<c.length;i++){if(i+1==c.length){myto='9999999' ;}else{myto=d.indexOf(c[i+1].innerHTML);}s=d.substring(d.indexOf(c[i].innerHTML),myto);sd = s.match(/len[^>]+>([^<]+)<\/span>/ig);for(j=0;j<sd.length;j++){if(sd[j].indexOf('none')< 1){sd[j].match(/(\d+) mins|(\d+) hour/i);o=o+(RegExp.$1-0)+((RegExp.$2-0)*60);}};if(typeof c[i].innerText=='undefined'){it=c[i].textContent;}else{it=c[i].innerText;}v=(o)/60;o2=o2+it+' '+v.toFixed(2)+' hours\n';o=0;};alert('Estimated Lengths by context\n'+o2);

This Bookmarklet displays "Total Estimated Lengths" of the Task sorted by Context, Due-Date.

Regards,
Atsushi
Contact Us | Blog | API | Jobs | Press | Documentation | Forums Privacy | Terms | Copyright © 2004-2014