[Solved] How can i create a submenu in user button?
-
stanmarsh
- Posts: 85
- Joined: 10 Mar 2009 07:43
[Solved] How can i create a submenu in user button?
hello xyplorer community!
i want to have a submenu (1-level) in the user button, similar to this app http://www.horstmuc.de/wpop.htm.
i'm using the user button as an app launcher, move all the apps links to an xys script following xman format, http://www.xyplorer.com/xyfc/viewtopic.php?f=11&t=7446
can this be made using script?
TIA
i want to have a submenu (1-level) in the user button, similar to this app http://www.horstmuc.de/wpop.htm.
i'm using the user button as an app launcher, move all the apps links to an xys script following xman format, http://www.xyplorer.com/xyfc/viewtopic.php?f=11&t=7446
can this be made using script?
TIA
Last edited by stanmarsh on 30 Apr 2013 15:47, edited 1 time in total.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: How can i create a submenu in user button?
Ofcourse, something like this:stanmarsh wrote:hello xyplorer community!
i want to have a submenu (1-level) in the user button, similar to this app http://www.horstmuc.de/wpop.htm.
i'm using the user button as an app launcher, move all the apps links to an xys script following xman format, http://www.xyplorer.com/xyfc/viewtopic.php?f=11&t=7446
can this be made using script?
TIA
Code: Select all
"Item1"
msg "Hi";
"Item2"
text "Hi"
"Item3"
echo "<curpath>";
-
stanmarsh
- Posts: 85
- Joined: 10 Mar 2009 07:43
Re: How can i create a submenu in user button?
thanks serendipity for the help,
i'm not getting a submenu with the example though,
i like to have something like the one with arrows
only when i hover over the menu, the items inside the menu will be shown
TIA
i'm not getting a submenu with the example though,
i like to have something like the one with arrows

only when i hover over the menu, the items inside the menu will be shown
TIA
-
admin
- Site Admin
- Posts: 66293
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: How can i create a submenu in user button?
Autohotkey community tried to mimic exactly the same Popsel here
http://www.autohotkey.com/board/topic/5 ... by-popsel/
And I also improved the above script further here:
http://www.autohotkey.com/board/topic/8 ... ntry544910
So, things look like this:
http://www.autohotkey.com/board/topic/5 ... by-popsel/
And I also improved the above script further here:
http://www.autohotkey.com/board/topic/8 ... ntry544910
So, things look like this:
To see the attached files, you need to log into the forum.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
stanmarsh
- Posts: 85
- Joined: 10 Mar 2009 07:43
Re: How can i create a submenu in user button?
@admin
thanks Donald for the help!
@binocular222
awesome work binocular222! will check out autohotkey!
Thanks xyplorer community!
thanks Donald for the help!
@binocular222
awesome work binocular222! will check out autohotkey!
Thanks xyplorer community!
-
FluxTorpedoe
- Posts: 906
- Joined: 05 Oct 2011 13:15
Re: [Solved] How can i create a submenu in user button?
About the dropdown "on mouseover": this feature may not seem like much, but I think the practical gain would be much greater than can be foreseen... It would "open up" the power of scripted menus!
So it should probably deserve a place (even farrrrrraway) on the roadmap.
Well, it's been a year that I've been dreaming of a fluid StartMenu button right in XY (pointing to portable apps).
(I've even already written the pointer in my PowerLauncher script
)
So it should probably deserve a place (even farrrrrraway) on the roadmap.
Well, it's been a year that I've been dreaming of a fluid StartMenu button right in XY (pointing to portable apps).
(I've even already written the pointer in my PowerLauncher script
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: [Solved] How can i create a submenu in user button?
Completely agree, would love to have this if its technically possible.FluxTorpedoe wrote:It would "open up" the power of scripted menus!
+1 for multi-level menus.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: How can i create a submenu in user button?
I know this is not what you want, but how exactly did you try to run that script?stanmarsh wrote:thanks serendipity for the help,
i'm not getting a submenu with the example though
I tested that script before posting here.
-
admin
- Site Admin
- Posts: 66293
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: [Solved] How can i create a submenu in user button?
Technically possible ... that is the question; I doubt it. I know droppable menus only from Firefox (and they are owner-drawn AFAIK), I don't think the Windows menu supports it, or does it?serendipity wrote:Completely agree, would love to have this if its technically possible.FluxTorpedoe wrote:It would "open up" the power of scripted menus!
+1 for multi-level menus.
FAQ | XY News RSS | XY X
-
Filehero
- Posts: 2731
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: [Solved] How can i create a submenu in user button?
You mean this kind of menus XY itself provides? Confused.admin wrote:I know droppable menus only from Firefox (and they are owner-drawn AFAIK), I don't think the Windows menu supports it, or does it?
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: [Solved] How can i create a submenu in user button?
Exactly my point, XY already has these menus, I thought you made them yourself? Maybe I am wrong.Filehero wrote:You mean this kind of menus XY itself provides? Confused.admin wrote:I know droppable menus only from Firefox (and they are owner-drawn AFAIK), I don't think the Windows menu supports it, or does it?
-
admin
- Site Admin
- Posts: 66293
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: [Solved] How can i create a submenu in user button?
Dropping ON menus is something I have only seen in Firefox. The menus you see in XY are created using Windows API and I don't think they will support dropping. AFAIK they won't even open as long as a mouse button is down.
FAQ | XY News RSS | XY X
-
FluxTorpedoe
- Posts: 906
- Joined: 05 Oct 2011 13:15
Re: [Solved] How can i create a submenu in user button?
I don't know about other's need, but I wasn't talking about dropping items on a menu, but about submenus dropping (i.e. displayed) when the mouse goes over a line with the black triangle > .
Like e.g. the standard Menu: View > Views > Details
Right now in scripting, the actions (popupmenu or loading other scripted menus) are only activated "onclick" and not "onmouseover".
So we have something like:
"Reports >"
load "Menu_Report.xys";
Thinking aloud:
Prefixing an entry with the ">" sign could tell XY to run it onmouseover (of course that could mean trouble with bad/tricky code, but that's always the case).
>"Reports "
load "Menu_Report.xys";
Like e.g. the standard Menu: View > Views > Details
Right now in scripting, the actions (popupmenu or loading other scripted menus) are only activated "onclick" and not "onmouseover".
So we have something like:
"Reports >"
load "Menu_Report.xys";
Thinking aloud:
Prefixing an entry with the ">" sign could tell XY to run it onmouseover (of course that could mean trouble with bad/tricky code, but that's always the case).
>"Reports "
load "Menu_Report.xys";
• Scripts: Session Manager
| SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: [Solved] How can i create a submenu in user button?
I don't think I will drop anything on a menu (as I already had droppable user button).
Perhaps, I may need a .xys script which can create a multi-level menu (see my previous post with screen shot - I guess that it's easy to implement)
Perhaps, I may need a .xys script which can create a multi-level menu (see my previous post with screen shot - I guess that it's easy to implement)
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
XYplorer Beta Club