What's new about SendCommand ?

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
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

What's new about SendCommand ?

Post by *nsp »

2 TC author !

Does anything have been done to help TC automation ?
A does some command like openbar, or or the em_cmd command that have the $A could receive parameter using postmessage or sendmessage (like CD command)

B Does some new messages are available ?

C Which object have been modified that impact ahk or powerpro scripts ??
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2nsp

I think someone will provide more/better info :)

AFAIK File list related controls changed their names. Also text returned for them is Unicode.

To get path you need to check some of TMyPanel.UnicodeClassX classes.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed many controls are Unicode now, and then they have the .UnicodeClass suffix in the class name.

WM_COPYDATA can now accept Unicode names. To send a Unicode name, send it in UTF-8, and put a UTF-8 byte order marker (as Notepad creates it when saving as UTF-8) in front of the name. When passing two paths to TC, both are treated separately and can or cannot have the UTF-8 prefix.
Author of Total Commander
https://www.ghisler.com
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ghisler(Author) wrote:Indeed many controls are Unicode now, and then they have the .UnicodeClass suffix in the class name.
Spy++ told me this already... So as some of us i will have to modify my powerpro scripts... Normal job for automation of major version..
ghisler(Author) wrote:WM_COPYDATA can now accept Unicode names. To send a Unicode name, send it in UTF-8, and put a UTF-8 byte order marker (as Notepad creates it when saving as UTF-8) in front of the name. When passing two paths to TC, both are treated separately and can or cannot have the UTF-8 prefix.
Thx to give the info !
By the way, does it exist a complete official list/documentation of all messages that are handled by TC 7.5.....

Does some addition have been done to get info from TC ?
ex : GetAllTabs, GetAllTabsw, GetCurentPath, GetCurentPathw, .....

Does the cm_...toClip command have utf8/ansi variants (not seen in totalcmd.inc) ?

........
Great Job !
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Does some addition have been done to get info from TC ?
No, not so far, sorry.
Does the cm_...toClip command have utf8/ansi variants (not seen in totalcmd.inc) ?
They automatically copy cf_unicodetext, which is converted by Windows automatically to cf_text when requested by the target program.
Author of Total Commander
https://www.ghisler.com
Post Reply