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 

Hiding the menu bar
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
hoppfrosch
Junior Member
Junior Member


Joined: 19 Oct 2004
Posts: 67

PostPosted: Sun Nov 28, 2010 11:32 am    Post subject: Reply with quote

MVV wrote:
MVV in new Readme wrote:
Configuration file should be placed near module and have same name and extension INI. You need it only if you wish to redefine default command indexes (specified below after equals signs).
Is it clear now?


I think it's a clearer now - unless it was already clear for me before, thanks to your explanation Wink

Thanks!
Back to top
View user's profile Send private message
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Wed Dec 01, 2010 11:23 am    Post subject: Reply with quote

A big +1 to include this functionality in TC natively.

Ideally it could work as Notepad++ does it, if you choose to hide menubar (in config), then either F10 or Alt make it visible, and as soon as you choose a item in any of the menus it becomes hidden again.

It would save some valuable space Smile.
Back to top
View user's profile Send private message
sticazzi
Junior Member
Junior Member


Joined: 09 Sep 2007
Posts: 22

PostPosted: Fri Jan 07, 2011 6:03 am    Post subject: Reply with quote

MVV wrote:

To hide main menu using TCFS2 you need to e.g. execute following command:
Code:
TCFS2 /ei mm0

I tried but it doesn't work: tc said "Function not implemented! 65538" Embarassed
Back to top
View user's profile Send private message
nsp
Power Member
Power Member


Joined: 04 Dec 2005
Posts: 716
Location: Lyon (FRANCE)

PostPosted: Fri Jan 07, 2011 9:14 am    Post subject: Reply with quote

sticazzi wrote:
MVV wrote:

To hide main menu using TCFS2 you need to e.g. execute following command:
Code:
TCFS2 /ei mm0

I tried but it doesn't work: tc said "Function not implemented! 65538" Embarassed

This is because autorun.wdx is not loaded and/or do not load Autorun_HideMenu.dll.
Autorun.wdx is not loaded when tc7.56a starts !
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4534
Location: Russian Federation

PostPosted: Fri Jan 07, 2011 1:40 pm    Post subject: Reply with quote

sticazzi, read Autorun.wdx manual to know how to enable its auto-loading with TC and how to install its plugins.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
sticazzi
Junior Member
Junior Member


Joined: 09 Sep 2007
Posts: 22

PostPosted: Sat Jan 08, 2011 6:45 am    Post subject: Reply with quote

MVV wrote:
sticazzi, read Autorun.wdx manual to know how to enable its auto-loading with TC and how to install its plugins.

I don't understand this sentence very well actually, mainly "create color scheme based on this plugin" (Is it really necessary to do that?) and "set comparison for Autorun field":
---------------------------------------------------------------------
Next, in order to load plugin at Total Commander start, you should create color scheme based on this plugin, and set comparison for "Autorun" field. Any equation is acceptable.
---------------------------------------------------------------------

Thanks
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4534
Location: Russian Federation

PostPosted: Sat Jan 08, 2011 2:06 pm    Post subject: Reply with quote

sticazzi, the only way to start some TC content plugin - is to add a rule for file coloring that will use field of this plugin in its conditions. So TC will load this plugin when started because it will need to color file types. This plugin contains special content field 'Autorun' that never returns a value but it is enough for plugin to be loaded. So you need to: open Configuration, Color, 'Define colors by type...', 'Add', 'Define...', choose 'Plugins' tab, add a rule "autorun Autorun > 0" (you may specify any condition but you must choose this field). Then you need to save search preset (e.g. I named it 'Autorun') and choose as file type for coloring. You may choose ANY color for this file type, you'll never see this color because this color template will never match, it is used only for autoloading plugin with TC.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
sticazzi
Junior Member
Junior Member


Joined: 09 Sep 2007
Posts: 22

PostPosted: Sat Jan 08, 2011 4:52 pm    Post subject: Reply with quote

Now It's more clear, many thanks MVV Smile
Back to top
View user's profile Send private message
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Tue May 22, 2012 11:20 am    Post subject: Reply with quote

I am trying to configure menu hiding (automatic showing with Alt) using this method but I cant.

I have done the following:

1 install Autorun, configure a color in prefs for it
2 edit autorun.cfg with value: LoadLibrary "abs-path-to\tools\TCFS2\TCFS2Tools.dll"

I understood by reading the thread that it should be enough to make it work, but is not, so i am wrong.

Anyone could enlighten me?
thanks
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4534
Location: Russian Federation

PostPosted: Tue May 22, 2012 1:07 pm    Post subject: Reply with quote

jmwap, it is not enough. TCFS2Tools is just a command processor, you should send a command to hide menu. It may be done via mentioned Autorun.cfg using TCFS2 (TCFS2.ini already contains predefined command mm0 that sends required message so the command is simple):

Code:
LoadLibrary "abs-path-to\tools\TCFS2\TCFS2Tools.dll"
ShellExec "%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe" "/ei mm0"

_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
jmwap
Junior Member
Junior Member


Joined: 23 Mar 2008
Posts: 75

PostPosted: Tue May 22, 2012 4:25 pm    Post subject: Reply with quote

brilliant MVV, working now
thanks
Back to top
View user's profile Send private message
ayuan1129
Junior Member
Junior Member


Joined: 01 Jun 2012
Posts: 4

PostPosted: Fri Jun 01, 2012 2:33 am    Post subject: Reply with quote

after config above code
start totalcommander, occur error below

TCFS2
---------------------------
Error:
Unavailable key

Items:
mm0[/img]
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4534
Location: Russian Federation

PostPosted: Fri Jun 01, 2012 2:45 am    Post subject: Reply with quote

ayuan1129, have you placed TCFS2.ini from subfolder EN to TCFS2 folder as described in Readme?
Quote:
1. Configuration file

All functions are in configuration file and may be changed at any moment. Configuration file must be placed near application and have same name and extension INI. Sample configuration files with some commands are shipped with program (just copy it from EN folder to program's folder).

_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
ayuan1129
Junior Member
Junior Member


Joined: 01 Jun 2012
Posts: 4

PostPosted: Fri Jun 01, 2012 2:53 am    Post subject: Reply with quote

so quickly repy, thank you

i forget copy en\TCFS2.ini to parent folder.

now, it'a ok!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group