Breadcrumbs bar: Triangles > 'Drop Menu on Hover'
Posted: 03 Sep 2023 23:05
I am not sure if this is a 'Tips & Tricks' or a 'Wish', but will start here since it may very well be possible via scripting.
I currently have the Breadcrumbs bars set with Triangles to the left of each breadcrumb's name with [x] 'Drop Menu on Hover'. I love it and use it every day. I have not figured out a way to access that Drop Menu any other way through scripting. What I am trying to do is get that exact same Drop Menu whenever I hover over the Name of the breadcrumb, not just the little Triangle to the Name's left. And only because hitting the Name of the breadcrumb with the mouse is a much easier and intuitive target than the little Triangle.
I saw the posatpos() command where it mentions: Supported controls are - ...... Breadcrumb Bar (position of hovered path component). And that is absolutely true. If I run a posatpos() script command with the mouse pointer on the Breadcrumbs bar I can definitely get the index position of each path component accurately, with the 'Triangles' path components returning odd index numbers, and the 'Name' path components returning even index numbers.
How would I make use of that to get the Drop Menu when hovering over a Name? Basically it is "if the value of posatpos() is an even number from the Breadcrumbs Bar then just drop down the exact same Drop Menu as for the odd numbered path component with a value that is one less. Or..... value - 1
Is there a way to do this with a user script or is it something that would need to be hard-coded into the program and not part of the user scripting/tinkering? I don't even know how I would constantly monitor where the mouse is hovering-- I only get the posatpos() now because I manually run a script with the mouse pointer somewhere on the Breadcrumbs Bar.
Thank You!
I currently have the Breadcrumbs bars set with Triangles to the left of each breadcrumb's name with [x] 'Drop Menu on Hover'. I love it and use it every day. I have not figured out a way to access that Drop Menu any other way through scripting. What I am trying to do is get that exact same Drop Menu whenever I hover over the Name of the breadcrumb, not just the little Triangle to the Name's left. And only because hitting the Name of the breadcrumb with the mouse is a much easier and intuitive target than the little Triangle.
I saw the posatpos() command where it mentions: Supported controls are - ...... Breadcrumb Bar (position of hovered path component). And that is absolutely true. If I run a posatpos() script command with the mouse pointer on the Breadcrumbs bar I can definitely get the index position of each path component accurately, with the 'Triangles' path components returning odd index numbers, and the 'Name' path components returning even index numbers.
How would I make use of that to get the Drop Menu when hovering over a Name? Basically it is "if the value of posatpos() is an even number from the Breadcrumbs Bar then just drop down the exact same Drop Menu as for the odd numbered path component with a value that is one less. Or..... value - 1
Is there a way to do this with a user script or is it something that would need to be hard-coded into the program and not part of the user scripting/tinkering? I don't even know how I would constantly monitor where the mouse is hovering-- I only get the posatpos() now because I manually run a script with the mouse pointer somewhere on the Breadcrumbs Bar.
Thank You!