How to select the first visible item in the lister?

We have Select FIRST, LAST, NEXT, PREV to command file select changes. We also have the MAKEVISIBLE or SETFOCUS parameters in addition, which will auto-scroll the window to make the newly selected file visible when it fell outside lister window borders.

What I am missing is variations of the sort Select FIRSTVISIBLE, LASTVISIBLE etc. (or an additional specification like Select FIRST=visible, etc). Maybe there are other solutions, via scripting for instance, but I couldn’t yet find one. In other words, we can make the lister scroll an item within vision, but is there a way to select the first visible item in the lister?

The reason I’m asking is because in certain dialogs, I need at least 1 file being selected (for convenience of having a starting position), but if I’m half-way a long list of files, it seems like I can only make it jump either to the first or last item, or to some completely arbitrary location.

This question has zero priority. It’s just out of curiosity. The last thing I desire is for DO to become burdened with nice-to-haves that almost no one will use.

We'll add a way to do this in the next beta.

2 Likes