Interpret buttonbar as menu

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
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

:arrow: VadiMGP

Thanks for your explanation :wink:

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3297
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

would it be possible to change tcmenu that a right mouseclick doesnt start the app but opens a new tab with the app-path in the actuel tc instance ?

TIA
Hoecker sie sind raus!
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Sir_SiLvA
Sorry, I don't understand your question. :roll: Can you explain it?
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3297
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

TCMenu Pops up now
a) LeftClick starts the choosen App
b) RightClick opens a new FolderTab in TC with the Path of the app that would be started with Leftclick
Hoecker sie sind raus!
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Sir_SiLvA
Ok, I see. I have to check it, but I'm affraid it isn't possible.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

I noticed a strange behavior with one of my menus. I click...and nothing happens. I don't use this particular menu too often, I thought I had the file corrupted. "To fix later". But surprisingly after c.a. 10 minutes it popped up.
the .bar file

Code: Select all

[Buttonbar]
Buttoncount=10
button1=%COMMANDER_PATH%\..\skins\icons.icl,2
cmd1=%COMMANDER_PATH%\..\skins\main.bar
button2=%COMMANDER_PATH%\..\tools\net\rapidsvn\rapidsvn.exe
cmd2=""%COMMANDER_PATH%\..\Tools\Net\RapidSVN\rapidsvn.exe""
path2=%COMMANDER_PATH%\..\Tools\Net\RapidSVN\
menu2=rapidsvn
button3=%COMMANDER_PATH%\..\tools\net\wincvs\wincvs.exe
cmd3=""%COMMANDER_PATH%\..\Tools\Net\wincvs\wincvs.exe""
path3=%COMMANDER_PATH%\..\Tools\Net\wincvs\
menu3=wincvs
button4=
button5=%COMMANDER_PATH%\..\Tools\Office\Spread32.exe
cmd5=%COMMANDER_PATH%\..\Tools\Office\Spread32.exe
path5=%COMMANDER_PATH%\..\Tools\Office\
menu5=Spread32
button6=
button7=%COMMANDER_PATH%\..\tools\others\convert.exe
cmd7=""%COMMANDER_PATH%\..\Tools\Others\Convert.exe""
path7=%COMMANDER_PATH%\..\Tools\Others\
menu7=Convert
button8=TOTALCMD.EXE,8
cmd8=cd %COMMANDER_PATH%\..\Tools\Others\pecomp\
path8=%COMMANDER_PATH%\..\Tools\Others\pecomp\
menu8=pecomp
button9=
button10=%COMMANDER_PATH%\..\Tools\Media\mplayer.exe
cmd10=%COMMANDER_PATH%\..\Tools\Media\mplayer.exe
path10=%COMMANDER_PATH%\..\Tools\Media\
menu10=mplayer
I run TCMenu w/out ini file.

With another .bar, everything is ok.
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

But surprisingly after c.a. 10 minutes it popped up
1. Do you mean it just popped up himself?
2. Does it happens every time when you rinning this menu?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Yes and yes.
Becky
Junior Member
Junior Member
Posts: 17
Joined: 2007-06-13, 16:56 UTC

Post by *Becky »

VadiMGP wrote:TCMenu 2.0 beta 10 available.
- Added MRU list.
- Many bugfixes

Link - http://www.mgpsoft.net/Downloads/TCMenu20b10.zip
hello.

i downloaded from the link above. is it possible to have a

Code: Select all

%COMMANDER_PATH%
in the parameters section (i created a button in the toolbar)? (would be nice for portability)

i tried

%COMMANDER_PATH%\barname.bar

it doesnt work.

thank you.
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

m^2
Hm, I don't see any reason for this. Only thing I can think about - some involved file is corrupt. My only suggestion - try to recreate this bar and check it's bechavior after adding every button.

Becky
%COMMANDER_PATH% is supported in parameters field too. Did you notice in readme
readme wrote:Important! Variables in parameters field should be enclosed in double percent signs
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

VadiMGP wrote:m^2
Hm, I don't see any reason for this. Only thing I can think about - some involved file is corrupt. My only suggestion - try to recreate this bar and check it's bechavior after adding every button.

Becky
%COMMANDER_PATH% is supported in parameters field too. Did you notice in readme
readme wrote:Important! Variables in parameters field should be enclosed in double percent signs
Actually, as this .bar is highly depracated, I removed it, so it's not a problem for me ;)
But I checked it in TC - everything works correctly.
Becky
Junior Member
Junior Member
Posts: 17
Joined: 2007-06-13, 16:56 UTC

Post by *Becky »

VadiMGP wrote:m^2
Hm, I don't see any reason for this. Only thing I can think about - some involved file is corrupt. My only suggestion - try to recreate this bar and check it's bechavior after adding every button.

Becky
%COMMANDER_PATH% is supported in parameters field too. Did you notice in readme
readme wrote:Important! Variables in parameters field should be enclosed in double percent signs
yes, i actually have, several times. at first i thought having "double" percent signs was equivalent to having one in the front and one in the back. :lol:

i figured it out now. thx for the reply.

edit :

oh btw, such a lovely tool. this actually gave my default toolbar a cleaner look, much less buttons now.

is there a "theme repository" where one can download some? i havent been through the whole thread so pardon me if this has been mentioned.

thx
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Finally figured out how to configure this, pretty darn sweet.

Though if it was right-click for the menu, and left click to do the default action - that would be supreme. I think I seen that mentioned (possibly in this thread) -- Likely a reason why thats not an option...coding complexity or interfering w/ TC's default right click.


I'd have to also say, Mr.Ghisler should be hosting something closer to the more recent version, or just linking to the more recent one. Instead of hosting the old 1.7 version from 2003.
User avatar
ate
Senior Member
Senior Member
Posts: 274
Joined: 2003-12-17, 22:48 UTC

Post by *ate »

I love the TCMenu ... but there is a minor bug ?!.

If you enter a packed file (you see the content of the packed file) and then press the button in buttonbar (TCMenu) an error occurred.

Edit: If you double-klick the button (TCMenu) the menu stay (on top) and I have to use one of the entrys to close the menu ... Therefore I have an button in the menu (tools.bar > default.bar) to return to default.bar, but is there an other solution ?
Last edited by ate on 2007-07-22, 17:17 UTC, edited 1 time in total.
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2ate
It is not a bug in TCMenu. It is a limitation of TC. You cannot invoke external programs from inside archives.
Post Reply