This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scroll files page down/up

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
lluke777
Junior Member
Junior Member


Joined: 30 Jan 2018
Posts: 11

PostPosted: Tue Jul 10, 2018 3:38 am    Post subject: Scroll files page down/up Reply with quote

I want to bind VIM like functionality to:
<Ctrl-d> - scroll half page down
<Ctrl-u> - scroll half page up

while in left or right pane.

How to do that? I cannot find proper function in Misc.
Back to top
View user's profile Send private message
Stefan2
Power Member
Power Member


Joined: 13 Sep 2007
Posts: 1973
Location: Europa

PostPosted: Tue Jul 10, 2018 5:19 am    Post subject: Script ScrollPage Reply with quote

There are no such functions in TC.


You would have to utilize a external script
( somehow related AHK script: https://ghisler.ch/board/viewtopic.php?p=330410#330410
or maybe VBS with sendkey ?)



Next create a user defined command:
[em_ScrollPage]
cmd=myScript.ext


Next assign the wanted shortcut keys to that command 'em_ScrollPage'





 
_________________
The destination is one thing. Getting there is everything.
Back to top
View user's profile Send private message
Stefan2
Power Member
Power Member


Joined: 13 Sep 2007
Posts: 1973
Location: Europa

PostPosted: Tue Jul 10, 2018 5:29 am    Post subject: Reply with quote

Hab's mal getestet, das funktioniert zB als x.vbs auf einen Button gelegt:


Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
'WshShell.SendKeys "{PGDN}"
'WshShell.SendKeys "{PGUP}"
'WshShell.SendKeys "{UP}"
WshShell.SendKeys "{DOWN 20}"



Mehr Infos zB hier:
https://msdn.microsoft.com/de-de/vba/language-reference-vba/articles/sendkeys-statement
https://social.technet.microsoft.com/wiki/contents/articles/5169.vbscript-sendkeys-method.aspx





 
_________________
The destination is one thing. Getting there is everything.
Back to top
View user's profile Send private message
lluke777
Junior Member
Junior Member


Joined: 30 Jan 2018
Posts: 11

PostPosted: Tue Jul 10, 2018 1:25 pm    Post subject: Reply with quote

AHK seems to be good solution. Thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group