Page 1 of 1

buttons needed

Posted: 13 Sep 2024 10:05
by SaiKarthik
I would like to have buttons for below in the Toolbar
  • Reset Tree
  • Exit with Saving (currently using two buttons "Save Settings" >> then >> "Exit without Saving")
  • button to open the folder in windows explorer from Navigation Tree (currently using custom button)
custom open in explorer script.

Code: Select all

 $app = "%windir%\explorer.exe";

 $target = "";
 if ("<curitem>" == "") {
      $target = "<curpath>";
   } else {
      if (get("curitem", "ext") == "") {
         $target = "<curitem>";
      } else {
         $target = "<curpath>";
      }
   };
 
 run """$app"" ""$target""";
 

Re: buttons needed

Posted: 13 Sep 2024 10:08
by highend
And where exactly is the problem to use custom buttons for this stuff?

Re: buttons needed

Posted: 13 Sep 2024 10:58
by admin
For example, this is a possible Custom Toolbar Button script for exit with saving:

Code: Select all

exit s; //exit with saving

Re: buttons needed

Posted: 13 Sep 2024 11:55
by SaiKarthik
I didn't say There is problem using custom buttons.

I said I would like to have them shipped with the product instead of custom buttons.

Re: buttons needed

Posted: 13 Sep 2024 12:31
by admin
Exit with Saving is a useful thing. I'll add that. The others rather not. Typical CTB stuff.

Re: buttons needed

Posted: 13 Sep 2024 12:46
by SaiKarthik
I would request "Reset Tree" button as well for the following:

Parent Folder
>> Sub Folder 1
>> Sub Folder 2
>> Sub Folder 3
>> Sub Folder 4


Now, i had enabled "mini tree" in the toolbar....
If i go to Sub Folder 2, then tree looks good.
If i go to Sub Folder 4, then tree still shows Sub Folder 2 also in the navigation bar.

But if i reset the tree, then it shows only Sub Folder 4 which is expected with mini tree enabled.


As i start explaining this, i think path after mini tree enabled should be raised as a bug...
Am i missing something here.?

Re: buttons needed

Posted: 13 Sep 2024 12:58
by admin
I already said there won't be a "Reset Tree" button.

Re: buttons needed

Posted: 13 Sep 2024 13:04
by highend
Exit with Saving is a useful thing
That's already the default when closing the app, why should there be an extra button for it?

Re: buttons needed

Posted: 13 Sep 2024 13:14
by admin
You can change the default. And there is no menu command "Exit with Saving" that would overwrite a changed default.

Re: buttons needed

Posted: 16 Sep 2024 19:53
by SaiKarthik
Thanks for the update with "exit with saving".

Can u pls add a button for "Open Powershell Here" which is similar to "Open Command Prompt Here".?

This is another button helpful.