Tool button: make the "run preview"-dialog bigger and show the tooltip there too

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Tool button: make the "run preview"-dialog bigger and show the tooltip there too

Post by *Stefan2 »

Tool button: make the "run preview"-dialog bigger and show the tooltip there too
Help wrote: Dialog box: Configuration - Change button bar

Parameters:

Special parameters:
? as the first parameter
causes a Dialog box to be displayed
before starting the program, containing the following parameters.
You can change the parameters before starting the program.
You can even prevent the program's execution.

Suggestions:

1. Bigger:
Make the size of the preview dialog -shown by using the '?'-parameter- wider or even make it resizable.
As an alternative show an bigger dialog only after pressing an shortcut key, like "Press F2 to zoom"
That way we have an much better overview over longer paths and parameters.

2.Tooltip:
Show the button tooltip somehow in that dialog too, for example display the tooltip on hovering over the text "Command line parameters".
That way we can see the tooltip there too and can alter the command line with hints from the descriptions from the tooltip.




Thx for reading :D



Example need:

Command: powershell
Parameters: ?$O=5; GC '%L'| ForEach{ If((GI $_).PSIsContainer){ If($O -eq 2 -or $O -eq 3){$_.SubString(0,$_.LastIndexOf('.'))+'\'} ElseIf($O -eq 4 -or $O -eq 5){$_ -Replace '\\$'} ElseIf($O -ge 6){$_.SubString(0,$_.LastIndexOf('.'))} Else{$_} }else{ If($O -eq 1 -or $O -eq 3 -or $O -eq 5 -or $O -eq 7){$_.SubString(0,$_.LastIndexOf('.'))}Else{$_} } }|clip
Start path:
Icon: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
Tooltip: Copy names to clipboard| $O=1 => remove ext on files| $O=2 => remove ext on folders| $O=3 => 1+2| $O=4 => remove trailing backslash| $O=5 => 1+4| $O=6 => 2+4| $O=7 => 3+4| '%F' => Work on Filename.ext only| '%L' => Long=Work on Path\Filename.ext


Tooltip as show on hovering:
Copy names to clipboard
  $O=1 => remove ext on files
  $O=2 => remove ext on folders
  $O=3 => 1+2
  $O=4 => remove trailing backslash
  $O=5 => 1+4
  $O=6 => 2+4
  $O=7 => 3+4
  '%F' => Work on Filename.ext only
  '%L' => Long=Work on Path\Filename.ext



I can read that tooltip on hovering over the button, but once executed, I can't remember the options while been prompted by the preview dialog.
Hence the wish to see the tooltip on the preview dialog too.



 
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Tool button: make the "run"-dialog bigger and show the tooltip there too

Post by *petermad »

Support+
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply