Unheralded feature?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Unheralded feature?

Post by j_c_hallgren »

TheQwerty wrote:
j_c_hallgren wrote:3) Where did "userbutton" come from? I don't find any mentions of it in Beta thread... :?
This isn't documented, but...
1) Enable Scripting->Step Mode
2) Right click on a CTB (it must have an "On Click" script already defined) and select Edit.
The Step dialog will show you that XY is executing a command "UserButton #, 128" with # corresponding to the CTB #.
Oh! Ok...undocumented huh? No wonder a search didn't find it...so having, let's say, "userbutton 5, 2" would thus allow CTB1 to 'execute' a right-click of CTB5, right?
TheQwerty wrote:
j_c_hallgren wrote: 128 isn't one of the values listed, so what action is that?
It's not listed there as they are indeed different commands. 128 opens the Edit Button dialog, so it currently doesn't make sense for the regular buttons to support it which is why it doesn't work in Button().
Ahhh...but it could be documented as applying only to CTB's though..
TheQwerty wrote:
j_c_hallgren wrote:2) The syntax is not the same...Button("ctb1", 256) vs button "ctb1", 256 as it seems to show in the beta thread...so :?
Parens are optional. I feel they make things a little clearer and easier to follow.
Yes, in one way...but even little optional things like that when no examples are shown that way can be slightly confusing to a newbie at this.

Now as to rest of the stuff:
1) I presume all the "xxME" & "xxMD" are simply your labels for these type of menus?
2) And what you're doing is creating a submenu that allows user to perform the same left/right/down options as if they'd done it on the actual TB icon, but via menu instead of various types of clicks, true?
3) Also, the various submenu choices aren't shown until needed via the underscore at beginning, yes?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

TheQwerty
Posts: 4353
Joined: 03 Aug 2007 22:30

Re: Unheralded feature?

Post by TheQwerty »

j_c_hallgren wrote:Oh! Ok...undocumented huh? No wonder a search didn't find it...so having, let's say, "userbutton 5, 2" would thus allow CTB1 to 'execute' a right-click of CTB5, right?
Yes, or you can use it from anywhere else that scripting can occur.
j_c_hallgren wrote:Ahhh...but it could be documented as applying only to CTB's though..
Sure, that's entirely up to Don.
j_c_hallgren wrote:Yes, in one way...but even little optional things like that when no examples are shown that way can be slightly confusing to a newbie at this.
I believe the documentation makes the point that they are the same. If someone wants to come up with a standard syntax for the wiki and documentation examples so be it. But I'm not about to change my style on the chance it might be used as an example. :P
j_c_hallgren wrote:1) I presume all the "xxME" & "xxMD" are simply your labels for these type of menus?
Indeed, they originally meant "Menu Enabled" and "Menu Disabled" but then I decided to give the "MD" an action so I guess now it's "Menu Default".
j_c_hallgren wrote:2) And what you're doing is creating a submenu that allows user to perform the same left/right/down options as if they'd done it on the actual TB icon, but via menu instead of various types of clicks, true?
True
j_c_hallgren wrote:3) Also, the various submenu choices aren't shown until needed via the underscore at beginning, yes?
Also, true.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Germany, EU

Re: Unheralded feature?

Post by Stefan »

Oh, i just saw that the assigned hotkeys are not displayed for the XY commands used with CTB.
Could there be an option to show them too, please?

Smtg like f.ex.:
"Recent Locations|:mru!" button "mru"

admin
Site Admin
Posts: 49998
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Unheralded feature?

Post by admin »

Stefan wrote:Oh, i just saw that the assigned hotkeys are not displayed for the XY commands used with CTB.
Could there be an option to show them too, please?

Smtg like f.ex.:
"Recent Locations|:mru!" button "mru"
Yes, can be done. I even could get the default caption for the button, so one could simplify the definitions like this for example:
"|:mru!" button "mru"[/quote]

Not sure about the "!" yet...
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Germany, EU

Re: Unheralded feature?

Post by Stefan »

admin wrote:
Stefan wrote:Oh, i just saw that the assigned hotkeys are not displayed for the XY commands used with CTB.
Could there be an option to show them too, please?

Smtg like f.ex.:
"Recent Locations|:mru!" button "mru"
Yes, can be done. I even could get the default caption for the button, so one could simplify the definitions like this for example:
"|:mru!" button "mru"
Fine.
Just to be clear: "My Caption|:mru!" button "mru" would work then still too i assume, as i know you have such things anyway in mind.
Not sure about the "!" yet...
Clear! Was anyway an quick example only.

RalphM
Posts: 1428
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Unheralded feature?

Post by RalphM »

Almost got crazy trying to figure out this CTB context menu stuff.

Was it really only me who didn't know, that in order for the "On right-click" script to work, one has to define something for the "On click" script as well (i.e. "Cancel")

Just thought to share this, in case others are struggling with it as well...
Ralph :-)
(OS: W10 20H2 Home x64 - XY: Current beta - Office 2019 32-bit)

admin
Site Admin
Posts: 49998
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Unheralded feature?

Post by admin »

RalphM wrote:Almost got crazy trying to figure out this CTB context menu stuff.

Was it really only me who didn't know, that in order for the "On right-click" script to work, one has to define something for the "On click" script as well (i.e. "Cancel")

Just thought to share this, in case others are struggling with it as well...
:) That's why I made the caption "On click" bold. But I changed this. Now you can have only the right-click defined.
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Unheralded feature?

Post by j_c_hallgren »

Now I'm wondering...what advantage/disadvantage is there to putting these "excess" toolbar buttons as right-click in a CTB vs left-click? It works the same either way, right? :?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Germany, EU

Re: Unheralded feature?

Post by Stefan »

I need help.
I have problem to understand this.

I try to execute an action AND show an context menu from right click CTB.

I tried:

Code: Select all

Focus "P1"; 
"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"

Code: Select all

sub "_autorun";
"_autorun"
 Focus "P1"; 

"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"

Code: Select all

Focus "P1"; Load "_CtxMenu";

The best i get is this context menu:
Focus "P1";
Recent Locations
Hotlist

But always i have to click on 'focus' and then use right mouse button again to use this other items.

How can i auto-execute the 'focus' command AND don't see it in the menu, only the 'mru' and 'hotlist' items.
How can i do this?


And how can i execute an sub onLoad of the script
sub "_autorun";
"_autorun"
Focus "P1";

without see this "sub "_autorun";" and have to click on it first?


Right now i am in the middle of nowhere and doesn't understand anything :roll:

admin
Site Admin
Posts: 49998
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Unheralded feature?

Post by admin »

Stefan wrote:I need help.
I have problem to understand this.

I try to execute an action AND show an context menu from right click CTB.

I tried:

Code: Select all

Focus "P1"; 
"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"
A multi-script resource is not a script. These are 3 scripts, not a sequence of statements in one script. Creating popup menus from within a script is currently not supported (TheQwerty made a suggestion here recently...).
FAQ | XY News RSS | XY Twitter | Stay home! 🎸 Or wear a mask! 😷

RalphM
Posts: 1428
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Unheralded feature?

Post by RalphM »

admin wrote: :) That's why I made the caption "On click" bold. But I changed this. Now you can have only the right-click defined.
Too late for me, but it will certainly help others...
Ralph :-)
(OS: W10 20H2 Home x64 - XY: Current beta - Office 2019 32-bit)

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Unheralded feature?

Post by SkyFrontier »

I was trying to recall where (and IF, I must admit...) I have seen something like the code below anywhere. Muroph's work, AFAICR.
Can't find it and well... adapted Hallgren's Table so it will now copy the corresponding code to a button icon so it will make easier to assign XY native icons into CTBs.
(Some day I'll find some time to revise and update the list, but this will probably easier to do if Don update his post if he sees that there's a large number of new .icos available under XY since the original list.)

EDIT: Found the list. Click here.

Code: Select all

"Address Bar Go|:go" copytext ":go"
"Back|:back" copytext ":back"
"Forward|:fore" copytext ":fore"
"Up|:up" copytext ":up"
"Recent Locations|:mru" copytext ":mru"
"Hotlist|:hotlist" copytext ":hotlist"
"MyComputer|:myco" copytext ":myco"
"Drives|:drives" copytext ":drives"
"Browse Network|:browsenetwork" copytext ":browsenetwork"
"Open Recycle Bin|:recbin" copytext ":recbin"
"Refresh|:refresh" copytext ":refresh"
"Auto-Refresh|:autorefresh" copytext ":autorefresh"
"Suspend Auto-Refresh|:refreshsus" copytext ":refreshsus"
"Stop|:stop" copytext ":stop"
"Find|:find" copytext ":find"
"Properties|:props" copytext ":props"
"Copy Path/Name|:copypath" copytext ":copypath"
"Open With|:openwith" copytext ":openwith"
"Preview|:preview" copytext ":preview"
"Full Screen Preview|:previewfull" copytext ":previewfull"
"Quick File View|:qfv" copytext ":qfv"
"Favorite Folders|:favs" copytext ":favs"
"Favorite Files|:favfiles" copytext ":favfiles"
"Tags|:tags" copytext ":tags"
"Cut|:cut" copytext ":cut"
"Copy|:copy" copytext ":copy"
"Paste|:paste" copytext ":paste"
"Edit Files in Clipboard|:clip" copytext ":clip"
"Move To...|:moveto" copytext ":moveto"
"Copy To...|:copyto" copytext ":copyto"
"Backup To...|:backupto" copytext ":backupto"
"Go to Last Target|:lasttarget" copytext ":lasttarget"
"Go to Previous Location|:goprev" copytext ":goprev"
"Delete|:del" copytext ":del"
"Nuke|:nuke" copytext ":nuke"
"Command Prompt|:dosbox" copytext ":dosbox"
"Show Navigation Panel|:hidenav" copytext ":hidenav"
"Show Tree|:treeshow" copytext ":treeshow"
"Show Catalog|:cat" copytext ":cat"
"Dual Pane|:dp" copytext ":dp"
"Toggle Active Pane|:dp12" copytext ":dp12"
"Show Info Panel|:panelshow" copytext ":panelshow"
"Toggle Wide Info Panel|:hightree" copytext ":hightree"
"Last/Min Size Info Panel|:panellast" copytext ":panellast"
"Max/Min Size Info Panel|:panelmax" copytext ":panelmax"
"Sort By|:sort" copytext ":sort"
"Views|:views" copytext ":views"
"Details View|:viewdetails" copytext ":viewdetails"
"List View|:viewlist" copytext ":viewlist"
"Thumbnails View|:viewthumbs" copytext ":viewthumbs"
"Configuration|:conf" copytext ":conf"
"Save Settings|:savesett" copytext ":savesett"
"Exit without Saving|:exitnosave" copytext ":exitnosave"
"Manage Commands|:udc" copytext ":udc"
"Customize Keyboard|:cks" copytext ":cks"
"Folder View Settings|:fvs" copytext ":fvs"
"Mini Tree|:minitree" copytext ":minitree"
"List Management|:lstmgmt" copytext ":lstmgmt"
"New Folder|:newfolder" copytext ":newfolder"
"Calculate Folder Sizes|:calcfosi" copytext ":calcfosi"
"Home|:home" copytext ":home"
"New Tab|:newtab" copytext ":newtab"
"Close Tab|:closetab" copytext ":closetab"
"Lock Tab|:locktab" copytext ":locktab"
"Tab List|:tablist" copytext ":tablist"
"Show Hidden Items|:showhidden" copytext ":showhidden"
"Show System Items|:showsystem" copytext ":showsystem"
"Hide Folders in List|:showfolders" copytext ":showfolders"
"Toggle Visual Filter|:visualfilter" copytext ":visualfilter"
"Sticky Selection|:sticky" copytext ":sticky"
"Step Mode|:steps" copytext ":steps"
"Register Online|:money" copytext ":money"
"Update Registration Details|:key" copytext ":key"
"User Button #1|:ctb1" copytext ":ctb1"
"User Button #2|:ctb2" copytext ":ctb2"
"User Button #3|:ctb3" copytext ":ctb3"
"User Button #4|:ctb4" copytext ":ctb4"
"User Button #5|:ctb5" copytext ":ctb5"
"User Button #6|:ctb6" copytext ":ctb6"
"User Button #7|:ctb7" copytext ":ctb7"
"User Button #8|:ctb8" copytext ":ctb8"
"User Button #9|:ctb9" copytext ":ctb9"
"User Button #10|:ctb10" copytext ":ctb10"
Last edited by SkyFrontier on 04 Sep 2010 20:45, edited 1 time in total.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Unheralded feature?

Post by SkyFrontier »

Hint to new users:
Better way to deal with the table is to create a .txt "ButtonCodes.txt", copy table's contents into it, rename as ButtonCodes.XYS and put this file under <xypath>\Data\Scripts (same as <xyscripts>, if you have a stock installation). Then add at least two codes to a CTB, for convenience (I use such kind of reference codes with the right button mouse click):

Code: Select all

"Button Codes|:props" load "<xyscripts>\ButtonCodes.xys";
"Placeholder|:copy" copytext "Generic";
Clicking on it will fire the list. Click on the desired icon and its code will be available for use with your new cool CTB, whatever it is...
Note: In the above code, ":copy" and ":props" are also examples of such icon codes.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

totmad1
Posts: 131
Joined: 24 Jun 2013 12:37

Re: Unheralded feature?

Post by totmad1 »

came across this had nothing todo so thought i would update and show screenshot

Code: Select all

//For quicker access than scrolling to bottom of the menu.
"Edit Button : editButton"   UserButton(1, 128);
"Customize Toolbar : custTB"   Button("ctb1", 256);

"Edit script : edit"
    $ScriptFile= self ("file");
	    run "$p_note" $ScriptFile,w;
-
"Second page" load "Buttons2";
"Third page" load "Buttons3";
"Fourth page" load "Buttons4";
"Fifth page" load "Buttons5";
-
"Address Bar Go ->|:go : goME"   Load("*","_goMD;-;_goL;_goR;_goD");
"<- Address Bar Go|:go|1 : _goMD"   Load("*");
"&Left Click|:go : _goL"   Button("go", 1);
"&Right Click|:go : _goR"   Button("go", 2);

"Back ->|:back : backME"   Load("*","_backMD;-;_backL;_backR;_backD");
"<- Back|:back|1 : _backMD"   Load("*");
"&Left Click|:back : _backL"   Button("back", 1);
"&Right Click|:back : _backR"   Button("back", 2);
"&Down Arrow|:back : _backD"   Button("back", 8);

"Forward ->|:fore : foreME"   Load("*","_foreMD;-;_foreL;_foreR;_foreD");
"<- Forward|:fore|1 : _foreMD"   Load("*");
"&Left Click|:fore : _foreL"   Button("fore", 1);
"&Right Click|:fore : _foreR"   Button("fore", 2);
"&Down Arrow|:fore : _foreD"   Button("fore", 8);

"Up ->|:up : upME"   Load("*","_upMD;-;_upL;_upR;_upD");
"<- Up|:up|1 : _upMD"   Load("*");
"&Left Click|:up : _upL"   Button("up", 1);
"&Right Click|:up : _upR"   Button("up", 2);
"&Down Arrow|:up : _upD"   Button("up", 8);

"Recent Locations ->|:mru : mruME"   Load("*","_mruMD;-;_mruL;_mruR;_mruD");
"<- Recent Locations|:mru|1 : _mruMD"   Load("*");
"&Left Click|:mru : _mruL"   Button("mru", 1);
"&Right Click|:mru : _mruR"   Button("mru", 2);

"recent file operations ->|:rfo : rfoME"   load("*","_rfoMD;-;_rfoL;_rfoR;_rfoD");
"<- recent file operations|:rfo|1 : _rfoMD"   Load("*");
"&Left Click|:rfo : _rfoL"   Button("rfo", 1);
"&Right Click|:rfo : _rfoR"   Button("rfo", 2);

"Hotlist ->|:hotlist : hotlistME"   Load("*","_hotlistMD;-;_hotlistL;_hotlistR;_hotlistD");
"<- Hotlist|:hotlist|1 : _hotlistMD"   Load("*");
"&Left Click|:hotlist : _hotlistL"   Button("hotlist", 1);
"&Right Click|:hotlist : _hotlistR"   Button("hotlist", 2);

"My Computer ->|:myco : mycoME"   Load("*","_mycoMD;-;_mycoL;_mycoR;_mycoD");
"<- My Computer|:myco|1 : _mycoMD"   Load("*");
"&Left Click|:myco : _mycoL"   Button("myco", 1);
"&Right Click|:myco : _mycoR"   Button("myco", 2);

"Drives ->|:drives : drivesME"   Load("*","_drivesMD;-;_drivesL;_drivesR;_drivesD");
"<- Drives|:drives|1 : _drivesMD"   Load("*");
"&Left Click|:drives : _drivesL"   Button("drives", 1);
"&Right Click|:drives : _drivesR"   Button("drives", 2);

"Browse Network ->|:browsenetwork : browsenetworkME"   Load("*","_browsenetworkMD;-;_browsenetworkL;_browsenetworkR;_browsenetworkD");
"<- Browse Network|:browsenetwork|1 : _browsenetworkMD"   Load("*");
"&Left Click|:browsenetwork : _browsenetworkL"   Button("browsenetwork", 1);
"&Right Click|:browsenetwork : _browsenetworkR"   Button("browsenetwork", 2);

"Refresh ->|:refresh : refreshME"   Load("*","_refreshMD;-;_refreshL;_refreshR;_refreshD");
"<- Refresh|:refresh|1 : _refreshMD"   Load("*");
"&Left Click|:refresh : _refreshL"   Button("refresh", 1);
"&Right Click|:refresh : _refreshR"   Button("refresh", 2);

"Auto-Refresh ->|:autorefresh : autorefreshME"   Load("*","_autorefreshMD;-;_autorefreshL;_autorefreshR;_autorefreshD");
"<- Auto-Refresh|:autorefresh|1 : _autorefreshMD"   Load("*");
"&Left Click|:autorefresh : _autorefreshL"   Button("autorefresh", 1);
"&Right Click|:autorefresh : _autorefreshR"   Button("autorefresh", 2);

"Suspend Auto-Refresh ->|:refreshsus : refreshsusME"   Load("*","_refreshsusMD;-;_refreshsusL;_refreshsusR;_refreshsusD");
"<- Suspend Auto-Refresh|:refreshsus|1 : _refreshsusMD"   Load("*");
"&Left Click|:refreshsus : _refreshsusL"   Button("refreshsus", 1);
"&Right Click|:refreshsus : _refreshsusR"   Button("refreshsus", 2);

"Stop ->|:stop : stopME"   Load("*","_stopMD;-;_stopL;_stopR;_stopD");
"<- Stop|:stop|1 : _stopMD"   Load("*");
"&Left Click|:stop : _stopL"   Button("stop", 1);
"&Right Click|:stop : _stopR"   Button("stop", 2);

"Find ->|:find : findME"   Load("*","_findMD;-;_findL;_findR;_findD");
"<- Find|:find|1 : _findMD"   Load("*");
"&Left Click|:find : _findL"   Button("find", 1);
"&Right Click|:find : _findR"   Button("find", 2);

"quick name search ->|:qns : qnsME"   Load("*","_qnsMD;-;_qnsL;_qnsR;_qnsD");
"<- quick name search|:qns|1 : _qnsMD"   Load("*");
"&Left Click|:qns : _qnsL"   Button("qns", 1);
"&Right Click|:qns : _qnsR"   Button("qns", 2);

"shell Properties ->|:shellprops : shellpropsME"   Load("*","_shellpropsMD;-;_shellpropsL;_shellpropsR;_shellpropsD");
"<- Properties|:shellprops|1 : _shellpropsMD"   Load("*");
"&Left Click|:shellprops : _shellpropsL"   Button("shellprops", 1);
"&Right Click|:shellprops : _shellpropsR"   Button("shellprops", 2);

"meta ->|:meta : metaME"   Load("*","_metaMD;-;_metaL;_metaR;_metaD");
"<- meta|:meta|1 : _metaMD"   Load("*");
"&Left Click|:meta : _metaL"   Button("meta", 1);
"&Right Click|:meta : _metaR"   Button("meta", 2);

"Properties tab info panel->|:props : propsME"   Load("*","_propsMD;-;_propsL;_propsR;_propsD");
"<- Properties|:props|1 : _propsMD"   Load("*");
"&Left Click|:props : _propsL"   Button("props", 1);
"&Right Click|:props : _propsR"   Button("props", 2);

"Copy Path/Name ->|:copypath : copypathME"   Load("*","_copypathMD;-;_copypathL;_copypathR;_copypathD");
"<- Copy Path/Name|:copypath|1 : _copypathMD"   Load("*");
"&Left Click|:copypath : _copypathL"   Button("copypath", 1);
"&Right Click|:copypath : _copypathR"   Button("copypath", 2);

"Open With ->|:openwith : openwithME"   Load("*","_openwithMD;-;_openwithL;_openwithR;_openwithD");
"<- Open With|:openwith|1 : _openwithMD"   Load("*");
"&Left Click|:openwith : _openwithL"   Button("openwith", 1);
"&Right Click|:openwith : _openwithR"   Button("openwith", 2);

"Preview ->|:preview : previewME"   Load("*","_previewMD;-;_previewL;_previewR;_previewD");
"<- Preview|:preview|1 : _previewMD"   Load("*");
"&Left Click|:preview : _previewL"   Button("preview", 1);
"&Right Click|:preview : _previewR"   Button("preview", 2);

"Full Screen Preview ->|:previewfull : previewfullME"   Load("*","_previewfullMD;-;_previewfullL;_previewfullR;_previewfullD");
"<- Full Screen Preview|:previewfull|1 : _previewfullMD"   Load("*");
"&Left Click|:previewfull : _previewfullL"   Button("previewfull", 1);
"&Right Click|:previewfull : _previewfullR"   Button("previewfull", 2);

"floating preview ->|:fp : fpME"   Load("*","_fpMD;-;_fpL;_fpR;_fpD");
"<- floating preview|:fp|1 : _fpMD"   Load("*");
"&Left Click|:fp : _fpL"   Button("fp", 1);
"&Right Click|:fp : _fpR"   Button("fp", 2);

"Quick File View ->|:qfv : qfvME"   Load("*","_qfvMD;-;_qfvL;_qfvR;_qfvD");
"<- Quick File View|:qfv|1 : _qfvMD"   Load("*");
"&Left Click|:qfv : _qfvL"   Button("qfv", 1);
"&Right Click|:qfv : _qfvR"   Button("qfv", 2);

"color filters ->|:cofi : cofiME"   Load("*","_cofiMD;-;_cofiL;_cofiR;_cofiD");
"<- color filters|:cofi|1 : _cofiMD"   Load("*");
"&Left Click|:cofi : _cofiL"   Button("cofi", 1);
"&Right Click|:cofi : _cofiR"   Button("cofi", 2);

"custom file icons ->|:cfi : cfiME"   Load("*","_cfiMD;-;_cfiL;_cfiR;_cfiD");
"<- custom file icons|:cfi|1 : _cfiMD"   Load("*");
"&Left Click|:cfi : _cfiL"   Button("cfi", 1);
"&Right Click|:cfi : _cfiR"   Button("cfi", 2);


"Cancel"

this is the first script of 5. screenshot is of 1 & 5 side by side (edited).

Image

here are the 5 scripts run all from buttons.xys
Buttons.zip
5 buttons scripts
(8.92 KiB) Downloaded 141 times
totmad1 (totally mad one)

totmad1
Posts: 131
Joined: 24 Jun 2013 12:37

Re: Unheralded feature?

Post by totmad1 »

I have altered the menu to try to make it clearer which script you
are using. Also added icons.zip inside.
Buttons5.zip
(25.54 KiB) Downloaded 74 times
totmad1 (totally mad one)

Post Reply