I'm trying to create a User Button on the toolbar that will have two possible actions:
- If left-clicked it will insert "0" at the beginning of currently selected filenames.
If right-clicked it will insert "0 " (that is 0 followed by a blank).
Code: Select all
$trig = get("Trigger");
if ($trig == 1) {
rename r, "^ > 0";
}
elseif ($trig == 2) {
rename r, "^ > 0 ";
}Code: Select all
CTBNoRClickDefaultCommands=1This tweak worked for me a few weeks ago, but not now. Others have also occasionally found this tweak not working, but there was no resolution. Is there another setting or tweak that could be confusing the issue?
And I want to renew my wish for get("Trigger") to return more conditions such as "Shift" and "Alt"" at least. That would multiply the usefulness of the User buttons.
Thanks
XYplorer Beta Club