Both sel and #1049 has drawback: if target item is already in vew and in the middle of screen, these command scroll to make it top/bottom-of screen.
I'm thinking of how to get list of items in view so that I can stop these commands if target item is already in view.
Is this possible?
How to scroll specific item into view?
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
How to scroll specific item into view?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
admin
- Site Admin
- Posts: 66323
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to scroll specific item into view?
sel seems to work as you desire.
FAQ | XY News RSS | XY X
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: How to scroll specific item into view?
It doesn't make sense when target item is already in view (i.e: nicely in the middle of screen) but sel and #1049 force it to be scrolled to top-of-screen
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
admin
- Site Admin
- Posts: 66323
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to scroll specific item into view?
No, sel works, I tested it with fresh.
Code: Select all
sel "[filename]";FAQ | XY News RSS | XY X
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: How to scroll specific item into view?
Oh, found it. That's because I had #486 before sel
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
XYplorer Beta Club