Page 1 of 1
::selectitems "File1.jpg",0,1 Focus moved but not scroll bar
Posted: 12 Feb 2013 14:25
by binocular222
This command sucessfully select and focus File1.jpg but the scrollbar doesn't move so that Fiel1.jpg is still out-of-view
I doubt that it's not a bug but a setting/ini tweak somewhere.
P.S: ::sel +40 can make the scrollbar move
Re: ::selectitems "File1.jpg",0,1 Focus moved but not scroll
Posted: 12 Feb 2013 14:45
by admin
Where does it say it would move anything into view? Not in my help file.

Re: ::selectitems "File1.jpg",0,1 Focus moved but not scroll
Posted: 12 Feb 2013 14:49
by binocular222
Just common sense. Anyway, ::sel can do it, why not ::selectitems ?
If it doen't take time, then can you make this little improvement?
Re: ::selectitems "File1.jpg",0,1 Focus moved but not scroll
Posted: 12 Feb 2013 16:12
by TheQwerty
You could follow SelectItems with a call of #1012 (Miscellaneous | Focus Functions | Move Focused Item Into View).
Re: ::selectitems "File1.jpg",0,1 Focus moved but not scroll
Posted: 12 Feb 2013 16:21
by binocular222
Ah, Thanks
Never thought of that solution!
Re: ::selectitems "File1.jpg",0,1 Focus moved but not scroll
Posted: 06 May 2014 07:55
by autocart
It does not work.
I type into address bar ::#1012;
also by way of Scripting/Run Script... no success.
a working example is ::#230; (from the help file, will pop up the submenu "New" of menu Edit)
EDIT:
take it back, guess it had to do with focus problem.
when I run it from address bar or scripting window then the list that should be scrolled obviously has no focus
when I run it from the actual script in context then it works.