It is currently April 16th, 2024, 8:50 pm

Mouse Position Plugin: MouseXY

Share and get help with Plugins and Addons
Fawxy
Posts: 11
Joined: March 6th, 2016, 1:28 pm

Mouse Position Plugin: MouseXY

Post by Fawxy »

Hey! I'm releasing the plugin I used to create my firewatch parallax skin: http://imgur.com/a/ftpqD

It's super simple to use. example included but:

Code: Select all

[MeasureMouseX]
Measure=Plugin
Plugin=MouseXY
Dimension=X
MaxValue=#SCREENAREAWIDTH#

[MeasureMouseY]
Measure=Plugin
Plugin=MouseXY
Dimension=Y
MaxValue=#SCREENAREAHEIGHT#
Is all you need to get going!
Thanks to NighthawkSLO for his help!
MouseXY Plugin_1.0.0.rmskin
If you get Error 126 try installing the latest .NET 4 or Visual C++ (https://www.microsoft.com/en-us/download/details.aspx?id=48145)
You do not have the required permissions to view the files attached to this post.
Last edited by Fawxy on March 8th, 2016, 12:37 am, edited 2 times in total.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Mouse Position Plugin: MouseXY

Post by jsmorley »

Thanks Fawxy...

P.S. Others can rename that .rmskin to .zip and extract it to get the 32bit and 64bit versions of the plugin to use in your skins.

Or download this:
MouseXYPlugin.zip
You do not have the required permissions to view the files attached to this post.
Fawxy
Posts: 11
Joined: March 6th, 2016, 1:28 pm

Re: Mouse Position Plugin: MouseXY

Post by Fawxy »

Ooh yeah sorry forgot about that. I'm totally new to rainmeter - didn't think of it :P
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: Mouse Position Plugin: MouseXY

Post by Active Colors »

I get the error 126. Running latest rainmeter.
Capture.PNG
You do not have the required permissions to view the files attached to this post.
Fawxy
Posts: 11
Joined: March 6th, 2016, 1:28 pm

Re: Mouse Position Plugin: MouseXY

Post by Fawxy »

Active Colors wrote:I get the error 126. Running latest rainmeter.
Capture.PNG
This can happen if you don't have the latest visual c++ or .NET 4 installed. https://www.microsoft.com/en-us/download/details.aspx?id=48145
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: Mouse Position Plugin: MouseXY

Post by Active Colors »

Fawxy wrote:This can happen if you don't have the latest visual c++ or .NET 4 installed. https://www.microsoft.com/en-us/download/details.aspx?id=48145
That resolved my issue. Thanks.
Fawxy
Posts: 11
Joined: March 6th, 2016, 1:28 pm

Re: Mouse Position Plugin: MouseXY

Post by Fawxy »

Active Colors wrote:That resolved my issue. Thanks.
WOO! YEAH TROUBLESHOOTING :rofl:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Mouse Position Plugin: MouseXY

Post by eclectic-tech »

Thanks Fawxy! :great:

May as well share one of my old skins adapted to use your MouseXY plugin instead of an external executable...
follow.gif
BTW, your firewatch parallax skin is impressive! :thumbup:
You do not have the required permissions to view the files attached to this post.
Fawxy
Posts: 11
Joined: March 6th, 2016, 1:28 pm

Re: Mouse Position Plugin: MouseXY

Post by Fawxy »

eclectic-tech wrote:Thanks Fawxy! :great:

May as well share one of my old skins adapted to use your MouseXY plugin instead of an external executable...
follow.gif
BTW, your firewatch parallax skin is impressive! :thumbup:
Thanks man, appreciate it! I'm excited for the things i'm adding into it now more than the parallax though ;)
User avatar
StArL0rd84
Posts: 424
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: Mouse Position Plugin: MouseXY

Post by StArL0rd84 »

A couple of applications for your super awesome plugin. 8-)

;////////////////////////////////////////////////////////////////

Will move skin to the monitor your mouse cursor is on:
(Adjust X & Y)

Code: Select all

[mMouseX]
 Measure=Plugin
 Plugin=MouseXY
 Dimension=X
 IfBelowValue=1
 IfBelowAction=[!Move -690 175]
 IfAboveValue=1
 IfAboveAction=[!Move 10 10]
;////////////////////////////////////////////////////////////////

And a skin to adjust the volume with mouse movement:

http://www.deviantart.com/download/609391122/mousevolume_1_1_by_starl0rd84-da2td76.rmskin?token=ed2a8847031881332f6275630acc85b05492e812&ts=1472753958
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </>))