Page 1 of 1
Right click menu on a toolbar drive changed after 13.60 ?
Posted: 25 Dec 2014 07:25
by DeepAnger
I have added "All Drives (Group)" on the toolbar.
The right click menu brings the drive context menu with version 13.60. It's useful to quickly "eject" a USB device or dismount a virtual drive.
The right click menu brings the "Click, Edit, Customize Toolbar" menu with version 14.80 (and probably any version after 13.60).
I'd rather have the drive menu. Is it possible to revert to 13.60 behavior and keep the drive context menu ?
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 11:34
by bdeshi
paste the following script code into the addressbar and press ENTER.
Code: Select all
::savesettings; setkey 1, "CTBNoRClickDefaultCommands", "Settings"; exit nr;
(Note that the script will save settings and restart XY.
To restart without saving, enter this code instead:Code: Select all
::setkey 1, "CTBNoRClickDefaultCommands", "Settings"; exit nr;
)[/size]
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 14:48
by DeepAnger
Thank you for your help.
But it does not work : when launched from the address bar, there is an error message popup from XYplorer "XYplorer has stopped working", A problem..., Close the program.
When started through the menu Scripting, Run script, it does not complain and restarts but I still have the new menu "Click, Edit, Customize Toolbar" when I right click on my drives in the toolbar.
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 15:00
by bdeshi
Okay. Open the xyplorer.ini file, go to the section [Settings], and change the value of the key "CTBNoRClickDefaultCommands" to 1.
Then if XY was running, restart it WITHOUT SAVING. (so that the change stays.)
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 15:06
by DeepAnger
Héhé, I did, probably while your were writing your suggestion.
The command worked and the parameter was set as intended
CTBNoRClickDefaultCommands=1
But the right click menu on a drive in the toolbar still brings the "Click, Edit, Customize Toolbar" menu.
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 17:40
by bdeshi
Do you have a right click script at all for the toolbar button?
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 18:22
by DeepAnger
I never said it was a user button (as shown in your screen copy). I use a lot of user buttons for my server's shared drives (eg. \\SERVER\SHARE). I don't use script (yet).
I'd like to have the drive context menu as it work in 13.60 on a predefined button :
I wrote "I have added "All Drives (Group)" on the toolbar."
In version 13.60, no script was necessary to have the OS default context menu on these predefined drives.
And it seems I cannot add a script to that predefined button.
Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 19:30
by bdeshi
I thought maybe you'd created a custom "All Drives" button(s), because of this line:
DeepAnger wrote:The right click menu brings the "Click, Edit, Customize Toolbar" menu with version 14.80 (and probably any version after 13.60).

Re: Right click menu on a toolbar drive changed after 13.60
Posted: 25 Dec 2014 19:37
by DeepAnger
Anyway, thank you very much for your effort.