When we press F4, TC only passing the file which under cursor to editor, but "ChoiceEditor" can retrieve all of the selected files.
For a button, maybe we can set %L as its parameter, but "ChoiceEditor" does not do that, then how to realize it like "ChoiceEditor"? who know?
Thanks!
ChoiceEditor reads the list of the selected files manually, by sending to TC cm_CopyNamesToClip or something. There is no "normal" possibility to open several files in an editor, except for using lst2multi/lst2str programs.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Thanks!
You are right, I found that clipboard was changed after ChoiceEditor run.
Then how to send such cm_CopyNamesToClip to TC? like this?
sendMessage(TC_hwnd, WM_COMMAND, cm_CopyNamesToClip, NULL) ?
Really?
I'll ask more precisely. Does ListLoadNext give the next file on the list or the next selected?
If selected - It can be used to retrive a list of selected files, in archives \ on ftp TC would copy everything to temp and repack the files that were modified.