Re: Internal DC commands, which are very lacking in TC
Posted: 2023-05-02, 09:47 UTC
2ghisler(Author)
This button opens the local.bar as a bar:
If I add a SPACE after OPENBAR - then the label in the "Change single button" dialog for "Run minimized" changes to "Show as menu" - and if I select that, the button icon gets a down-arrow, to indicate that it opens as a menu - but clicking the button REMOVES the buttonbar:
Even from an existing bar but for a dynamically chosen bar file name it is not possible to use Show as menu - Example.It would be nice if the OPENBAR command could be aware of the "Show as menu" option.
Show as menu only works from an existing bar. This wouldn't work if the user has disabled both the horizontal and vertical bar.
This button opens the local.bar as a bar:
Code: Select all
TOTALCMD#BAR#DATA
OPENBAR
"%Plocal.bar"
wcmicons.dll,14
Open local.bar
-1
If I add a SPACE after OPENBAR - then the label in the "Change single button" dialog for "Run minimized" changes to "Show as menu" - and if I select that, the button icon gets a down-arrow, to indicate that it opens as a menu - but clicking the button REMOVES the buttonbar:
Code: Select all
TOTALCMD#BAR#DATA
OPENBAR
"%Plocal.bar"
wcmicons.dll,14
Open local.bar
1
-1