Page 1 of 2

Script name ?

Posted: 13 Jan 2014 05:10
by CookieMonster
Could someone one tell me the name of this script that is seen in the image ?

Re: Script name ?

Posted: 13 Jan 2014 13:31
by TheQwerty

Re: Script name ?

Posted: 13 Jan 2014 14:32
by CookieMonster
I searched for that, nothing came up in the results. :oops:

Re: Script name ?

Posted: 13 Jan 2014 16:08
by totmad1
this topic is what you are actually after . The script was called originally "all buttons" with topic title "unheralded feature?".
http://www.xyplorer.com/xyfc/viewtopic. ... 4&start=30
I have enhanced the script by adding to it and now is only missing one button.

Re: Script name ?

Posted: 13 Jan 2014 18:55
by TheQwerty
The forum doesn't search inside code or quote blocks so it is sometimes better to use Google and restrict results to XYplorer.com:
"Toolbar Button Operations" site:xyplorer.com

Re: Script name ?

Posted: 13 Jan 2014 20:02
by j_c_hallgren
totmad1 wrote:this topic is what you are actually after . The script was called originally "all buttons" with topic title "unheralded feature?".
http://www.xyplorer.com/xyfc/viewtopic. ... 4&start=30
I have enhanced the script by adding to it and now is only missing one button.
So is that similar/equivalent to the button list via this post?
(http://www.xyplorer.com/xyfc/viewtopic. ... 663#p83663) which I just found via some links discussed here...I had something like this on my other system, I think.

Re: Script name ?

Posted: 13 Jan 2014 20:26
by totmad1
it is loosely similar but the topic shows how to get all buttons onto one user button
i have in fact made it easy for XY users by doing the work for them and making it
an example of submenus.

Re: Script name ?

Posted: 20 Jan 2014 11:37
by CookieMonster
CookieMonster wrote:Could someone one tell me the name of this script that is seen in the image ?
How do I add items to "Group A" as seen in the screen capture ? I was hoping I could get the button name and add the button name below the name "Group A" within the script, I was wrong.

Re: Script name ?

Posted: 20 Jan 2014 14:01
by totmad1
Have a look at the sample below
I have added "instant color filters" and "Preview" into Group A

Code: Select all

"Edit Button : editButton"   UserButton(9, 128);
"Customize Toolbar : custTB"   Button("ctb1", 256);

"Edit script : edit"
    $ScriptFile= self ("file");
	    run notepad $ScriptFile,w;
-
"<- 0MenuTemp|:0MenuTemp|1 : "   Load("MenuProducer\0MenuTemp.xys");
-
"Other button pages ->|:Other : OtherME"   Load("*","_OtherMD;-;_OtherA;_OtherB;_OtherC;_OtherD");
"<- Main buttons page|<xydata>\Icons\button.ico |1 : _OtherMD"   Load("Buttons");
"&Buttons2|<xydata>\Icons\button2.ico : _OtherA"   load "Buttons2";
"&Buttons3|<xydata>\Icons\button3.ico : _OtherB"   load "Buttons3";
"&Buttons4|<xydata>\Icons\button4.ico : _OtherC"   load "Buttons4";
"&Buttons5|<xydata>\Icons\button5.ico : _OtherD"   load "Buttons5";
-
"Group A|<xyicons>a\???.ico : GrpaME"   Load("*","_GrpaMD;-;_GrpaA;_GrpaB;_GrpaC;_GrpaD;_GrpaE;_GrpaF;_GrpaG;_GrpaH");
"<- Main buttons page|<xydata>\Icons\button.ico |1 : _GrpaMD"   Load("Buttons");
"Toggle Instant Color Filter|:icf : _GrpaA"
"&Left Click|:icf : _GrpaB"   Button("icf", 1);
"&Right Click|:icf : _GrpaC"   Button("icf", 2);
"&Down Arrow|:icf : _GrpaD"   Button("icf", 8);

"Preview ->|:preview : _GrpaE"
"&Left Click|:preview : _GrpaF"   Button("preview", 1);
"&Right Click|:preview : _GrpaG"   Button("preview", 2);

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


-

-
"CANCEL"
hth

Re: Script name ?

Posted: 20 Jan 2014 18:16
by CookieMonster

Code: Select all

"Preview ->|:preview : _GrpaE"
"&Left Click|:preview : _GrpaF"   Button("preview", 1);
"&Right Click|:preview : _GrpaG"   Button("preview", 2);
Where are you getting this code ?
It would be nice if the menu could have an ">" pointing to more menu items ?

Re: Script name ?

Posted: 20 Jan 2014 20:54
by totmad1
1. see my first post pointing to http://www.xyplorer.com/xyfc/viewtopic. ... 4&start=30
for where i'm getting the code from

2. where my line
"Group A|<xyicons>a\???.ico : GrpaME" Load("*","_GrpaMD;-;_GrpaA;_GrpaB;_GrpaC;_GrpaD;_GrpaE;_GrpaF;_GrpaG;_GrpaH");
replace with "Group A __--->|<xyicons>a\???.ico : GrpaME" Load("*","_GrpaMD;-;_GrpaA;_GrpaB;_GrpaC;_GrpaD;_GrpaE;_GrpaF;_GrpaG;_GrpaH");
this is what i normally put in to signify 'submenu' . If you see my "project menu i use a slightly different sequence of symbols .

Re: Script name ?

Posted: 21 Jan 2014 01:48
by CookieMonster
1. see my first post pointing to viewtopic.php?f=3&t=4144&start=30
for where i'm getting the code from
I'm restricted to only the code used in your post ?
There are two screen captures. After inserting 'Full Screen Preview ->' and 'color filters' code into my menu, I was hoping another fly-out sub-menu would appear, instead what appears to be some random location on the screen the color filters with 'left click' & 'right click' menu appears. Can it be organized whereas a sub-menu appears directly to the right beside the new menu ?

Re: Script name ?

Posted: 21 Jan 2014 02:09
by TheQwerty
no

Re: Script name ?

Posted: 21 Jan 2014 03:26
by CookieMonster
TheQwerty wrote:no
No ?

Re: Script name ?

Posted: 21 Jan 2014 03:30
by TheQwerty
CookieMonster wrote:Can it be organized whereas a sub-menu appears directly to the right beside the new menu ?
no