ForumsQuestionsIs it possible to set focus on first task by keyboard shortcut?


Is it possible to set focus on first task by keyboard shortcut?
Author Message
alexandrephili

Posted: Feb 09, 2016
Score: 0 Reference
Hello,

In the web version of ToodleDo, I have enabled keyword shortcut.

I see I can swich between lines with the shortcut Ctrl+up/down when I have set the focus by mouse on a line.

But is it possible to skip the mouse step and to set directly the focus on the task grid ?

This would be greatly appreciated.

Kind regards,

Alexandre
Jake

Toodledo Founder
Posted: Feb 09, 2016
Score: 0 Reference
This isnt possible yet, but we are working to make this possible in the future.
alexandrephili

Posted: Feb 10, 2016
Score: 0 Reference
That would be greeeat ! Thank you Jake.

Shall I add it as a suggestion in the forum for followup purposes ?

Kind regards,

Alexandre
alexandrephili

Posted: May 18, 2016
Score: 0 Reference
Hi Jake,

I guess this feature is not yet implemented.

I have implemented a javascript code to implement the shortcut that focus on the next task, or on the first task if no focus has been set yet on the grid.

It can be used using "Chrome Shortcut Manager" extension.

If Toodledo Team could implement it directly in the application, it would be great.

This shortcut is extremely convenient.

Here it goes :

var activeid;
if (typeof document.activeElement != 'undefined' && document.activeElement.id.substr(0,4)=='ksat') {
activeid=document.activeElement.id;
tasks = document.querySelectorAll('[id^=tsk]');
for (i = 0; i < tasks.length; i++) {
if (i+1==tasks.length) {
tasks[0].click();
break;
}
if (tasks[i].id.substr(3)==activeid.substr(4)) {
tasks[i+1].click();
break;
}
}

} else {
document.querySelectorAll('[id^=tsk]')[0].click();
}


Alexandre
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.