One key for 50% to 100% of the file panel
Moderators: white, Hacker, petermad, Stefan2
- randysejas
- Junior Member
- Posts: 30
- Joined: 2016-02-27, 14:12 UTC
One key for 50% to 100% of the file panel
Hi! i'm new... i set the key 5 to view my file panel at 100% but to change it back to the 50% i need to set other key (for example 6).
It is possible to use only one key to change to 100% to 50% of the file panel??... Thanks in advance‼
It is possible to use only one key to change to 100% to 50% of the file panel??... Thanks in advance‼
Re: One key for 50% to 100% of the file panel
No, currently not.
Maybe somebody has or can make an AHK script for it?
Maybe somebody has or can make an AHK script for it?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: One key for 50% to 100% of the file panel
Example commands for 100% / 50% view >>> viewtopic.php?p=369413#p369413
There is also an toggle between a 50%/50% vertical panel split and a 100% single panel
by *MVV » Wed Feb 19, 2014
viewtopic.php?p=279447#p279447
you will need TCFS2Tools installed.
There is also an toggle between a 50%/50% vertical panel split and a 100% single panel
by *MVV » Wed Feb 19, 2014
viewtopic.php?p=279447#p279447
you will need TCFS2Tools installed.
Re: One key for 50% to 100% of the file panel
I think TCFS2 and its Tools from MVV can do that.randysejas wrote: ↑2020-04-26, 15:08 UTC Hi! i'm new... i set the key 5 to view my file panel at 100% but to change it back to the 50% i need to set other key (for example 6).
It is possible to use only one key to change to 100% to 50% of the file panel??... Thanks in advance‼
Here a section from its readme:
Example of command that expand active panel width up to 95% by moving separator if its position is 50%, or reset it back to 50% otherwise.
sp_sw_50_95=run_item(sp_set_active, sepPos == 50 ? 95 : 50)
https://www.ghisler.ch/board/viewtopic.php?f=6&t=29700
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
AHK: Toggle view 50%//100% of the file panel with AutoHotkey
Toggle view 50%//100% with AutoHotkey
FAQs: automate/script TC with AutoHotkey AHK
viewtopic.php?p=350976#p350976
Button
Command: "%Commander_Path%\Tools\AHK\AutoHotkey.exe" "%Commander_Path%\Tools\AHK\Scripts\ToggleView.ahk"
Parameters:
Start path:
Icon: "%Commander_Path%\Tools\AHK\AutoHotkey.exe"
Tooltip: ToggleView.ahk
FAQs: How to create an button / Icons / Variables / Quoting
viewtopic.php?p=344803#p344803
FAQs: User-Defined Command (UDC) (usercmd.ini) em_command - Own commands to use in button or to assign a keyboard shortcut to.
viewtopic.php?p=344777#p344777
ToggleView_50%-100%.ahk
ToggleView.ahk
HTH?
FAQs: automate/script TC with AutoHotkey AHK
viewtopic.php?p=350976#p350976
Button
Command: "%Commander_Path%\Tools\AHK\AutoHotkey.exe" "%Commander_Path%\Tools\AHK\Scripts\ToggleView.ahk"
Parameters:
Start path:
Icon: "%Commander_Path%\Tools\AHK\AutoHotkey.exe"
Tooltip: ToggleView.ahk
FAQs: How to create an button / Icons / Variables / Quoting
viewtopic.php?p=344803#p344803
FAQs: User-Defined Command (UDC) (usercmd.ini) em_command - Own commands to use in button or to assign a keyboard shortcut to.
viewtopic.php?p=344777#p344777
ToggleView_50%-100%.ahk
ToggleView.ahk
Code: Select all
; Toggle view 50%//100% with AutoHotkey
; Stefan 18:53 26.04.2020
; https://ghisler.ch/board/viewtopic.php?p=384184#p384184
; FAQs: TC and AutoHotkey >>https://ghisler.ch/board/viewtopic.php?p=350976#p350976
;;;ToggleView.ahk - Button
;;;Command: "%Commander_Path%\Tools\AHK\AutoHotkey.exe" "%Commander_Path%\Tools\AHK\Scripts\ToggleView.ahk"
;;;Parameters:
;;;Start path:
;;;Icon: "%Commander_Path%\Tools\AHK\AutoHotkey.exe"
;;;Tooltip: ToggleView.ahk
EnvGet, CommPath, Commander_Path
MyINI = %CommPath%\ahkuser.ini
;TOTALCMD.inc
;cm_50Percent=909;Window separator at 50%
;cm_100Percent=910;Window separator at 100%
;cm_SeparateTree1=3201;One separate tree panel
;cm_SeparateTreeOff=3200;Disable separate tree panel
;cm_VisButtonbar2 =2944;Show/hide vertical button bar
If (FileExist(MyINI))
{
;IniRead, OutputVar, Filename, Section, Key [, Default]
IniRead, myPanelWidth, %MyINI%, VIEW, PanelWidth, 0
}
If (myPanelWidth=0)
{
;cm_50Percent,cm_SeparateTreeOff
SendMessage, 1075, 909,0 , , ahk_class TTOTAL_CMD
SendMessage, 1075, 2944,0 , , ahk_class TTOTAL_CMD
SendMessage, 1075, 3200,0 , , ahk_class TTOTAL_CMD
IniWrite, 1, %MyINI%, VIEW, PanelWidth
}else{
;cm_100Percent,cm_SeparateTree1
SendMessage, 1075, 910,0 , , ahk_class TTOTAL_CMD
SendMessage, 1075, 2944,0 , , ahk_class TTOTAL_CMD
SendMessage, 1075, 3201,0 , , ahk_class TTOTAL_CMD
;IniWrite, Value, Filename, Section, Key
IniWrite, 0, %MyINI%, VIEW, PanelWidth
}
HTH?
- randysejas
- Junior Member
- Posts: 30
- Joined: 2016-02-27, 14:12 UTC
Re: One key for 50% to 100% of the file panel
I have interest to use TCFS2... but like i've said "i'm really new on this".... and i have a few questions of TCFS2, one... i downloaded and it's for 32 bits (this will work with my TC 64 bits??)... and as i want to begin with that with something simple, like hide my titlebar... i have understood that TCFS2 can do that... please help me to begin with that.Horst.Epp wrote: ↑2020-04-26, 16:20 UTCI think TCFS2 and its Tools from MVV can do that.randysejas wrote: ↑2020-04-26, 15:08 UTC Hi! i'm new... i set the key 5 to view my file panel at 100% but to change it back to the 50% i need to set other key (for example 6).
It is possible to use only one key to change to 100% to 50% of the file panel??... Thanks in advance‼
Here a section from its readme:
Example of command that expand active panel width up to 95% by moving separator if its position is 50%, or reset it back to 50% otherwise.
sp_sw_50_95=run_item(sp_set_active, sepPos == 50 ? 95 : 50)
https://www.ghisler.ch/board/viewtopic.php?f=6&t=29700
Re: One key for 50% to 100% of the file panel
The bitness of the TCFS2 exe is not importand here and the TCFS2 tools DLL is available in x64 (TCFS2Tools64.dll)randysejas wrote: ↑2020-04-26, 17:32 UTCI have interest to use TCFS2... but like i've said "i'm really new on this".... and i have a few questions of TCFS2, one... i downloaded and it's for 32 bits (this will work with my TC 64 bits??)... and as i want to begin with that with something simple, like hide my titlebar... i have understood that TCFS2 can do that... please help me to begin with that.Horst.Epp wrote: ↑2020-04-26, 16:20 UTCI think TCFS2 and its Tools from MVV can do that.randysejas wrote: ↑2020-04-26, 15:08 UTC Hi! i'm new... i set the key 5 to view my file panel at 100% but to change it back to the 50% i need to set other key (for example 6).
It is possible to use only one key to change to 100% to 50% of the file panel??... Thanks in advance‼
Here a section from its readme:
Example of command that expand active panel width up to 95% by moving separator if its position is 50%, or reset it back to 50% otherwise.
sp_sw_50_95=run_item(sp_set_active, sepPos == 50 ? 95 : 50)
https://www.ghisler.ch/board/viewtopic.php?f=6&t=29700
For help and examples please look thru the long tread about it.
The author (MVV) reads this forum regulary and answers questions which are not found in the readme.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
- randysejas
- Junior Member
- Posts: 30
- Joined: 2016-02-27, 14:12 UTC
Re: AHK: Toggle view 50%//100% of the file panel with AutoHotkey
It works fine!.... but is there a way to use all of these with a shortcut key??Stefan2 wrote: ↑2020-04-26, 16:54 UTC Toggle view 50%//100% with AutoHotkey
FAQs: automate/script TC with AutoHotkey AHK
viewtopic.php?p=350976#p350976
Button
Command: "%Commander_Path%\Tools\AHK\AutoHotkey.exe" "%Commander_Path%\Tools\AHK\Scripts\ToggleView.ahk"
Parameters:
Start path:
Icon: "%Commander_Path%\Tools\AHK\AutoHotkey.exe"
Tooltip: ToggleView.ahk
ToggleView_50%-100%.ahk
ToggleView.ahkCode: Select all
; Toggle view 50%//100% with AutoHotkey ; Stefan 18:53 26.04.2020 ; https://ghisler.ch/board/viewtopic.php?p=384184#p384184 ; FAQs: TC and AutoHotkey >>https://ghisler.ch/board/viewtopic.php?p=350976#p350976 ;;;ToggleView.ahk - Button ;;;Command: "%Commander_Path%\Tools\AHK\AutoHotkey.exe" "%Commander_Path%\Tools\AHK\Scripts\ToggleView.ahk" ;;;Parameters: ;;;Start path: ;;;Icon: "%Commander_Path%\Tools\AHK\AutoHotkey.exe" ;;;Tooltip: ToggleView.ahk EnvGet, CommPath, Commander_Path MyINI = %CommPath%\ahkuser.ini ;TOTALCMD.inc ;cm_50Percent=909;Window separator at 50% ;cm_100Percent=910;Window separator at 100% ;cm_SeparateTree1=3201;One separate tree panel ;cm_SeparateTreeOff=3200;Disable separate tree panel ;cm_VisButtonbar2 =2944;Show/hide vertical button bar If (FileExist(MyINI)) { ;IniRead, OutputVar, Filename, Section, Key [, Default] IniRead, myPanelWidth, %MyINI%, VIEW, PanelWidth, 0 } If (myPanelWidth=0) { ;cm_50Percent,cm_SeparateTreeOff SendMessage, 1075, 909,0 , , ahk_class TTOTAL_CMD SendMessage, 1075, 2944,0 , , ahk_class TTOTAL_CMD SendMessage, 1075, 3200,0 , , ahk_class TTOTAL_CMD IniWrite, 1, %MyINI%, VIEW, PanelWidth }else{ ;cm_100Percent,cm_SeparateTree1 SendMessage, 1075, 910,0 , , ahk_class TTOTAL_CMDIt works fine!.... but is there a way to use all of these with a shortcut key?? SendMessage, 1075, 2944,0 , , ahk_class TTOTAL_CMD SendMessage, 1075, 3201,0 , , ahk_class TTOTAL_CMD ;IniWrite, Value, Filename, Section, KeyIt works fine!.... but is there a way to use all of these with a shortcut key?? IniWrite, 0, %MyINI%, VIEW, PanelWidth }
HTH?
Re: AHK: Toggle view 50%//100% of the file panel with AutoHotkey
Make an em_command from it and you can assign a hotkey.randysejas wrote: ↑2020-04-26, 17:45 UTC ...
It works fine!.... but is there a way to use all of these with a shortcut key??
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
- randysejas
- Junior Member
- Posts: 30
- Joined: 2016-02-27, 14:12 UTC
Re: One key for 50% to 100% of the file panel
Thanks Horst.Epp‼ i will do that!The bitness of the TCFS2 exe is not importand here and the TCFS2 tools DLL is available in x64 (TCFS2Tools64.dll)
For help and examples please look thru the long tread about it.
The author (MVV) reads this forum regulary and answers questions which are not found in the readme.
- randysejas
- Junior Member
- Posts: 30
- Joined: 2016-02-27, 14:12 UTC
Re: One key for 50% to 100% of the file panel
Thanks man! it works‼Make an em_command from it and you can assign a hotkey.