It is currently May 3rd, 2024, 3:29 pm

Popup menues for Rainmeter

Share and get help with Plugins and Addons
amc242
Posts: 25
Joined: July 12th, 2012, 2:02 pm

Re: Popup menues for Rainmeter

Post by amc242 »

Thank you, eclectic-tech!
It worked for me too. Although I need to refresh skin every time when I move it across the screen, otherwise menu apperar at the "old" position, but it is better than manual set of coordinates.
User avatar
Brian
Developer
Posts: 2689
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Popup menues for Rainmeter

Post by Brian »

You shouldn't have to refresh the skin if your are using "DynamicVariables=1" on those measures.

-Brian
amc242
Posts: 25
Joined: July 12th, 2012, 2:02 pm

Re: Popup menues for Rainmeter

Post by amc242 »

Brian wrote:You shouldn't have to refresh the skin if your are using "DynamicVariables=1"
I know that, but without refreshing menu appear at the previous skin position, not at the current position.
User avatar
Brian
Developer
Posts: 2689
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Popup menues for Rainmeter

Post by Brian »

amc242 wrote: I know that, but without refreshing menu appear at the previous skin position, not at the current position.
Adding "DynamicVariables=1" to the measures works for me, so I am not sure what is happening with your skin.

Here is the test skin I made:

Code: Select all

[MenuPosX]
Measure=Calc
Formula=(#CURRENTCONFIGX#+#CURRENTCONFIGWIDTH#)
DynamicVariables=1

[MenuPosY]
Measure=Calc
Formula=#CURRENTCONFIGY#
DynamicVariables=1

[Testing]
Meter=String
FontColor=255,255,255
SolidColor=0,0,0
Text=Testing
LeftMouseUpAction=["#@#PopSel.exe" /N /P[MenuPosX],[MenuPosY] "#@#PopSel.lst"]
The popup menu opens just to the right of my skin every time I click "Testing", no matter where I move the skin to on the screen (no refreshing needed).

-Brian
amc242
Posts: 25
Joined: July 12th, 2012, 2:02 pm

Re: Popup menues for Rainmeter

Post by amc242 »

Thank you, Brian.
Last time I forgot to add "DynamicVariables=1" for measures, it's my fault.

So, at least we have a good discussion in this thread, which can help other people to do correct menu with PopSel plugin :)
User avatar
Brian
Developer
Posts: 2689
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Popup menues for Rainmeter

Post by Brian »

Glad it is working for you!

-Brian
bek88
Posts: 38
Joined: August 26th, 2009, 8:41 am

Re: Popup menues for Rainmeter

Post by bek88 »

to amc242

sorry I had no time in the last days to look into the forum.
I forgot to mention that you also have to put "DynamicVariables=1" into the measure.
But I see the other forum members provide you with a solution for your problem :)
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Popup menues for Rainmeter

Post by eclectic-tech »

@bek88

Thanks for bringing this add-on to our attention; between the new context menus in rainmeter and this, it's got me thinking of lots of different ways to add functionality to skins!

Thanks! :rosegift:
bek88
Posts: 38
Joined: August 26th, 2009, 8:41 am

Re: Popup menues for Rainmeter

Post by bek88 »

New beta version: PopSel 2.50-b (07 Nov 2012)

http://www.horstmuc.de/wbeta.htm