I'd like to be able to use single alpha keys to:
- scroll down (without changing any selection/keyboard focus, so just like with a mouse scroll wheel). I'm have a two-key shortcut bound outside of DOpus to send scroll events, but I can't make those single key as I'd need to know whether I'm inside a lister without any text field activated and not, say, nagivating a toolbar menu
- jump down by X lines (for 1 line I use
Select NEXT
andSelect NEXT=nodeselect
with ⇧) (see partial solution Jump Up/Down by a given number of items)
(I have a vague recollection that there might've been a similar post, but couldn't find anything, this is similar to the second item, but without a solution Suggestion: Ctrl+up/downarrow scroll the lister - #3 by KrisBlueNZ)
One scripting way to solve the first issue would be something like
var sh = new ActiveXObject("WScript.Shell");
for (var i = 0; i < 10; i++) {
sh.SendKeys("{DOWN}");
}
But then I'd like the jump to be instant, so I guess the proper way would be to find the current item's index and select Index+10's item if it exists, but then how do I get the index of the currently focused item? (I found DOpus.listers.lastactive.activetab.GetFocusItem();
(ignoring error handling), what next?)
And I don't know a way for mouse scrolls, only references I've found were for the image viewer