It is currently April 27th, 2024, 10:58 pm

Dual Monitor Skin Issue

Get help with creating, editing & fixing problems with skins
Seros
Posts: 4
Joined: June 14th, 2011, 2:09 am

Dual Monitor Skin Issue

Post by Seros »

Hi, I'm having a bit of an issue with this skin its just a line that runs from the top of the screen to the bottom but i cant get it on my other monitor. If someone knows how to fix it that would be great and if not thanks for trying.

Code: Select all

[Rainmeter]
Author=Kenz0 (mail2kenz0@gmail.com)
BackgroundMode=0
Update=12

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[MeasureMove]
Measure=Calc
Formula=Counter % #SCREENAREAHEIGHT#

[MeasurePositionX]
Measure=Calc
Formula=(#SCREENAREAWIDTH# / 2) - 50

[MeasureTrigger]
Measure=Calc
Formula=Counter % 2
IfEqualValue=1
IfEqualAction=!RainmeterMove [MeasurePositionX] [MeasureMove]

[MeterBackground]
Meter=IMAGE
X=0
Y=1
W=1024
H=1
SolidColor=0, 0, 0,1
SolidColor2=255, 255, 255,200
GradientAngle=45.0

User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Dual Monitor Skin Issue

Post by jsmorley »

I think the issue is that the bang !RainmeterMove does not recognize any @x suffix to indicate which monitor it is on. So you would need to change the formulas to treat monitor 1 and monitor 2 as one big monitor, so you would end up with a large variable for the width of the screen, by adding #SCREENAREAWIDTH# AND #SCREENAREAWIDTH@2# together.
Seros
Posts: 4
Joined: June 14th, 2011, 2:09 am

Re: Dual Monitor Skin Issue

Post by Seros »

Still nothing, Tried to read some more about it and tested but no luck. Any ideas, remember no idea is a bad idea.... most of the time.


Update: Trying something new still no luck but i feel closer to a solution.

[background] - Just to move the window.
[meterline] - Changed from background to meter to be able to drag window to second monitor.
changed !rainmetermove to !rainmetermovemeter.

Code: Select all

Author=Kenz0 (mail2kenz0@gmail.com)
BackgroundMode=0
Update=12

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[MeasureMove]
Measure=Calc
Formula=Counter % #SCREENAREAHEIGHT#

[MeasurePositionX]
Measure=Calc
Formula=(#SCREENAREAWIDTH# / 2) - 50

[MeasureTrigger]
Measure=Calc
Formula=Counter % 2
IfEqualValue=1
IfEqualAction=!RainmeterMoveMeter [MeasurePositionX] [MeasureMove] [MeterLine]

[MeterLine]
Meter=IMAGE
X=0
Y=1
W=1024
H=1
SolidColor=0, 0, 0,1
SolidColor2=255, 255, 255,200
GradientAngle=45.0

[Background]
Meter=IMAGE
X=0
Y=1
W=5
H=5
SolidColor=0, 0, 0,1
SolidColor2=255, 255, 255,200
GradientAngle=45.0

User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dual Monitor Skin Issue

Post by Seahorse »

Lose #SCREENAREAHEIGHT# and have two variables for screen heights that users enter...?
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Seros
Posts: 4
Joined: June 14th, 2011, 2:09 am

Re: Dual Monitor Skin Issue

Post by Seros »

Like this Formula=Counter % [w=1024] [h=768] ?

Sorry only had rainmeter for less then 48 hours.