Unheralded feature?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Unheralded feature?

Post by aurumdigitus »

When using Customize Toolbar having the CTB # appear to the right after a button name has been entered is very handy. When did the feature begin?

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Unheralded feature?

Post by admin »

Code: Select all

v8.40.0108 - 2009-09-21 13:37
    ...
    * Custom Toolbar Buttons: Now, when you open the Customize Toolbar 
      dialog from the context menu of a User Button, the buttons keys 
      are displayed for reference.

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Unheralded feature?

Post by aurumdigitus »

Due to a confluence of events - and despite the sig - have not been able to follow the Beta's as closely recently.

As stated, when writing button code knowing which is which is indispensable. :wink:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Unheralded feature?

Post by admin »

Isn't it funny how some keys are longish -- [browsenetwork] -- and others mysterious -- [dp12]! You know, I never thought these things would surface one day... :mrgreen:

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 »

Is there someplace where all the possible entries are listed with std associated desc so that a user (like me) could create one CTB with context menu being any/all buttons that wouldn't fit on my TB?
Such that I could just cut/paste that as starting point and then delete the ones I don't need...I thought I may have seen this (or part of it) somewhere but can't locate it right now...only the button values are in http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=4043.

What I would like is something similar to what is now on XY site in 8.50 desc as this:

Code: Select all

"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"
-
"Custom Keyboard Shortcuts|:cks" button "cks"
"Edit User Commands|:udc" button "udc"
-
"Exit w/out Saving|:exitnosave" button "exitnosave"
but including all possible items.
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.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Unheralded feature?

Post by admin »

j_c_hallgren wrote:Is there someplace where all the possible entries are listed with std associated desc so that a user (like me) could create one CTB with context menu being any/all buttons that wouldn't fit on my TB?
Such that I could just cut/paste that as starting point and then delete the ones I don't need...I thought I may have seen this (or part of it) somewhere but can't locate it right now...only the button values are in http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=4043.

What I would like is something similar to what is now on XY site in 8.50 desc as this:

Code: Select all

"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"
-
"Custom Keyboard Shortcuts|:cks" button "cks"
"Edit User Commands|:udc" button "udc"
-
"Exit w/out Saving|:exitnosave" button "exitnosave"
but including all possible items.
Add all buttons to the toolbar, then do

Code: Select all

text toolbar();
Or, maybe better, add all buttons to the toolbar, then in the Custom Toolbar dialog right click the list and do "Copy All items". Well, here it is:

Code: Select all

Address Bar Go [go]
Back [back]
Forward [fore]
Up [up]
Recent Locations [mru]
Hotlist [hotlist]
MyComputer [myco]
Drives [drives]
Browse Network [browsenetwork]
Open Recycle Bin [recbin]
Refresh [refresh]
Auto-Refresh [autorefresh]
Suspend Auto-Refresh [refreshsus]
Stop [stop]
Find [find]
Properties [props]
Copy Path/Name [copypath]
Open With [openwith]
Preview [preview]
Full Screen Preview [previewfull]
Quick File View [qfv]
Favorite Folders [favs]
Favorite Files [favfiles]
Tags [tags]
Cut [cut]
Copy [copy]
Paste [paste]
Edit Files in Clipboard [clip]
Move To... [moveto]
Copy To... [copyto]
Backup To... [backupto]
Go to Last Target [lasttarget]
Go to Previous Location [goprev]
Delete [del]
Nuke [nuke]
Command Prompt [dosbox]
Show Navigation Panel [hidenav]
Show Tree [treeshow]
Show Catalog [cat]
Dual Pane [dp]
Toggle Active Pane [dp12]
Show Info Panel [panelshow]
Toggle Wide Info Panel [hightree]
Last/Min Size Info Panel [panellast]
Max/Min Size Info Panel [panelmax]
Sort By [sort]
Views [views]
Details View [viewdetails]
List View [viewlist]
Thumbnails View [viewthumbs]
Configuration [conf]
Save Settings [savesett]
Exit without Saving [exitnosave]
Manage Commands [udc]
Customize Keyboard [cks]
Folder View Settings [fvs]
Mini Tree [minitree]
List Management [lstmgmt]
New Folder [newfolder]
Calculate Folder Sizes [calcfosi]
Home [home]
New Tab [newtab]
Close Tab [closetab]
Lock Tab [locktab]
Tab List [tablist]
Show Hidden Items [showhidden]
Show System Items [showsystem]
Hide Folders in List [showfolders]
Toggle Visual Filter [visualfilter]
Sticky Selection [sticky]
Step Mode [steps]
Register Online [money]
Update Registration Details [key]
TestFiles\Temp\ [ctb1]
Open with Photoshop [ctb2]
Open with EmEditor [ctb3]
User Button #4 [ctb4]
User Button #5 [ctb5]
User Button #6 [ctb6]
User Button #7 [ctb7]
User Button #8 [ctb8]
User Button #9 [ctb9]
User Button #10 [ctb10]

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Unheralded feature?

Post by aurumdigitus »

j_c_hallgren wrote:Is there someplace where all the possible entries are listed with std associated desc so that a user (like me) could create one CTB with context menu being any/all buttons that wouldn't fit on my TB?
To paraphrase Lord of the Rings, "One Button To Rule Them All!"

Seriously, that list in alphabetical order is very useful to have at the ready.

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 »

admin wrote:

Code: Select all

Update Registration Details [key]
TestFiles\Temp\ [ctb1]
Open with Photoshop [ctb2]
Open with EmEditor [ctb3]
User Button #4 [ctb4]
I think ctb1-ctb3 are Don's custom buttons and not the std default, right? :wink:

Ok...so I took Don's list, did some editing in Excel & WordPad and created the following which is full list of cmds (as of Oct 6, 2009)suitable for copy/pasting as right-click on a CTB as I'd wished:

Code: Select all

-
"Address Bar Go|:go" button "go"
"Back|:back" button "back"
"Forward|:fore" button "fore"
"Up|:up" button "up"
"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"
"MyComputer|:myco" button "myco"
"Drives|:drives" button "drives"
"Browse Network|:browsenetwork" button "browsenetwork"
"Open Recycle Bin|:recbin" button "recbin"
"Refresh|:refresh" button "refresh"
"Auto-Refresh|:autorefresh" button "autorefresh"
"Suspend Auto-Refresh|:refreshsus" button "refreshsus"
"Stop|:stop" button "stop"
"Find|:find" button "find"
"Properties|:props" button "props"
"Copy Path/Name|:copypath" button "copypath"
"Open With|:openwith" button "openwith"
"Preview|:preview" button "preview"
"Full Screen Preview|:previewfull" button "previewfull"
"Quick File View|:qfv" button "qfv"
"Favorite Folders|:favs" button "favs"
"Favorite Files|:favfiles" button "favfiles"
"Tags|:tags" button "tags"
"Cut|:cut" button "cut"
"Copy|:copy" button "copy"
"Paste|:paste" button "paste"
"Edit Files in Clipboard|:clip" button "clip"
"Move To...|:moveto" button "moveto"
"Copy To...|:copyto" button "copyto"
"Backup To...|:backupto" button "backupto"
"Go to Last Target|:lasttarget" button "lasttarget"
"Go to Previous Location|:goprev" button "goprev"
"Delete|:del" button "del"
"Nuke|:nuke" button "nuke"
"Command Prompt|:dosbox" button "dosbox"
"Show Navigation Panel|:hidenav" button "hidenav"
"Show Tree|:treeshow" button "treeshow"
"Show Catalog|:cat" button "cat"
"Dual Pane|:dp" button "dp"
"Toggle Active Pane|:dp12" button "dp12"
"Show Info Panel|:panelshow" button "panelshow"
"Toggle Wide Info Panel|:hightree" button "hightree"
"Last/Min Size Info Panel|:panellast" button "panellast"
"Max/Min Size Info Panel|:panelmax" button "panelmax"
"Sort By|:sort" button "sort"
"Views|:views" button "views"
"Details View|:viewdetails" button "viewdetails"
"List View|:viewlist" button "viewlist"
"Thumbnails View|:viewthumbs" button "viewthumbs"
"Configuration|:conf" button "conf"
"Save Settings|:savesett" button "savesett"
"Exit without Saving|:exitnosave" button "exitnosave"
"Manage Commands|:udc" button "udc"
"Customize Keyboard|:cks" button "cks"
"Folder View Settings|:fvs" button "fvs"
"Mini Tree|:minitree" button "minitree"
"List Management|:lstmgmt" button "lstmgmt"
"New Folder|:newfolder" button "newfolder"
"Calculate Folder Sizes|:calcfosi" button "calcfosi"
"Home|:home" button "home"
"New Tab|:newtab" button "newtab"
"Close Tab|:closetab" button "closetab"
"Lock Tab|:locktab" button "locktab"
"Tab List|:tablist" button "tablist"
"Show Hidden Items|:showhidden" button "showhidden"
"Show System Items|:showsystem" button "showsystem"
"Hide Folders in List|:showfolders" button "showfolders"
"Toggle Visual Filter|:visualfilter" button "visualfilter"
"Sticky Selection|:sticky" button "sticky"
"Step Mode|:steps" button "steps"
"Register Online|:money" button "money"
"Update Registration Details|:key" button "key"
"User Button #1|:ctb1" button "ctb1"
"User Button #2|:ctb2" button "ctb2"
"User Button #3|:ctb3" button "ctb3"
"User Button #4|:ctb4" button "ctb4"
"User Button #5|:ctb5" button "ctb5"
"User Button #6|:ctb6" button "ctb6"
"User Button #7|:ctb7" button "ctb7"
"User Button #8|:ctb8" button "ctb8"
"User Button #9|:ctb9" button "ctb9"
"User Button #10|:ctb10" button "ctb10"
You can then remove any buttons you already have on TB, add separators, and have a "Overflow" button...I personally use the "cancel" cmd as left-click value so that any accidental left-clicks do no harm, and use the XY icon via "<xypath>/<xyexe>".
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.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Unheralded feature?

Post by admin »

j_c_hallgren wrote:Ok...so I took Don's list, did some editing in Excel & WordPad and created the following which is full list of cmds (as of Oct 6, 2009)suitable for copy/pasting as right-click on a CTB as I'd wished...
Nice one! :D I should actually put that list somewhere to the license lounge.

Lare2
Posts: 65
Joined: 18 Sep 2006 08:29

Re: Unheralded feature?

Post by Lare2 »

admin wrote:
j_c_hallgren wrote:Ok...so I took Don's list, did some editing in Excel & WordPad and created the following which is full list of cmds (as of Oct 6, 2009)suitable for copy/pasting as right-click on a CTB as I'd wished...
Nice one! :D I should actually put that list somewhere to the license lounge.
Or the wiki for that matter. :)

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

Re: Unheralded feature?

Post by TheQwerty »

j_c_hallgren wrote:Ok...so I took Don's list, did some editing in Excel & WordPad and created the following which is full list of cmds (as of Oct 6, 2009)suitable for copy/pasting as right-click on a CTB as I'd wished:
I did something similar using two-stages.
First is a menu of all the buttons, except the CTBs, and then is a Left, Right, Down Arrow action menu. I have mine set up so that a left click displays a selection of more frequently used buttons, and then a right click shows all of the buttons except those I've hidden because they are on my toolbar.

You'll want to change the first two so that they correspond with whatever CTB you use.

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);
"-"

"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);

"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);

"Open Recycle Bin ->|:recbin : recbinME"	Load("*","_recbinMD;-;_recbinL;_recbinR;_recbinD");
"<- Open Recycle Bin|:recbin|1 : _recbinMD"	Load("*");
"&Left Click|:recbin : _recbinL"	Button("recbin", 1);
"&Right Click|:recbin : _recbinR"	Button("recbin", 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);

"Properties ->|: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);

"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);

"Favorite Folders ->|:favs : favsME"	Load("*","_favsMD;-;_favsL;_favsR;_favsD");
"<- Favorite Folders|:favs|1 : _favsMD"	Load("*");
"&Left Click|:favs : _favsL"	Button("favs", 1);
"&Right Click|:favs : _favsR"	Button("favs", 2);

"Favorite Files ->|:favfiles : favfilesME"	Load("*","_favfilesMD;-;_favfilesL;_favfilesR;_favfilesD");
"<- Favorite Files|:favfiles|1 : _favfilesMD"	Load("*");
"&Left Click|:favfiles : _favfilesL"	Button("favfiles", 1);
"&Right Click|:favfiles : _favfilesR"	Button("favfiles", 2);

"Tags ->|:tags : tagsME"	Load("*","_tagsMD;-;_tagsL;_tagsR;_tagsD");
"<- Tags|:tags|1 : _tagsMD"	Load("*");
"&Left Click|:tags : _tagsL"	Button("tags", 1);
"&Right Click|:tags : _tagsR"	Button("tags", 2);
"&Down Arrow|:tags : _tagsD"	Button("tags", 8);

"Cut ->|:cut : cutME"	Load("*","_cutMD;-;_cutL;_cutR;_cutD");
"<- Cut|:cut|1 : _cutMD"	Load("*");
"&Left Click|:cut : _cutL"	Button("cut", 1);
"&Right Click|:cut : _cutR"	Button("cut", 2);

"Copy ->|:copy : copyME"	Load("*","_copyMD;-;_copyL;_copyR;_copyD");
"<- Copy|:copy|1 : _copyMD"	Load("*");
"&Left Click|:copy : _copyL"	Button("copy", 1);
"&Right Click|:copy : _copyR"	Button("copy", 2);

"Paste ->|:paste : pasteME"	Load("*","_pasteMD;-;_pasteL;_pasteR;_pasteD");
"<- Paste|:paste|1 : _pasteMD"	Load("*");
"&Left Click|:paste : _pasteL"	Button("paste", 1);
"&Right Click|:paste : _pasteR"	Button("paste", 2);

"Edit Files in Clipboard ->|:clip : clipME"	Load("*","_clipMD;-;_clipL;_clipR;_clipD");
"<- Edit Files in Clipboard|:clip|1 : _clipMD"	Load("*");
"&Left Click|:clip : _clipL"	Button("clip", 1);
"&Right Click|:clip : _clipR"	Button("clip", 2);

"Move To... ->|:moveto : movetoME"	Load("*","_movetoMD;-;_movetoL;_movetoR;_movetoD");
"<- Move To...|:moveto|1 : _movetoMD"	Load("*");
"&Left Click|:moveto : _movetoL"	Button("moveto", 1);
"&Right Click|:moveto : _movetoR"	Button("moveto", 2);

"Copy To... ->|:copyto : copytoME"	Load("*","_copytoMD;-;_copytoL;_copytoR;_copytoD");
"<- Copy To...|:copyto|1 : _copytoMD"	Load("*");
"&Left Click|:copyto : _copytoL"	Button("copyto", 1);
"&Right Click|:copyto : _copytoR"	Button("copyto", 2);

"Backup To... ->|:backupto : backuptoME"	Load("*","_backuptoMD;-;_backuptoL;_backuptoR;_backuptoD");
"<- Backup To...|:backupto|1 : _backuptoMD"	Load("*");
"&Left Click|:backupto : _backuptoL"	Button("backupto", 1);
"&Right Click|:backupto : _backuptoR"	Button("backupto", 2);

"Go to Last Target ->|:lasttarget : lasttargetME"	Load("*","_lasttargetMD;-;_lasttargetL;_lasttargetR;_lasttargetD");
"<- Go to Last Target|:lasttarget|1 : _lasttargetMD"	Load("*");
"&Left Click|:lasttarget : _lasttargetL"	Button("lasttarget", 1);
"&Right Click|:lasttarget : _lasttargetR"	Button("lasttarget", 2);

"Go to Previous Location ->|:goprev : goprevME"	Load("*","_goprevMD;-;_goprevL;_goprevR;_goprevD");
"<- Go to Previous Location|:goprev|1 : _goprevMD"	Load("*");
"&Left Click|:goprev : _goprevL"	Button("goprev", 1);
"&Right Click|:goprev : _goprevR"	Button("goprev", 2);

"Delete ->|:del : delME"	Load("*","_delMD;-;_delL;_delR;_delD");
"<- Delete|:del|1 : _delMD"	Load("*");
"&Left Click|:del : _delL"	Button("del", 1);
"&Right Click|:del : _delR"	Button("del", 2);

"Nuke ->|:nuke : nukeME"	Load("*","_nukeMD;-;_nukeL;_nukeR;_nukeD");
"<- Nuke|:nuke|1 : _nukeMD"	Load("*");
"&Left Click|:nuke : _nukeL"	Button("nuke", 1);
"&Right Click|:nuke : _nukeR"	Button("nuke", 2);

"Command Prompt ->|:dosbox : dosboxME"	Load("*","_dosboxMD;-;_dosboxL;_dosboxR;_dosboxD");
"<- Command Prompt|:dosbox|1 : _dosboxMD"	Load("*");
"&Left Click|:dosbox : _dosboxL"	Button("dosbox", 1);
"&Right Click|:dosbox : _dosboxR"	Button("dosbox", 2);

"Show Navigation Panel ->|:hidenav : hidenavME"	Load("*","_hidenavMD;-;_hidenavL;_hidenavR;_hidenavD");
"<- Show Navigation Panel|:hidenav|1 : _hidenavMD"	Load("*");
"&Left Click|:hidenav : _hidenavL"	Button("hidenav", 1);
"&Right Click|:hidenav : _hidenavR"	Button("hidenav", 2);

"Show Tree ->|:treeshow : treeshowME"	Load("*","_treeshowMD;-;_treeshowL;_treeshowR;_treeshowD");
"<- Show Tree|:treeshow|1 : _treeshowMD"	Load("*");
"&Left Click|:treeshow : _treeshowL"	Button("treeshow", 1);
"&Right Click|:treeshow : _treeshowR"	Button("treeshow", 2);

"Show Catalog ->|:cat : catME"	Load("*","_catMD;-;_catL;_catR;_catD");
"<- Show Catalog|:cat|1 : _catMD"	Load("*");
"&Left Click|:cat : _catL"	Button("cat", 1);
"&Right Click|:cat : _catR"	Button("cat", 2);

"Dual Pane ->|:dp : dpME"	Load("*","_dpMD;-;_dpL;_dpR;_dpD");
"<- Dual Pane|:dp|1 : _dpMD"	Load("*");
"&Left Click|:dp : _dpL"	Button("dp", 1);
"&Right Click|:dp : _dpR"	Button("dp", 2);

"Toggle Active Pane ->|:dp12 : dp12ME"	Load("*","_dp12MD;-;_dp12L;_dp12R;_dp12D");
"<- Toggle Active Pane|:dp12|1 : _dp12MD"	Load("*");
"&Left Click|:dp12 : _dp12L"	Button("dp12", 1);
"&Right Click|:dp12 : _dp12R"	Button("dp12", 2);

"Show Info Panel ->|:panelshow : panelshowME"	Load("*","_panelshowMD;-;_panelshowL;_panelshowR;_panelshowD");
"<- Show Info Panel|:panelshow|1 : _panelshowMD"	Load("*");
"&Left Click|:panelshow : _panelshowL"	Button("panelshow", 1);
"&Right Click|:panelshow : _panelshowR"	Button("panelshow", 2);

"Toggle Wide Info Panel ->|:hightree : hightreeME"	Load("*","_hightreeMD;-;_hightreeL;_hightreeR;_hightreeD");
"<- Toggle Wide Info Panel|:hightree|1 : _hightreeMD"	Load("*");
"&Left Click|:hightree : _hightreeL"	Button("hightree", 1);
"&Right Click|:hightree : _hightreeR"	Button("hightree", 2);

"Last/Min Size Info Panel ->|:panellast : panellastME"	Load("*","_panellastMD;-;_panellastL;_panellastR;_panellastD");
"<- Last/Min Size Info Panel|:panellast|1 : _panellastMD"	Load("*");
"&Left Click|:panellast : _panellastL"	Button("panellast", 1);
"&Right Click|:panellast : _panellastR"	Button("panellast", 2);

"Max/Min Size Info Panel ->|:panelmax : panelmaxME"	Load("*","_panelmaxMD;-;_panelmaxL;_panelmaxR;_panelmaxD");
"<- Max/Min Size Info Panel|:panelmax|1 : _panelmaxMD"	Load("*");
"&Left Click|:panelmax : _panelmaxL"	Button("panelmax", 1);
"&Right Click|:panelmax : _panelmaxR"	Button("panelmax", 2);

"Sort By ->|:sort : sortME"	Load("*","_sortMD;-;_sortL;_sortR;_sortD");
"<- Sort By|:sort|1 : _sortMD"	Load("*");
"&Left Click|:sort : _sortL"	Button("sort", 1);
"&Right Click|:sort : _sortR"	Button("sort", 2);

"Views ->|:views : viewsME"	Load("*","_viewsMD;-;_viewsL;_viewsR;_viewsD");
"<- Views|:views|1 : _viewsMD"	Load("*");
"&Left Click|:views : _viewsL"	Button("views", 1);
"&Right Click|:views : _viewsR"	Button("views", 2);

"Details View ->|:viewdetails : viewdetailsME"	Load("*","_viewdetailsMD;-;_viewdetailsL;_viewdetailsR;_viewdetailsD");
"<- Details View|:viewdetails|1 : _viewdetailsMD"	Load("*");
"&Left Click|:viewdetails : _viewdetailsL"	Button("viewdetails", 1);
"&Right Click|:viewdetails : _viewdetailsR"	Button("viewdetails", 2);

"List View ->|:viewlist : viewlistME"	Load("*","_viewlistMD;-;_viewlistL;_viewlistR;_viewlistD");
"<- List View|:viewlist|1 : _viewlistMD"	Load("*");
"&Left Click|:viewlist : _viewlistL"	Button("viewlist", 1);
"&Right Click|:viewlist : _viewlistR"	Button("viewlist", 2);

"Thumbnails View ->|:viewthumbs : viewthumbsME"	Load("*","_viewthumbsMD;-;_viewthumbsL;_viewthumbsR;_viewthumbsD");
"<- Thumbnails View|:viewthumbs|1 : _viewthumbsMD"	Load("*");
"&Left Click|:viewthumbs : _viewthumbsL"	Button("viewthumbs", 1);
"&Right Click|:viewthumbs : _viewthumbsR"	Button("viewthumbs", 2);

"Configuration ->|:conf : confME"	Load("*","_confMD;-;_confL;_confR;_confD");
"<- Configuration|:conf|1 : _confMD"	Load("*");
"&Left Click|:conf : _confL"	Button("conf", 1);
"&Right Click|:conf : _confR"	Button("conf", 2);

"Save Settings ->|:savesett : savesettME"	Load("*","_savesettMD;-;_savesettL;_savesettR;_savesettD");
"<- Save Settings|:savesett|1 : _savesettMD"	Load("*");
"&Left Click|:savesett : _savesettL"	Button("savesett", 1);
"&Right Click|:savesett : _savesettR"	Button("savesett", 2);

"Exit without Saving ->|:exitnosave : exitnosaveME"	Load("*","_exitnosaveMD;-;_exitnosaveL;_exitnosaveR;_exitnosaveD");
"<- Exit without Saving|:exitnosave|1 : _exitnosaveMD"	Load("*");
"&Left Click|:exitnosave : _exitnosaveL"	Button("exitnosave", 1);
"&Right Click|:exitnosave : _exitnosaveR"	Button("exitnosave", 2);

"Manage Commands ->|:udc : udcME"	Load("*","_udcMD;-;_udcL;_udcR;_udcD");
"<- Manage Commands|:udc|1 : _udcMD"	Load("*");
"&Left Click|:udc : _udcL"	Button("udc", 1);
"&Right Click|:udc : _udcR"	Button("udc", 2);

"Customize Keyboard ->|:cks : cksME"	Load("*","_cksMD;-;_cksL;_cksR;_cksD");
"<- Customize Keyboard|:cks|1 : _cksMD"	Load("*");
"&Left Click|:cks : _cksL"	Button("cks", 1);
"&Right Click|:cks : _cksR"	Button("cks", 2);

"Folder View Settings ->|:fvs : fvsME"	Load("*","_fvsMD;-;_fvsL;_fvsR;_fvsD");
"<- Folder View Settings|:fvs|1 : _fvsMD"	Load("*");
"&Left Click|:fvs : _fvsL"	Button("fvs", 1);
"&Right Click|:fvs : _fvsR"	Button("fvs", 2);

"Mini Tree ->|:minitree : minitreeME"	Load("*","_minitreeMD;-;_minitreeL;_minitreeR;_minitreeD");
"<- Mini Tree|:minitree|1 : _minitreeMD"	Load("*");
"&Left Click|:minitree : _minitreeL"	Button("minitree", 1);
"&Right Click|:minitree : _minitreeR"	Button("minitree", 2);

"List Management ->|:lstmgmt : lstmgmtME"	Load("*","_lstmgmtMD;-;_lstmgmtL;_lstmgmtR;_lstmgmtD");
"<- List Management|:lstmgmt|1 : _lstmgmtMD"	Load("*");
"&Left Click|:lstmgmt : _lstmgmtL"	Button("lstmgmt", 1);
"&Right Click|:lstmgmt : _lstmgmtR"	Button("lstmgmt", 2);

"New Folder ->|:newfolder : newfolderME"	Load("*","_newfolderMD;-;_newfolderL;_newfolderR;_newfolderD");
"<- New Folder|:newfolder|1 : _newfolderMD"	Load("*");
"&Left Click|:newfolder : _newfolderL"	Button("newfolder", 1);
"&Right Click|:newfolder : _newfolderR"	Button("newfolder", 2);

"Calculate Folder Sizes ->|:calcfosi : calcfosiME"	Load("*","_calcfosiMD;-;_calcfosiL;_calcfosiR;_calcfosiD");
"<- Calculate Folder Sizes|:calcfosi|1 : _calcfosiMD"	Load("*");
"&Left Click|:calcfosi : _calcfosiL"	Button("calcfosi", 1);
"&Right Click|:calcfosi : _calcfosiR"	Button("calcfosi", 2);

"Home ->|:home : homeME"	Load("*","_homeMD;-;_homeL;_homeR;_homeD");
"<- Home|:home|1 : _homeMD"	Load("*");
"&Left Click|:home : _homeL"	Button("home", 1);
"&Right Click|:home : _homeR"	Button("home", 2);

"New Tab ->|:newtab : newtabME"	Load("*","_newtabMD;-;_newtabL;_newtabR;_newtabD");
"<- New Tab|:newtab|1 : _newtabMD"	Load("*");
"&Left Click|:newtab : _newtabL"	Button("newtab", 1);
"&Right Click|:newtab : _newtabR"	Button("newtab", 2);

"Close Tab ->|:closetab : closetabME"	Load("*","_closetabMD;-;_closetabL;_closetabR;_closetabD");
"<- Close Tab|:closetab|1 : _closetabMD"	Load("*");
"&Left Click|:closetab : _closetabL"	Button("closetab", 1);
"&Right Click|:closetab : _closetabR"	Button("closetab", 2);

"Lock Tab ->|:locktab : locktabME"	Load("*","_locktabMD;-;_locktabL;_locktabR;_locktabD");
"<- Lock Tab|:locktab|1 : _locktabMD"	Load("*");
"&Left Click|:locktab : _locktabL"	Button("locktab", 1);
"&Right Click|:locktab : _locktabR"	Button("locktab", 2);

"Tab List ->|:tablist : tablistME"	Load("*","_tablistMD;-;_tablistL;_tablistR;_tablistD");
"<- Tab List|:tablist|1 : _tablistMD"	Load("*");
"&Left Click|:tablist : _tablistL"	Button("tablist", 1);
"&Right Click|:tablist : _tablistR"	Button("tablist", 2);

"Show Hidden Items ->|:showhidden : showhiddenME"	Load("*","_showhiddenMD;-;_showhiddenL;_showhiddenR;_showhiddenD");
"<- Show Hidden Items|:showhidden|1 : _showhiddenMD"	Load("*");
"&Left Click|:showhidden : _showhiddenL"	Button("showhidden", 1);
"&Right Click|:showhidden : _showhiddenR"	Button("showhidden", 2);

"Show System Items ->|:showsystem : showsystemME"	Load("*","_showsystemMD;-;_showsystemL;_showsystemR;_showsystemD");
"<- Show System Items|:showsystem|1 : _showsystemMD"	Load("*");
"&Left Click|:showsystem : _showsystemL"	Button("showsystem", 1);
"&Right Click|:showsystem : _showsystemR"	Button("showsystem", 2);

"Hide Folders in List ->|:showfolders : showfoldersME"	Load("*","_showfoldersMD;-;_showfoldersL;_showfoldersR;_showfoldersD");
"<- Hide Folders in List|:showfolders|1 : _showfoldersMD"	Load("*");
"&Left Click|:showfolders : _showfoldersL"	Button("showfolders", 1);
"&Right Click|:showfolders : _showfoldersR"	Button("showfolders", 2);

"Toggle Visual Filter ->|:visualfilter : visualfilterME"	Load("*","_visualfilterMD;-;_visualfilterL;_visualfilterR;_visualfilterD");
"<- Toggle Visual Filter|:visualfilter|1 : _visualfilterMD"	Load("*");
"&Left Click|:visualfilter : _visualfilterL"	Button("visualfilter", 1);
"&Right Click|:visualfilter : _visualfilterR"	Button("visualfilter", 2);

"Sticky Selection ->|:sticky : stickyME"	Load("*","_stickyMD;-;_stickyL;_stickyR;_stickyD");
"<- Sticky Selection|:sticky|1 : _stickyMD"	Load("*");
"&Left Click|:sticky : _stickyL"	Button("sticky", 1);
"&Right Click|:sticky : _stickyR"	Button("sticky", 2);

"Step Mode ->|:steps : stepsME"	Load("*","_stepsMD;-;_stepsL;_stepsR;_stepsD");
"<- Step Mode|:steps|1 : _stepsMD"	Load("*");
"&Left Click|:steps : _stepsL"	Button("steps", 1);
"&Right Click|:steps : _stepsR"	Button("steps", 2);

"Register Online ->|:money : moneyME"	Load("*","_moneyMD;-;_moneyL;_moneyR;_moneyD");
"<- Register Online|:money|1 : _moneyMD"	Load("*");
"&Left Click|:money : _moneyL"	Button("money", 1);
"&Right Click|:money : _moneyR"	Button("money", 2);

"Update Registration Details ->|:key : keyME"	Load("*","_keyMD;-;_keyL;_keyR;_keyD");
"<- Update Registration Details|:key|1 : _keyMD"	Load("*");
"&Left Click|:key : _keyL"	Button("key", 1);
"&Right Click|:key : _keyR"	Button("key", 2);

EDIT: And I did go through and remove the Down arrow items if they didn't exist, but I couldn't be bothered to check all of the right clicks.

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:First is a menu of all the buttons, except the CTBs, and then is a Left, Right, Down Arrow action menu. I have mine set up so that a left click displays a selection of more frequently used buttons, and then a right click shows all of the buttons except those I've hidden because they are on my toolbar.

You'll want to change the first two so that they correspond with whatever CTB you use.

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);
"-"
"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);
:shock: Say whaaaaaaaaat? Sorry, but I don't follow this at all :oops:
So can you please give a better description of how this works? Please?

Like some line by line comments? I don't even get what the numeric values on first 2 lines do...if we're going to ever put this in the wiki, we'd need some more comments for sure. And since all the rest follow the same pattern, exploding desc of one will suffice. TIA!

Addendum: Is there any way to create some sort of a sub-menu setup with this, so that I can organize mine a bit?
It's probably really obvious to y'all who use this stuff all the time, but I don't so....
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: 4373
Joined: 03 Aug 2007 22:30

Re: Unheralded feature?

Post by TheQwerty »

j_c_hallgren wrote::shock: Say whaaaaaaaaat? Sorry, but I don't follow this at all :oops:
So can you please give a better description of how this works? Please?

Like some line by line comments? I don't even get what the numeric values on first 2 lines do...if we're going to ever put this in the wiki, we'd need some more comments for sure. And since all the rest follow the same pattern, exploding desc of one will suffice. TIA!
Whine whine whine.... :P

Code: Select all

//For quicker access to the Edit... and Customize Toolbar... entries.
//As this menu can easily require scrolling, it is convenient to have these at the top so they are always visible.
"Edit Button : editButton"	UserButton(1, 128);  //128 is the action ID, leave it.  1 is the CTB# to edit, change accordingly.
"Customize Toolbar : custTB"	Button("ctb1", 256); //256 is the action ID, leave it.  "ctb1" is the CTB name to focus, change accordingly.
"-" //This is a separator, it separates things! :P

//This line is displayed when the script is called, it loads a menu consisting of the actions for this button.
//"_goD" should be removed but it currently doesn't hurt anything.
"Address Bar Go ->|:go : goME"	Load("*","_goMD;-;_goL;_goR;_goD");

//The following lines are hidden by default, and are made visible by the previous line.
"<- Address Bar Go|:go|1 : _goMD"	Load("*"); //Action Menu Header, just a reminder of the button and a way back to the default menu.
"&Left Click|:go : _goL"	Button("go", 1); //Call left click on this button.
"&Right Click|:go : _goR"	Button("go", 2); //Call right click on this button.
EDIT: I would actually suggest saving my script to a script file (i.e. Toolbar.xys). Then you can do something like:

Code: Select all

"Tab Buttons" Load("Toolbar.xys", "newtabME;closetabME;locktabME;tablistME;homeME");

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:Whine whine whine.... :P
I'm sometimes acting the part of a new user to XY (as I am that to some features I haven't used before) who would be totally lost with this stuff so trying to make it clear for any/all, ok? :wink:

Code: Select all

"Edit Button : editButton"	UserButton(1, 128);  //128 is the action ID, leave it.  1 is the CTB# to edit, change accordingly.
"Customize Toolbar : custTB"	Button("ctb1", 256); //256 is the action ID, leave it.  "ctb1" is the CTB name to focus, change accordingly.
See, what I didn't/don't get is:
1) Where did the 128 came from? As the last I recall seeing about this http://www.xyplorer.com/xyfc/viewtopic. ... start=1511, 128 isn't one of the values listed, so what action is that?
2) The syntax is not the same...Button("ctb1", 256) vs button "ctb1", 256 as it seems to show in the beta thread...so :?
3) Where did "userbutton" come from? I don't find any mentions of it in Beta thread... :?

I've got more questions about the rest...will ask shortly.

Edited: Updated URL to Beta with better link
Last edited by j_c_hallgren on 07 Oct 2009 18:40, edited 1 time in total.
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: 4373
Joined: 03 Aug 2007 22:30

Re: Unheralded feature?

Post by TheQwerty »

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 #.
j_c_hallgren wrote:1) Where did the 128 came from? As the last I recall seeing about this http://www.xyplorer.com/xyfc/viewtopic. ... 354#p37354, 128 isn't one of the values listed, so what action is that?
It's not listed there as they are indeed different commands (although I bet not that different in code). 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(). It as well as 0, 1, and 2, all work in UserButton() though.

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.

Post Reply