Classic Shell
http://www.classicshell.net/forum/

Scroll to top/bottom edge buttons
http://www.classicshell.net/forum/viewtopic.php?f=8&t=1692
Page 1 of 1

Author:  Yaron [ Mon Nov 11, 2013 7:25 am ]
Post subject:  Scroll to top/bottom edge buttons

Hello Ivo,

I'd like to add 2 custom buttons: Scroll to top/bottom edge (executing the commands displayed when right-clicking on the Scroll bar).
Could you please let me know the code?

Thank you for your kindness.

Author:  Jcee [ Mon Nov 11, 2013 7:37 am ]
Post subject:  Re: Scroll to top/bottom edge buttons

You want toolbar buttons to mimic the home/end buttons on your keyboard?
Btw if you hold shift, you can click anywhere on the scrollbar and instantly go to that point (In-case you didn't know :)

as for your request, one solution would be to install autohotkey and create a script that forces the home/end keys to be pressed when the script is run, and linking to your script in classic explorers toolbar, for each button.

Author:  Yaron [ Mon Nov 11, 2013 1:17 pm ]
Post subject:  Re: Scroll to top/bottom edge buttons

Thank you Jcee. I appreciate it.

Is this the only option?
Can't I use Explorer's built-in 'Top Edge'?

Author:  Ivo [ Mon Nov 11, 2013 9:40 pm ]
Post subject:  Re: Scroll to top/bottom edge buttons

Not possible, sorry. Your best option is the right-click on the scrollbar.

Author:  Yaron [ Tue Nov 12, 2013 12:11 am ]
Post subject:  Re: Scroll to top/bottom edge buttons

Thank you Ivo. I appreciate your reply.

BR.

Author:  Gaurav [ Tue Nov 12, 2013 8:17 am ]
Post subject:  Re: Scroll to top/bottom edge buttons

In case you did install the freeware AutoHotkey, paste this into Notepad and save as 'Scroll to bottom.ahk' or anything you want and create a toolbar button for it.

Code:
#NoTrayIcon
#Persistent
#SingleInstance, Force
#IfWinActive ahk_class CabinetWClass
Send, {End}


You can also right click the saved AHK and compile as EXE. Change End to Home for 'Scroll to top.ahk'.

Author:  Yaron [ Tue Nov 12, 2013 2:08 pm ]
Post subject:  Re: Scroll to top/bottom edge buttons

Thank you GauravK. It's really kind of you.

I've compiled the file, and it works perfectly.
May I ask why you've added the line '#Persistent'? I'd actually prefer to terminate the process once it's executed.

Author:  Gaurav [ Wed Nov 13, 2013 6:58 am ]
Post subject:  Re: Scroll to top/bottom edge buttons

My bad, persistent is not required here. I may have copy-pasted it from my other scripts which run constantly in the background.

Author:  Yaron [ Wed Nov 13, 2013 7:09 am ]
Post subject:  Re: Scroll to top/bottom edge buttons  Topic is solved

Thanks again. Appreciate. :)

Author:  Blotto [ Thu Jan 16, 2014 8:17 am ]
Post subject:  Re: Scroll to top/bottom edge buttons

I second the request for a possibility to switch on special "Home" and "End" arrows in horizontal and vertical scroll bars.

Yes, it's possible to go there by shift-clicking the ends of the bars, but I often miss just simple-clicking these additional arrows when I'm in a sequence of fast-paced mouse clicks in folders containing thousands of files.

I remember that I once had a system plug-in for Apple Mac System 7 exactly producing these arrows. I can't remember its name, but it was VERY useful feature.

Author:  Gaurav [ Thu Jan 16, 2014 11:51 am ]
Post subject:  Re: Scroll to top/bottom edge buttons

@Blotto, try downloading the AutoHotkey compiled EXE scripts attached to this post. You can add these to your Classic Explorer toolbar.

Attachments:
Scroll Buttons.zip [753.63 KiB]
Downloaded 227 times

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/