It is currently August 17th, 2019, 11:48 am

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

Fawxy » March 6th, 2016, 5:44 pm

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: 19368
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Mouse Position Plugin: MouseXY

jsmorley » March 6th, 2016, 9:37 pm

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

Fawxy » March 6th, 2016, 10:28 pm

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

Re: Mouse Position Plugin: MouseXY

Active Colors » March 6th, 2016, 11:04 pm

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

Fawxy » March 6th, 2016, 11:59 pm

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: 523
Joined: February 16th, 2012, 3:32 am

Re: Mouse Position Plugin: MouseXY

Active Colors » March 7th, 2016, 12:07 am

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

Fawxy » March 7th, 2016, 12:09 am

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

Re: Mouse Position Plugin: MouseXY

eclectic-tech » March 10th, 2016, 4:37 am

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

Fawxy » March 10th, 2016, 8:49 pm

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: 336
Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.

Re: Mouse Position Plugin: MouseXY

StArL0rd84 » September 1st, 2016, 5:51 pm

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
(#WorkTime# = 1 ? #Work# : ([mEnergyLoss:%] > 100 ? #SleepMode# : #Rainmeter#))