It is currently Thu Jun 07, 2018 9:08 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Mon Nov 11, 2013 7:25 am 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 11, 2013 7:37 am 
Offline
User avatar

Joined: Sun Jan 06, 2013 1:44 pm
Posts: 1939
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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 11, 2013 1:17 pm 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
Thank you Jcee. I appreciate it.

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 11, 2013 9:40 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5331
Not possible, sorry. Your best option is the right-click on the scrollbar.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 12, 2013 12:11 am 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
Thank you Ivo. I appreciate your reply.

BR.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 12, 2013 8:17 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
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'.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 12, 2013 2:08 pm 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 13, 2013 6:58 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
My bad, persistent is not required here. I may have copy-pasted it from my other scripts which run constantly in the background.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 13, 2013 7:09 am 
Offline

Joined: Tue Jan 08, 2013 1:01 pm
Posts: 66
Thanks again. Appreciate. :)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 16, 2014 8:17 am 
Offline

Joined: Thu Jan 16, 2014 7:47 am
Posts: 1
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 16, 2014 11:51 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
@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 228 times

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.