[REQ] new internal command + SendMessage function support

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

[REQ] new internal command + SendMessage function support

Post by *balver »

Hello, I'm new here. I'd like Mr. Ghisler to add new internal command in TC for rereading settings from configuration .ini (useful when you manually change some settings).

Another my request is described on this URL:
http://dgloom.webpark.pl/experiment.htm
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

What is the point of your website? There already is a command <-> number relationship in the totalcmd.inc so you don't have to "hope" that it is used.

Also press the AHK link in my sig (and use forum search) to learn about TC scripting.

Rereading has been requested a dozen times already and not implemented till now, so I recommend adding a button with ReloadTC until it is done (if it is done some day...):
http://www.totalcmd.net/plugring/reloadtc.html

Plugins can be unloaded with command cm_UnloadPlugins by the way.

Icfu
This account is for sale
User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

Post by *balver »

What is the point of your website?
Just tried to control TC from "outside" in another way. I wanted to set cooperation between TC and software like Girder and maybe write my own program, wich will control TC without additional software, like AHK.
All in all I just entertain myself :)
There already is a command <-> number relationship in the totalcmd.inc
Yes, I'm aware of that. But my experiment proved, that it's not complete. When I set WParam as 299 TC showed Quick View and it shouldn't. As you probably know Quick View is 304 in totalcmd.inc.
another example: in totalcmd.inc you see:

Code: Select all

cm_SrcLong=302;Source: All file details
but 302 set as WParam opens new tab in active panel.

Actually it's not "must have" type of request. Rather "nice to have".
Rereading has been requested a dozen times already and not implemented till now
Then it was requested not enough times :)

Cheers
balver
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I cannot confirm your findings. Neither does 299 open QuickView nor does 302 open a new tab... Everything works as expected with AHK:
SendMessage, 1075, 299, , , ahk_class TTOTAL_CMD
SendMessage, 1075, 302, , , ahk_class TTOTAL_CMD

So, either there is something wrong with Girder or you haven't sent WM_USER+51?

Icfu
This account is for sale
User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

Post by *balver »

...or you haven't sent WM_USER+51?
And here is my mistake. I was sending WM_COMMAND message instead of WM_USER and set in Girder to do it also. Thanks a lot for your help.
Post Reply