Assign a shortcut to a label / Set a label with a shortcut

Request new functionality here
User avatar
zoider
Bear Rating Trainee
Bear Rating Trainee
Posts: 28
Joined: 16 Sep 2015, 05:00

Assign a shortcut to a label / Set a label with a shortcut

Postby zoider » 18 Sep 2015, 12:12

Hi,

I use Tiny Tiny RSS label nearly every day to save post in different label/list.

I thought it would be a nice idea to use a keyboard shortcut to assign label more quickly.

I've search the forum and this has been ask briefly in 2013 with no follow up.

Well maybe it's difficult to implement.

The idea was to assign a keyboard shortcut when you create the label.

Or if this too difficult to use the 1-9 keypad to arbitrarily set a label.

Here the javascrit code to use 1-9 key :

Code: Select all

       document.onkeydown = function(e) {
         e = e || window.event;
         k = e.which || e.charCode || e.keyCode;
      
         if (k == 96 || k == 48) { // 0

         } else if (k == 97 || k == 49) { // 1

         } else if (k ==98 || k == 50) { // 2

         } else if (k == 99 || k == 51) { // 3

         } else if (k == 100 || k == 52) { // 4

         } else if (k == 101 || k == 53) { // 5

         } else if (k ==102 || k == 54) { // 6

         } else if (k == 103 || k == 55) { // 7

         } else if (k ==104 || k == 56) { // 8

         } else if (k == 105 || k == 57) { // 9

         }
            else { return true; }
             return false;
         }
         



Edit : I should have check first but it seems the keypad is already used for shortcuts. As duplicate shortcuts of alphabetical key.

Return to “Feature requests”

Who is online

Users browsing this forum: No registered users and 5 guests