Hope everyone is well. I found this piece of code that seems to be an example of how the xy plugin works. It would be reallly handy for me to use but I can't see how to reset the x,y values to 0 when you want to start measuring. At the moment it only displays 0,0 when in the top left corner. Heres thencode for it, its not too long......
Code: Select all
[Rainmeter]
Update=50
DynamicWindowSize=1
AccurateText=1
[Metadata]
Name=MouseXY
Information=
[MeasureMouseX]
Measure=Plugin
Plugin=MouseXY
Dimension=X
MaxValue=#SCREENAREAWIDTH#
[MeasureMouseY]
Measure=Plugin
Plugin=MouseXY
Dimension=Y
MaxValue=#SCREENAREAHEIGHT#
[MeterMousePosition]
Meter=String
FontSize=11
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=X: [MeasureMouseX:] | Y: [MeasureMouseY:]
X=((#SCREENAREAWIDTH# / 2) - ([MeterMousePosition:W] / 2))
Y=((#SCREENAREAHEIGHT# / 2) - ([MeterMousePosition:H] / 2))
DynamicVariables=1
Has anyone any ideas how i could reset the x'y values back to 0 no matter where the cursor is on then screen.. Thanks in anticipation....