TConsole plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

maximdw wrote:...If you would like, meanwhile, I will release the version with current options dialog, your translations, some bug fixes and the promised readme.
Yes, for me it is OK. But please send me the readme before - via posting here or with e-mail from this forum.

Peter
TC 10.xx / #266191
Win 10 x64
maximdw
Junior Member
Junior Member
Posts: 22
Joined: 2014-11-09, 20:28 UTC

TConsole read,e

Post by *maximdw »

Hello Peter,

I am sorry for the long delay. Here is Readme draft. It is in html format.

Any comments and suggestions are highly welcome.

http://www.filedropper.com/readme_19

Best regards.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Sorry - now I'm too late, I got no notification ...

The link shows only the upload-site of Filedropper, but no download.

Peter
TC 10.xx / #266191
Win 10 x64
maximdw
Junior Member
Junior Member
Posts: 22
Joined: 2014-11-09, 20:28 UTC

Readme

Post by *maximdw »

Hello Peter,

i guess the link has expired.

Here is a new one :)
http://wikisend.com/download/618510/Readme.zip
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

I noticed that there is 2.7 version info in a new readme, but you didn't published it, right? or i miss something :) ?
maximdw
Junior Member
Junior Member
Posts: 22
Joined: 2014-11-09, 20:28 UTC

Post by *maximdw »

No, it is not released yet :). I have promised to Peter to provide the readme for review, before it is published.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hi maximdw

after some days of holidays I will finish it within the next days.
TC 10.xx / #266191
Win 10 x64
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Peter wrote:Hi maximdw

after some days of holidays I will finish it within the next days.

any progress? :P
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

krasusczak wrote:...any progress? :P
Yes, I did it. I hope that maximdw can soon finish the final work.

Peter
TC 10.xx / #266191
Win 10 x64
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Yeah I hope too.. :)
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Are you alive maximdw?, will you publish this next version 2.7?
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Version 2.7 - a minor release - is published today:
http://totalcmd.net/plugring/tconsole.html

Peter
TC 10.xx / #266191
Win 10 x64
eugenesv
Junior Member
Junior Member
Posts: 36
Joined: 2016-03-05, 23:30 UTC

Post by *eugenesv »

@Peter
Is there any chance your plugin could be used to somehow attach ConEmu (https://conemu.github.io)?
It's just that there are so many settings already setup through ConEmu that it'd be a waste to start with a blank console again.
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

@eugenesv
that's not my plugin, it is made by maximdw.
TC 10.xx / #266191
Win 10 x64
eugenesv
Junior Member
Junior Member
Posts: 36
Joined: 2016-03-05, 23:30 UTC

Post by *eugenesv »

@Peter
Sorry, didn't realize it was made by maximdw

@maximdw
After more digging I've realized that all that is needed for ConEmu to be embeded is a spare window area with a unique HWND (this is a hex window code of a window object, which can be a panel, status bar, command line etc.)
Since I didn't manage to find and existing one for the panel (I was only able to hijack the top/bottom parts, but failed to find a HWND for the middle window, it seems that the only option is for your addon to help out.
Your addon already spawns a window with HWND for its own console. Is there any chance you could make a version that would just spawn a new window and then call ConEmu command, passing the HWND id to it?
Then ConEmu would deal with the rest (it already has a function to work as a child GUI process) and nothing would be required from your addon.
The command would be

Code: Select all

ConEmu64.exe /insidewnd 0xHWND /config "inside" /single /cmd {powershell}
0xHWND is window id, e.g. 0x001106B6
{powershell} is the name of the profile that ConEmu should launch (it's better to use a profile vs. calling powershell directly so that user can have additional settings passed/environment setup when starting a console)


For some more details with screenshots of the existing limitations https://github.com/Maximus5/ConEmu/issues/122 or in a separate thread here http://ghisler.ch/board/viewtopic.php?t=43673&highlight= (though it also references GitHub description with screenshots)


Alternatively, maybe you can answer the following: is there an HWND (this is a hex window code of a window object, which can be a panel, status bar, command line etc.) of the middle of the panel that shows folder/files (I couldn't find any in Spy++)?


P.S.
Here is the screenshot of when I tried to embed in an HWND found for the folder/file panel I've found via Spy++
Note that the middle panel is left untouched and only top/bottom contain the ConEmu terminal
Image: https://cloud.githubusercontent.com/assets/12956286/13589898/906a5074-e4ec-11e5-97c4-4162bfdffb3e.PNG
Post Reply