Interpret buttonbar as menu
Moderators: Hacker, petermad, Stefan2, white
Button in default.bar:
cmd26=C:\Programy\Totalcmd\TCmenu\TCmenu.exe
param26=c:\Programy\Totalcmd\Pngcrush.bar -L %L -$
Pngcrush.bar:
[Buttonbar]
Buttoncount=5
cmd1=pngcrush
param1=-d cru -brute *.png
path1=.
cmd2=pngcrush
param2=-d cru -brute -loco -e .mng *.png
cmd3=bmf.exe
param3=-F -Q9 -S *.bmp
cmd4=bmf.exe
param4=-F- -Q9 -S *.bmp
cmd5=c:\Programy\Totalcmd\Lst2run\lst2run.exe
param5=-e "c:\Programy\XnView\nconvert.exe" -s "-v. -out jpeg -q 80 -i -opthuff -rmeta -rexifthumb -rtype lanczos -resize 50%% 50%% \"#p\#f.#e\"" -l %L -p 0
TIA
Roman
cmd26=C:\Programy\Totalcmd\TCmenu\TCmenu.exe
param26=c:\Programy\Totalcmd\Pngcrush.bar -L %L -$
Pngcrush.bar:
[Buttonbar]
Buttoncount=5
cmd1=pngcrush
param1=-d cru -brute *.png
path1=.
cmd2=pngcrush
param2=-d cru -brute -loco -e .mng *.png
cmd3=bmf.exe
param3=-F -Q9 -S *.bmp
cmd4=bmf.exe
param4=-F- -Q9 -S *.bmp
cmd5=c:\Programy\Totalcmd\Lst2run\lst2run.exe
param5=-e "c:\Programy\XnView\nconvert.exe" -s "-v. -out jpeg -q 80 -i -opthuff -rmeta -rexifthumb -rtype lanczos -resize 50%% 50%% \"#p\#f.#e\"" -l %L -p 0
TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
2Hacker Well, It seems to be a bug in TC. In this case TC doesn't pass parameters to program. You can reproduce it without TCMenu at all. Create batch file . Create button for it, put parameters "bla-bla-bla %L". Now if you press button when cursor on file you'll see "bla-bla-bla" somewhere on csreen. But if cursor on ".. " pseudo directory you'll see "Echo is on" It means parameter is absent.
Christian, any comments?
Code: Select all
echo %1
pause
Christian, any comments?
I suspected that, butIn this case TC doesn't pass parameters to program.
a) can't you just gracefully ignore it (optionally)?
b) why the message "No Button Bar Specified"?
TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
2Hacker
Try to put whole command in the "Command" field.
2fg_2002fr
Oops. I'll put it back in a few days, Please be patient
Ignore WHAT??? I told you - in this case I don't receive buttonbar filename from TC!can't you just gracefully ignore it (optionally)?
Look at your button definition. You've put buttonbar filename in the "Parameters" field. But TC doesn't pass this filename to TCMenu! So TCMenu started without parameters and obviously say "No Button Bar specified"b) why the message "No Button Bar Specified"?
Try to put whole command in the "Command" field.
Code: Select all
C:\Programy\Totalcmd\TCmenu\TCmenu.exe
param26=c:\Programy\Totalcmd\Pngcrush.bar -L %L -$
Oops. I'll put it back in a few days, Please be patient

Try here: http://total.bukox.dmkproject.pl/download/5/1/#246fg_2002fr wrote:Hi VadiMPG
Plz, where I could found tctoolbar14.zip ?
it's no longer on your FTP site, just an JPG.
Thx in advance,
FG
VadiMGP,

Roman
I misunderstood you, sorry.I told you - in this case I don't receive buttonbar filename from TC!
Great, that works, thanks.Try to put whole command in the "Command" field.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Not at all! BTW, AFAIR someone reported about drawback of this method - something related to long filenames containing spaces. But I don't remember exactly and I cannot find it on the forum anymore, sorry. So check it carefully. May be you'll have to play with quotes or double quotes.Great, that works, thanks.
- Wilhelm M.
- Power Member
- Posts: 1049
- Joined: 2003-06-05, 10:45 UTC
2piranha
2fg_2002fr
I surprised at all about demand on TCtoolbar
- no one downloaded this program during last year! About other plugins - when plugin in "stable" state I upload it on wincmd.ru.
2fg_2002fr
This site isn't intended to be "24x7 ready". When I release a new version I try to keep it working for several weeks - in general most people download files immediately. But after this period I use it for other projects so ofthen I have to restart server.Why this mgp site is down all the time?
I surprised at all about demand on TCtoolbar

to vadiMPG
I think that TCtoolbar (or even TCMenu) is an excellent alternative if you don't want to have too many icons in your toolbar but want to keep a speedy access to some command you dont use commonly.
I have one request :
when you're using TCtoolbar with TC internals command, this is applied to the focused window but not if you use a "cd" command : then directory is allways open in the left windows even the right one is selected.
I think that TCtoolbar (or even TCMenu) is an excellent alternative if you don't want to have too many icons in your toolbar but want to keep a speedy access to some command you dont use commonly.
I have one request :
when you're using TCtoolbar with TC internals command, this is applied to the focused window but not if you use a "cd" command : then directory is allways open in the left windows even the right one is selected.