internal tLister from a plugin

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

internal tLister from a plugin

Post by *Hurdet »

It is possible from a plugin to launch a instance without run another process %COMMANDER_EXE% /S=L C:\fle.html" ?
f.e. cm_List=903 with filename parameter?
I like the HTML integrated viewer and I would like to view a plugin conversion to HTML in it.
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: internal tLister from a plugin

Post by *Fla$her »

What do you mean by tlister and instance?
If you want to view *.htm(l) under the cursor in HTMLView, then it is done like this: cm_List /PHTMLView
Overquoting is evil! 👎
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: internal tLister from a plugin

Post by *Hurdet »

not under the cursor, but a absolute path f.e. C:\fle.html.
not from TC interface but from a plugin code.
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: internal tLister from a plugin

Post by *Fla$her »

cm_List takes a path as a parameter.
Are you writing a plugin?
Hurdet wrote: 2024-09-10, 18:27 UTC I like the HTML integrated viewer and I would like to view a plugin conversion to HTML in it.
It's unclear what you mean by this conversion.

I don't see the answer to the first question.
Overquoting is evil! 👎
Hurdet
Power Member
Power Member
Posts: 704
Joined: 2003-05-10, 18:02 UTC

Re: internal tLister from a plugin

Post by *Hurdet »

I'm posting in Plugins and addons: devel.+support (English) and yes I'm writing a plugin.
I parse a input file and generate a html code.
I would ouput in native lister instead of webbrowser os.
User avatar
Dalai
Power Member
Power Member
Posts: 9943
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: internal tLister from a plugin

Post by *Dalai »

I wanted to implement something similar and asked about it almost seven years ago: https://www.ghisler.ch/board/viewtopic.php?t=41516

Launching an internal window doesn't seem to be possible, or if it is possible it's just not feasible. That's why there's just an option to launch Lister as a separate process in my WFX plugins, and they use the command you mentioned on the OP.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply