Execution of commands after restoring TC from tray

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Execution of commands after restoring TC from tray

Post by *DrShark »

I have installed TotalConsole plugin which for some reason hides TC's Command Line. Sometimes it does this from start, but usually after restoring TC from tray.

This post has a details on the situation.

To solve this without changing a plugin by developer (plugin is de-facto abandoned), I suggest to add to TC the possibility to define the commands for execution after restoring it from tray.

Original suggestion (Mar 18, 2017 3:43 pm/GMT-3) was:
Command VisCmdLine restores the TC's Command line, but it's a toggle which means it will restore Command line only if it's hidden, and if it's not hidden the command will hide it.
Because my TC not always goes to tray, I'd like to have a command that will make Command line visible and don't hide it if already visible.
My suggsetion is the additional optional parameters 0 and 1 to cm_VisCmdLine.
cm_VisCmdLine 0 will hide Command line if it is visible now and don't show if hidden.
cm_VisCmdLine 1 will show it if it is hidden now and don't hide if visible.

If it will be implemented, the next thing to solve it is make cm_VisCmdLine 1 executed after each restoring TC from tray...
Last edited by DrShark on 2017-03-18, 20:02 UTC, edited 3 times in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

That should be debugged from the Author of the plugin together with Christian
and not lead to unnecesary new functions just to overcome errrors in plugin.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

I made additional checking and in fact TotalConsole is hiding TC's Command line in a way that cm_VisCmdLine is not executed. So to restore the visibility of command line, cm_VisCmdLine should be executed twice (cm_VisCmdLine,cm_VisCmdLine). I'll change the first post because this will change by suggestion.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply