The command run correctly. The problem is wcmenu is external program, so after his terminating TC get focus back and redraw file list. The same behavior you can see if you run command cm_ShowOnlySelected from bar, switch to another application and switch back to TC. Of course i'll find workaround, i just asked Christian for some advice.liketc wrote: Have you test the command: cm_ShowOnlySelected ? Does It not run correctly?
It is more better if you can fix it.
Interpret buttonbar as menu
Moderators: Hacker, petermad, Stefan2, white
Oh,now ,I know some.VadiMGP wrote:The command run correctly. The problem is wcmenu is external program, so after his terminating TC get focus back and redraw file list. The same behavior you can see if you run command cm_ShowOnlySelected from bar, switch to another application and switch back to TC. Of course i'll find workaround, i just asked Christian for some advice.liketc wrote: Have you test the command: cm_ShowOnlySelected ? Does It not run correctly?
It is more better if you can fix it.
But why the command "cm_ExchangeSelection" can do well ?I think its action like cm_ShowOnlySelected?
This has to do with TC refreshing the content of the current dir when returning to the TC window. A refresh always changes the contents of the file panel to what really is in the dir (that means not only files shown by "Show only selected"). That's why you lose the shown list of files when returning back to TC.
cm_ExchangeSelection isn't affected because the refresh doesn't find any new files, so it leaves the selection as it is (exchanged). This is why cm_ExchangeSelction isn't affected.
You can test it yourself by selecting some files, Shift-F4, some temporary filename, Enter and Alt-F4. the previous selction will be lost because TC refreshed the file panel and found the new temporary file. TC reset the selection and is now showing all files.
HTH
Roman
cm_ExchangeSelection isn't affected because the refresh doesn't find any new files, so it leaves the selection as it is (exchanged). This is why cm_ExchangeSelction isn't affected.
You can test it yourself by selecting some files, Shift-F4, some temporary filename, Enter and Alt-F4. the previous selction will be lost because TC refreshed the file panel and found the new temporary file. TC reset the selection and is now showing all files.
HTH
Roman
The new version available.
ftp://mgppublic:public@mgpsoft.com/tcmenu16.zip
Changes are:
1. Program renamed to TCMENU. Good improvment?
2. Program can be placed in any directory.
3. Improvment for internal commands handling.
4. Fixed small bug on Windows NT.
2liketc cm_ShowOnlySelected now should work, check it please.
ftp://mgppublic:public@mgpsoft.com/tcmenu16.zip
Changes are:
1. Program renamed to TCMENU. Good improvment?

2. Program can be placed in any directory.
3. Improvment for internal commands handling.
4. Fixed small bug on Windows NT.
2liketc cm_ShowOnlySelected now should work, check it please.
First of all the new version of TCMenu is available.
ftp://mgppublic:public@mgpsoft.com/tcmenu17.zip
Changes are:
1. If menu text for internal commands not specified, program will take it from .inc file.
2. Added support for cd command. Check readme for details.
Pay attention, cd command was checked with TC 5.51 only. It may not work with future TC version.
The second news: As i promised TCToolbar available also!
ftp://mgppublic:public@mgpsoft.com/tctoolbar12.zip
Using TCToolbar and TCMenu almost identical. Only difference from TCmenu is possibility to use .bar file name as command.
ftp://mgppublic:public@mgpsoft.com/tcmenu17.zip
Changes are:
1. If menu text for internal commands not specified, program will take it from .inc file.
2. Added support for cd command. Check readme for details.
Pay attention, cd command was checked with TC 5.51 only. It may not work with future TC version.
The second news: As i promised TCToolbar available also!

ftp://mgppublic:public@mgpsoft.com/tctoolbar12.zip
Using TCToolbar and TCMenu almost identical. Only difference from TCmenu is possibility to use .bar file name as command.
- Munango-Keewati
- Junior Member
- Posts: 31
- Joined: 2003-02-19, 18:45 UTC
Thanks!VadiMGP wrote:The second news: As i promised TCToolbar available also!
ftp://mgppublic:public@mgpsoft.com/tctoolbar12.zip
Using TCToolbar and TCMenu almost identical. Only difference from TCmenu is possibility to use .bar file name as command.
TCToolbar 1.3 available. Added closing toolbar on ESC key.
ftp://mgppublic:public@mgpsoft.com/tctoolbar13.zip
ftp://mgppublic:public@mgpsoft.com/tctoolbar13.zip
You are so kind, Thank you!VadiMGP wrote:TCToolbar 1.3 available. Added closing toolbar on ESC key.
ftp://mgppublic:public@mgpsoft.com/tctoolbar13.zip
2djk
Sorry, sad but true.
Currently it is impossible because external program doesn't knows wich panel is current in TC. It is especially noticed in readme. In opposite to TC wich sets "source/target" panels, TCmenu sets "left/right" panel.
If in the future TC will support some interface for external programs i'll make appropriate changes.
2Christian
Can we hope for such interface?
Sorry, sad but true.

If in the future TC will support some interface for external programs i'll make appropriate changes.
2Christian
Can we hope for such interface?