ButtonBar eXtended (with macro support)

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
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: ButtonBar eXtended (with macro support)

Post by *Phred »

Samuel wrote:
  • .
  • .
  • Fluffy integration into TCs buttonbar.
Suggestions are welcome.
Fluffy? Is that anything like Harry Potter's Fluffy.. :)

Suggest:
'Fully integrated into TC's button bar.' or
'Full integration with TC's button bar.'

This looks like a comprehensive facility developed for TC, Samuel, and I'd hate to see it go to waste.
I understand that it attaches actions to buttons, but after 9 pages of discussion here, could we have a description of the state of play of ButtonBar eXtended?

Could you describe its cababilities fully, as of 2012, and, in particular, give us non-users a dozen or so examples of what it can do and of what people are doing with it?
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: ButtonBar eXtended (with macro support)

Post by *Samuel »

Phred wrote:
Samuel wrote:
  • .
  • .
  • Fluffy integration into TCs buttonbar.
Suggestions are welcome.
Fluffy? Is that anything like Harry Potter's Fluffy.. :)

Suggest:
'Fully integrated into TC's button bar.' or
'Full integration with TC's button bar.'
Thank you, I fixed the description.
Phred wrote:I understand that it attaches actions to buttons, but after 9 pages of discussion here, could we have a description of the state of play of ButtonBar eXtended?

Could you describe its cababilities fully, as of 2012, and, in particular, give us non-users a dozen or so examples of what it can do and of what people are doing with it?
Did you watch the video and read the readme?
What is missing there?
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Missing

Post by *Phred »

Yes, thanks, Samuel, I watched the video and read the readme. It's quite comprehensive.

However, another perspective:- they say that the worst kind of a marketing, promotional message anyone can issue is 'This is a picture of our factory'.
Then the message may go on to say '..and we have modern lathes, hardened-steel drillbits, insulated walls for the building, air-conditioning, well-trained staff, very fast office computers, and the Managing Director has an MBA.' :o
This says nothing about the benefits the product(s) can convey to the buyer/user.

What I see missing in your supporting literature is an aid to the creative leap users need to make; what we might put under the buttons controlled by your program. Sometimes that light-bulb just doesn't go off until we're given a few crucial hints as to what we might use the facility for. Rather than 'Usage' in your readme, I would rename the sub-heading 'Implementation'.
And so I asked for examples of what BBX can do, and of how other people are using it. Neither Apple nor Android are writing all their own apps. Usage out there is variegated and surprising.
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: Missing

Post by *Samuel »

Phred wrote:And so I asked for examples of what BBX can do, and of how other people are using it. Neither Apple nor Android are writing all their own apps. Usage out there is variegated and surprising.
Ok, lets gather the usage of the users.
I will probably update the first post or the readme later.

Please feel free to contribute.

I will start: I mainly use BBx to combine 2 commands to one button using the ctrl modifier to execute the second command.
  • open Winmerge and internal compare tool
  • open modal and non modal sync
  • open programs and open programs with the currently selected file
  • open programs and open path to files this program uses
  • copy long and short file details
  • open several word files (also using alt modifier here)
  • open a batch file before I execute a program
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Is it possible to assign BBeXtended pressing solely on the keyboard ?
I switch cm_FocusButtonBar and move on ButtonBar using the keyboard.
I would like to set on pressing key, for example, Enter=copy files, Ctrl+Alt+Enter=move files (as keyboard alternative to Ctrl+Alt+mouse click).
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

No seems like TC internally handles such keys:

Ctrl+Enter add the currently selected files to the command line.
Alt+Enter open the properties of the currently selected buttonbar button.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Samuel

Ctrl+Alt+Enter and Ctrl+Alt+Shift+Enter are free.

Example
I have created a button with command em_copymove:

Code: Select all

[em_copymove]
cmd=%commander_path%\Plugins\exe\BBeXtended\BBeXtended.exe
param=em_copymove>1
[em_copymove>1__1]
cmd=cm_CopyOtherpanel
[em_copymove>1_ca_1]
cmd=cm_RenMov
Then I switch to cm_FocusButtonBar and work only with keyboard.
If I press Enter on this button, then call command em_copymove>1__1.
I want to be able to call command em_copymove>1_ca_1 by keyboard. If I press Ctrl+Alt+Enter on button - nothing happens. It work only with Ctrl+Alt+LeftMouse.

Can you add such option in ButtonBar eXtended ?
Not necessarily Ctrl+Alt+Enter, it may be Win+Enter or long Enter pressing... Any ability to work with buttons only with keyboard.
Good idea for second button command - press Ctrl+Alt buttons (or Ctrl only, or Shift only, or Alt only or other combination), then unpress this buttons, and then press Enter.
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

LonerD wrote:Samuel
Ctrl+Alt+Enter and Ctrl+Alt+Shift+Enter are free.
No seems like TC internally handles (blocks) such keys.
So there is no way I can get the notification.
LonerD wrote:Not necessarily Ctrl+Alt+Enter, it may be Win+Enter or long Enter pressing...
Win+Enter and Win+Shift+Enter seem to be the only combinations working.
I have no plans to extend "ButtonBar eXtended" for the Windows key. (as the source code is available you may code it yourself)

You may change the line:

Code: Select all

Getkeystate,Keystate_Ctrl ,Ctrl
to:

Code: Select all

Getkeystate,Keystate_Ctrl ,LWin
LonerD wrote:Any ability to work with buttons only with keyboard.
Good idea for second button command - press Ctrl+Alt buttons (or Ctrl only, or Shift only, or Alt only or other combination), then unpress this buttons, and then press Enter.
IMO this is too circumstantial.

Why do you want to avoid any mouse buttons?
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Samuel wrote:You may change the line
Thanks, I 'll try it.
Samuel wrote:Why do you want to avoid any mouse buttons?
Sometimes it is more convenient to work with only the keyboard, in particular - on laptops, netbooks, especially if the mouse is not connected. And I would like to be able to do the same steps as with the mouse, and without it.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Bingo!!!
Solution is so easy, but not documented!
Press Enter, then press our designated keys (Ctrl, Alt, Shift or combination), then unpress Enter - and work second button command.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Confirmed. ;-)
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

For example, my commands:

Code: Select all

[em_BBcopymove]
cmd=%commander_path%\Plugins\exe\BBeXtended\BBeXtended.exe
param=em_copymove>1
menu=Copy files | Move files
[em_copymove>1__1]
cmd=cm_CopyOtherpanel
[em_copymove>1_c_1]
cmd=cm_RenMov
I use BBeXtended and Mouse Tool.
With this settings:
1) when I click Ctrl+LButton - work command em_copymove>1_c_1
2) when I click MButton - work command em_copymove>1_c_1

But if I once click MButton, and THEN click Ctrl+LButton on any button with BBeXtended commands - they not work :(

Bug?
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

LonerD wrote:For example, my commands:

Code: Select all

[em_BBcopymove]
cmd=%commander_path%\Plugins\exe\BBeXtended\BBeXtended.exe
param=em_copymove>1
menu=Copy files | Move files
[em_copymove>1__1]
cmd=cm_CopyOtherpanel
[em_copymove>1_c_1]
cmd=cm_RenMov
I use BBeXtended and Mouse Tool.
With this settings:
1) when I click Ctrl+LButton - work command em_copymove>1_c_1
2) when I click MButton - work command em_copymove>1_c_1

But if I once click MButton, and THEN click Ctrl+LButton on any button with BBeXtended commands - they not work :(

Bug?
The mouse tool has always been buggy. I assume you cannot reproduce the error without it, correct?

Sorry I will not maintain the mousetool anymore. Feel free to do it yourself. (source code is available)
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: ButtonBar eXtended (with macro support)

Post by *Samuel »

Fixed the download URL.
brahman
Member
Member
Posts: 199
Joined: 2006-04-26, 13:27 UTC

Re:

Post by *brahman »

LonerD wrote: 2012-05-12, 10:26 UTC Bingo!!!
Solution is so easy, but not documented!
Press Enter, then press our designated keys (Ctrl, Alt, Shift or combination), then unpress Enter - and work second button command.
Could you explain this a little more? I don't understand how you can select the button without a mouse?
Regards, Brahman
Win10 & 11 Pro x64
Post Reply