It is currently April 25th, 2024, 2:28 am

Changing text displayed via MouseOverAction

Get help with creating, editing & fixing problems with skins
OrionsHope
Posts: 53
Joined: August 27th, 2021, 8:14 am

Changing text displayed via MouseOverAction

Post by OrionsHope »

I'm modifying the launcher in the mass effect skin here; https://www.visualskins.com/skin/mass-effect. notice that on mouse over, the text disappears. after much trial and error (I'm new at this), i got the behavior demonstrated on the upper left button using the code below. there are actually three separate buttons on that tab (C_Drive) and as you run the mouse over each of them, notice how the text changes to reflect what the button is marked with as well as which part is highlighted. my question to you is, how do i replicate that behavior accurately on the other tabs? i've got the color changes functioning the way i want but i can't get the text to show up. is it a nesting issue, or maybe poor syntax? never mind the mess, like i said, I've tried a lot of stuff. once i know what to do, i can clean up the code after the fact. my suspicion is that what is going on has to do with his use of the NameButton#Over bang but i don't know where to go from here.

Code: Select all

[Rainmeter]
Author=Uruloki Burning; Edited by RickF7666
Update=100

[Metadata]
Name=Mass Effect Style Launcher
Description=Launcher simulating the menu from Mass Effect 2
Tags=Mass Effect | Launcher
Instructions=
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

@include="#SKINSPATH#\Mass Effect\Launcher\Applications.txt"

[Variables]
;  ColorActive
ColorA=255,156,91
;  ColorPassive
ColorP=49,153,198

FontFace=New Rocker


;////////////////////////////////////////
;  ROUNDLINES
;////////////////////////////////////////


[MeasureTime]
Measure=Time

[MeasureTime3]
Measure=Calc
Formula=MeasureTime2*2

[MeasureTime2]
Measure=Time
InvertMeasure=1

[MeasureCircle]
Measure=Calc
Formula=1

[MeterROUNDLINE1]
Meter=ROUNDLINE
MeasureName=MeasureCircle
X=248
Y=0
H=320
LineStart=155
LineLength=159
LineColor=#ColorP#,80
LineWidth=20
AntiAlias=1
AntiAlias=1
Solid=1

[MeterROUNDLINE2]
Meter=ROUNDLINE
MeasureName=MeasureCircle
X=r
Y=159r
LineStart=130
LineLength=152
LineColor=#ColorP#,128
LineWidth=20
AntiAlias=1
AntiAlias=1
Solid=1

[MeterROUNDLINE3]
Meter=ROUNDLINE
MeasureName=MeasureCircle
X=r
Y=r
LineStart=77
LineLength=90
LineColor=#ColorP#,100
LineWidth=20
AntiAlias=1
AntiAlias=1
Solid=1

[MeterROUNDLINE4]
Meter=ROUNDLINE
MeasureName=MeasureCircle
X=r
Y=r
LineStart=53
LineLength=67
LineColor=#ColorP#,80
LineWidth=20
AntiAlias=1
Solid=1

[MeterRotator1]
Meter=Rotator
MeasureName=MeasureTime2
X=r
Y=r
ImageName=rotor.png
AntiAlias=1
ValueRemainder=60

[MeterRotator2]
Meter=Rotator
MeasureName=MeasureTime
X=r
Y=r
ImageName=rotor2.png
AntiAlias=1
ValueRemainder=30

[MeterRotator3]
Meter=Rotator
MeasureName=MeasureTime
X=r
Y=r
ImageName=rotor3.png
AntiAlias=1
ValueRemainder=200

[MeterRotator4]
Meter=Rotator
MeasureName=MeasureTime3
X=r
Y=r
ImageName=rotor4.png
AntiAlias=1
ValueRemainder=50


;////////////////////////////////////////
;  BUTTONS
;////////////////////////////////////////

[MeasureButtonName]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName="#SKINSPATH#\Mass Effect\Launcher\Applications.txt"

;Left 1

[ButtonLeft1]
Meter=BUTTON
X=57
Y=76
ButtonImage=ButtonL1.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft1] [!ShowMeter ButtonLeft1b[!ShowMeter ButtonLeft1a]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft1][!ShowMeter NameButtonLeft1] [!HideMeter ImageLeft1a] [!ShowMeter ButtonLeft1a] [!HideMeter ImageLeft1b] [!ShowMeter ButtonLeft1b]
ButtonCommand=!Execute ["C:\"]

[ImageLeft1]
Meter=IMAGE
ImageName=ImageL1.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonLeft1a]
Meter=BUTTON
X=128r
Y=27r
ButtonImage=ButtonL1a.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft2Over][!HideMeter NameButtonLeft1] [!ShowMeter ImageLeft1] [!HideMeter ButtonLeft1] [!HideMeter ImageLeft1b] 
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft2Over][!ShowMeter NameButtonLeft1] [!HideMeter ImageLeft1] [!ShowMeter ButtonLeft1] [!HideMeter ImageLeft1b]
ButtonCommand=!Execute ["E:\"]

[ImageLeft1a]
Meter=IMAGE
ImageName=ImageL1a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonLeft1b]
Meter=BUTTON
X=37r
Y=23r
ButtonImage=ButtonL1b.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft3Over][!HideMeter NameButtonLeft1] [!ShowMeter ImageLeft1] [!HideMeter ButtonLeft1] [!ShowMeter ImageLeft1a] [!HideMeter ButtonLeft1a]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft3Over][!ShowMeter NameButtonLeft1] [!HideMeter ImageLeft1] [!ShowMeter ButtonLeft1] [!HideMeter ImageLeft1a] [!ShowMeter ButtonLeft1a]
ButtonCommand=!Execute ["C:\F Drive"]

[ImageLeft1b]
Meter=IMAGE
ImageName=ImageL1b.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonLeft1]
Meter=STRING
X=-13r
Y=-45r
Text=C_Drive
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Right

[NameButtonLeft1Over]
Meter=STRING
X=r
Y=r
Text=E_Drive
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft2Over]
Meter=STRING
X=r
Y=r
Text=E_Drive
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft3Over]
Meter=STRING
X=r
Y=r
Text=F_Drive
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1


[NameButtonLeft5Over]
Meter=STRING
X=r
Y=r
Text=5
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft6Over]
Meter=STRING
X=r
Y=r
Text=6
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft7Over]
Meter=STRING
X=r
Y=r
Text=7
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft8Over]
Meter=STRING
X=r
Y=r
Text=8
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft9Over]
Meter=STRING
X=r
Y=r
Text=9
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft10Over]
Meter=STRING
X=r
Y=r
Text=10
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft11Over]
Meter=STRING
X=r
Y=r
Text=11
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft12Over]
Meter=STRING
X=r
Y=r
Text=12
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft13Over]
Meter=STRING
X=r
Y=r
Text=13
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft14Over]
Meter=STRING
X=r
Y=r
Text=14
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft15Over]
Meter=STRING
X=r
Y=r
Text=15
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft16Over]
Meter=STRING
X=r
Y=r
Text=16
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1

[NameButtonLeft17Over]
Meter=STRING
X=r
Y=r
Text=17
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1



;Left 2

[ButtonLeft2]
Meter=BUTTON
X=1
Y=108
ButtonImage=ButtonL2.png
;MouseOverAction=!Execute  [!ShowMeter NameButtonLeft4Over]
;MouseLeaveAction=!Execute [!HideMeter NameButtonLeft4Over] 
ButtonCommand=!Execute ["C:\Users\David"]

[ImageLeft2]
Meter=IMAGE
ImageName=ImageL2.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonLeft4Over]
Meter=STRING
X=r
Y=r
Text=4
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1
ght
Hidden=1

[ButtonLeft2a]
Meter=BUTTON
X=181r
Y=19r
ButtonImage=ButtonL2a.png

[MeterReplaceText]
Meter=Text
Text=;kljk;
MouseOverAction=!Execute [!SetOption MeterText Text "Mouse OVER state"][!UpdateMeter MeterText][!Redraw]
MouseLeaveAction=!Execute [!SetOption MeterText Text "Mouse OFF state"][!UpdateMeter MeterText][!Redraw]
LeftMouseDownAction=[!SetOption MeterText Text "Mouse DOWN state"][!UpdateMeter MeterText][!Redraw]

[MeterText]
Meter=String
FontSize=12
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Y=10R
Text=Move mouse over button
MouseOverAction=!Execute [!ShowMeter NameButtonLeft4Over][!HideMeter NameButtonLeft2] [!ShowMeter ImageLeft2] [!HideMeter ButtonLeft2]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft4Over][!ShowMeter NameButtonLeft2] [!HideMeter ImageLeft2] [!ShowMeter ButtonLeft2]
ButtonCommand=!Execute ["#ButtonLeft2Path#"]

[ImageLeft2a]
Meter=IMAGE
ImageName=ImageL2a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonLeft2]
Meter=STRING
X=r
Y=-13r
Text=David/
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Right

[NameButtonLeft1Over]
Meter=STRING
X=r
Y=r
Text=Documents
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1


;Left 3

[ButtonLeft3]
Meter=BUTTON
X=0
Y=141
ButtonImage=ButtonL3.png
MouseOverAction=!Execute  [!HideMeter NameButtonLeft3a][!ShowMeter NameButtonLeft3]
MouseLeaveAction=!Execute [!ShowMeter NameButtonLeft3a] [!SHowMeter NameButtonLeft3]  [!ShowMeter ButtonLeft3]
ButtonCommand=!Execute ["#ButtonLeft3Path#"]

[ImageLeft3]
Meter=IMAGE
ImageName=ImageL3.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonLeft3a]
Meter=BUTTON
X=194r
Y=7r
ButtonImage=ButtonL3a.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft3Over][!HideMeter NameButtonLeft3] [!ShowMeter ImageLeft3] [!HideMeter ButtonLeft3]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft3Over][!ShowMeter NameButtonLeft3] [!HideMeter ImageLeft3] [!ShowMeter ButtonLeft3]
ButtonCommand=!Execute ["#ButtonLeft3Path#"]

[ImageLeft3a]
Meter=IMAGE
ImageName=ImageL3a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonLeft3]
Meter=STRING
X=-22r
Y=2r
Text=3
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Right

[NameButtonLeft3Over]
Meter=STRING
X=r
Y=r
Text=3Over
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1


;Left 4

[ButtonLeft4]
Meter=BUTTON
X=1
Y=183
ButtonImage=ButtonL4.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft5Over][!HideMeter NameButtonLeft4] [!ShowMeter ButtonLeft4a] ] [!ShowMeter ButtonLeft4b]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft5Over][!ShowMeter NameButtonLeft4] [!HideMeter ImageLeft4a] [!ShowMeter ButtonLeft4a] [!HideMeter ImageLeft4b] [!ShowMeter ButtonLeft4b]
ButtonCommand=!Execute ["#ButtonLeft4Path#"]

[ImageLeft4]
Meter=IMAGE
ImageName=ImageL4.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonLeft4a]
Meter=BUTTON
X=181r
Y=-11r
ButtonImage=ButtonL4a.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft4Over][!HideMeter NameButtonLeft4] [!ShowMeter ImageLeft4] [!HideMeter ButtonLeft4]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft4Over][!ShowMeter NameButtonLeft4] [!HideMeter ImageLeft4] [!ShowMeter ButtonLeft4]
ButtonCommand=!Execute ["#ButtonLeft4Path#"]

[ImageLeft4a]
Meter=IMAGE
ImageName=ImageL4a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonLeft4]
Meter=STRING
X=r
Y=15r
Text=4
FontFace=New Rocker
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Right

[NameButtonLeft4Over]
Meter=STRING
X=r
Y=r
Text=4Over
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1


;Left 5

[ButtonLeft5]
Meter=BUTTON
X=58
Y=217
ButtonImage=ButtonL5.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft5Over][!HideMeter NameButtonLeft5] [!ShowMeter ButtonLeft5a] ] [!ShowMeter ButtonLeft5b]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft5Over][!ShowMeter NameButtonLeft5] [!HideMeter ImageLeft5a] [!ShowMeter ButtonLeft5a] [!HideMeter ImageLeft5b] [!ShowMeter ButtonLeft5b]
ButtonCommand=!Execute ["#ButtonLeft5Path#"]

[ImageLeft5]
Meter=IMAGE
ImageName=ImageL5.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonLeft5a]
Meter=BUTTON
X=128r
Y=-23r
ButtonImage=ButtonL5a.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft5aOver][!HideMeter NameButtonLeft5] [!ShowMeter ImageLeft5] [!HideMeter ButtonLeft5] [!HideMeter ImageLeft5b] 
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft5aOver][!ShowMeter NameButtonLeft5] [!HideMeter ImageLeft5] [!ShowMeter ButtonLeft5] [!HideMeter ImageLeft5b]
ButtonCommand=!Execute ["#ButtonLeft5Path#"]

[ImageLeft5a]
Meter=IMAGE
ImageName=ImageL5a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonLeft5b]
Meter=BUTTON
X=37r
Y=-13r
ButtonImage=ButtonL5b.png
MouseOverAction=!Execute [!ShowMeter NameButtonLeft5b][!HideMeter NameButtonLeft5] [!ShowMeter ImageLeft5] [!HideMeter ButtonLeft5] [!ShowMeter ImageLeft5a] [!HideMeter ButtonLeft5a]
MouseLeaveAction=!Execute [!HideMeter NameButtonLeft5b][!ShowMeter NameButtonLeft5] [!HideMeter ImageLeft5] [!ShowMeter ButtonLeft5] [!HideMeter ImageLeft5a] [!ShowMeter ButtonLeft5a]
ButtonCommand=!Execute ["#ButtonLeft5Path#"]

[ImageLeft5b]
Meter=IMAGE
ImageName=ImageL5b.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonLeft5]
Meter=STRING
X=-13r
Y=40r
Text=5
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Right

[NameButtonLeft5Over]
Meter=STRING
X=r
Y=r
Text=5Over
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Right
Hidden=1


;Right 1

[ButtonRight1]
Meter=BUTTON
X=250
Y=76
ButtonImage=ButtonR1.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight1Over][!HideMeter NameButtonRight1] [!ShowMeter ButtonRight1a] ] [!ShowMeter ButtonRight1b]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight1Over][!ShowMeter NameButtonRight1] [!HideMeter ImageRight1a] [!ShowMeter ButtonRight1a] [!HideMeter ImageRight1b] [!ShowMeter ButtonRight1b]
ButtonCommand=!Execute ["#ButtonRight1Path#"]

[ImageRight1]
Meter=IMAGE
ImageName=ImageR1.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight1a]
Meter=BUTTON
X=r
Y=28r
ButtonImage=ButtonR1a.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight1aOver][!HideMeter NameButtonRight1] [!ShowMeter ImageRight1] [!HideMeter ButtonRight1] [!HideMeter ImageRight1b] 
MouseLeaveAction=!Execute [!HideMeter NameButtonRight1aOver][!ShowMeter NameButtonRight1] [!HideMeter ImageRight1] [!ShowMeter ButtonRight1] [!HideMeter ImageRight1b]

ButtonCommand=!Execute ["#ButtonRight1Path#"]

[ImageRight1a]
Meter=IMAGE
ImageName=ImageR1a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight1b]
Meter=BUTTON
X=r
Y=22r
ButtonImage=ButtonR1b.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight1b][!HideMeter NameButtonRight1] [!ShowMeter ImageRight1] [!HideMeter ButtonRight1] [!ShowMeter ImageRight1a] [!HideMeter ButtonRight1a]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight1b][!ShowMeter NameButtonRight1] [!HideMeter ImageRight1] [!ShowMeter ButtonRight1] [!HideMeter ImageRight1a] [!ShowMeter ButtonRight1a]
ButtonCommand=!Execute ["#ButtonRight1Path#"]

[ImageRight1b]
Meter=IMAGE
ImageName=ImageR1b.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonRight1]
Meter=STRING
X=42r
Y=-44r
Text=#ButtonRight1#
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Left

[NameButtonRight1Over]
Meter=STRING
X=r
Y=r
Text=#ButtonRight1#
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Left
Hidden=1


;Right 2

[ButtonRight2]
Meter=BUTTON
X=293
Y=108
ButtonImage=ButtonR2.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight2Over][!HideMeter NameButtonRight2] [!ShowMeter ButtonRight2a] ] [!ShowMeter ButtonRight2b]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight2Over][!ShowMeter NameButtonRight2] [!HideMeter ImageRight2a] [!ShowMeter ButtonRight2a] [!HideMeter ImageRight2b] [!ShowMeter ButtonRight2b]
ButtonCommand=!Execute ["#ButtonRight2Path#"]

[ImageRight2]
Meter=IMAGE
ImageName=ImageR2.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight2a]
Meter=BUTTON
X=-30r
Y=19r
ButtonImage=ButtonR2a.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight2Over][!HideMeter NameButtonRight2] [!ShowMeter ImageRight2] [!HideMeter ButtonRight2]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight2Over][!ShowMeter NameButtonRight2] [!HideMeter ImageRight2] [!ShowMeter ButtonRight2]
ButtonCommand=!Execute ["#ButtonRight2Path#"]

[ImageRight2a]
Meter=IMAGE
ImageName=ImageR2a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonRight2]
Meter=STRING
X=55r
Y=-12r
Text=#ButtonRight2#
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Left

[NameButtonRight2Over]
Meter=STRING
X=r
Y=r
Text=#ButtonRight2#
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Left
Hidden=1


;Right 3

[ButtonRight3]
Meter=BUTTON
X=305
Y=141
ButtonImage=ButtonR3.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight3Over][!HideMeter NameButtonRight3] [!ShowMeter ButtonRight3a] ] [!ShowMeter ButtonRight3b]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight3Over][!ShowMeter NameButtonRight3] [!HideMeter ImageRight3a] [!ShowMeter ButtonRight3a] [!HideMeter ImageRight3b] [!ShowMeter ButtonRight3b]
ButtonCommand=!Execute ["#ButtonRight3Path#"]

[ImageRight3]
Meter=IMAGE
ImageName=ImageR3.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight3a]
Meter=BUTTON
X=-34r
Y=7r
ButtonImage=ButtonR3a.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight3Over][!HideMeter NameButtonRight3] [!ShowMeter ImageRight3] [!HideMeter ButtonRight3]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight3Over][!ShowMeter NameButtonRight3] [!HideMeter ImageRight3] [!ShowMeter ButtonRight3]
ButtonCommand=!Execute ["#ButtonRight3Path#"]

[ImageRight3a]
Meter=IMAGE
ImageName=ImageR3a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonRight3]
Meter=STRING
X=55r
Y=2r
Text=#ButtonRight3#
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Left

[NameButtonRight3Over]
Meter=STRING
X=r
Y=r
Text=#ButtonRight3#
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Left
Hidden=1


;Right 4

[ButtonRight4]
Meter=BUTTON
X=293
Y=183
ButtonImage=ButtonR4.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight4Over][!HideMeter NameButtonRight4] [!ShowMeter ButtonRight4a] ] [!ShowMeter ButtonRight4b]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight4Over][!ShowMeter NameButtonRight4] [!HideMeter ImageRight4a] [!ShowMeter ButtonRight4a] [!HideMeter ImageRight4b] [!ShowMeter ButtonRight4b]
ButtonCommand=!Execute ["#ButtonRight4Path#"]

[ImageRight4]
Meter=IMAGE
ImageName=ImageR4.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight4a]
Meter=BUTTON
X=-30r
Y=-11r
ButtonImage=ButtonR4a.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight4Over][!HideMeter NameButtonRight4] [!ShowMeter ImageRight4] [!HideMeter ButtonRight4]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight4Over][!ShowMeter NameButtonRight4] [!HideMeter ImageRight4] [!ShowMeter ButtonRight4]
ButtonCommand=!Execute ["#ButtonRight4Path#"]

[ImageRight4a]
Meter=IMAGE
ImageName=ImageR4a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonRight4]
Meter=STRING
X=55r
Y=15r
Text=R4
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Left

[NameButtonRight4Over]
Meter=STRING
X=r
Y=r
Text=O4
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Left
Hidden=1


;Right 5

[ButtonRight5]
Meter=BUTTON
X=250
Y=216
ButtonImage=ButtonR5.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight5Over][!HideMeter NameButtonRight5] [!ShowMeter ButtonRight5a] ] [!ShowMeter ButtonRight5b]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight5Over][!ShowMeter NameButtonRight5] [!HideMeter ImageRight5a] [!ShowMeter ButtonRight5a] [!HideMeter ImageRight5b] [!ShowMeter ButtonRight5b]
ButtonCommand=!Execute ["#CURRENTPATH#Applications.txt"]

[ImageRight5]
Meter=IMAGE
ImageName=ImageR5.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight5a]
Meter=BUTTON
X=r
Y=-22r
ButtonImage=ButtonR5a.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight5aOver][!HideMeter NameButtonRight5] [!ShowMeter ImageRight5] [!HideMeter ButtonRight5] [!HideMeter ImageRight5b] 
MouseLeaveAction=!Execute [!HideMeter NameButtonRight5aOver][!ShowMeter NameButtonRight5] [!HideMeter ImageRight5] [!ShowMeter ButtonRight5] [!HideMeter ImageRight5b]
ButtonCommand=!Execute ["#CURRENTPATH#Applications.txt"]

[ImageRight5a]
Meter=IMAGE
ImageName=ImageR5a.png
X=r
Y=r
AntiAlias=1
Hidden=1

[ButtonRight5b]
Meter=BUTTON
X=r
Y=-13r
ButtonImage=ButtonR5b.png
MouseOverAction=!Execute [!ShowMeter NameButtonRight5b][!HideMeter NameButtonRight5] [!ShowMeter ImageRight5] [!HideMeter ButtonRight5] [!ShowMeter ImageRight5a] [!HideMeter ButtonRight5a]
MouseLeaveAction=!Execute [!HideMeter NameButtonRight5b][!ShowMeter NameButtonRight5] [!HideMeter ImageRight5] [!ShowMeter ButtonRight5] [!HideMeter ImageRight5a] [!ShowMeter ButtonRight5a]
ButtonCommand=!Execute ["#CURRENTPATH#Applications.txt"]

[ImageRight5b]
Meter=IMAGE
ImageName=ImageR5b.png
X=r
Y=r
AntiAlias=1
Hidden=1

[NameButtonRight5]
Meter=STRING
X=42r
Y=39r
Text=R5
FontFace=#FontFace#
FontSize=14
FontColor=#ColorP#
AntiAlias=1
StringAlign=Left

[NameButtonRight5Over]
Meter=STRING
X=r
Y=r
Text=5Over
FontFace=#FontFace#
FontSize=14
FontColor=#ColorA#
AntiAlias=1
StringAlign=Left
Hidden=1
Last edited by Active Colors on August 27th, 2021, 11:14 am, edited 4 times in total.
Reason: Use the code tag in the message field for the code parts. It is the [</>] looking button
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Changing text displayed via MouseOverAction

Post by sl23 »

I simply use two string meters and hide one while showing the other on mouse over.

Or, you can use !SetOption bang in a mouse over action to change the text.

TIP: when posting long sections of code, use the buttons above the text field for spoiler and code to hide the massively long post. :D
Last edited by sl23 on August 28th, 2021, 8:56 am, edited 1 time in total.
- MuLab -
OrionsHope
Posts: 53
Joined: August 27th, 2021, 8:14 am

Re: Changing text displayed via MouseOverAction

Post by OrionsHope »

Honestly I did think about that when I did it but I'm ignorant enough to not know what was important and I didn't want to forget something you'd need. I'll remember that in the future though, thank you. I don't suppose you'd be willing to show some sample code? Please?
OrionsHope
Posts: 53
Joined: August 27th, 2021, 8:14 am

Re: Changing text displayed via MouseOverAction

Post by OrionsHope »

Seriously though, there has to be a way to reset the focus on these things. I realize I left some pertinent information out so here you go. As it stands, if I enable a NameButton to show while mousing over one of the '"a" tabs on the side (not the corners...although I haven't actually tried that), IF the display shows at all (I suspect it's hidden by another object), it shows up near the top left tab name (C_Drive), not its own tab. FWIW, I didn't create all those NameButtons from scratch, I copied and pasted from the Left2Over NameButton. Is there some sort of metadata I accidentally copied that resets the focus? If so, how do I edit that? Let's be frank here, I am new to rainmeter and coding INI's but I speak pretty decent Geek so your answers may contain technical names, info, etc. and I'll get it...probably :Whistle What I don't understand, I'm not afraid to investigate, which is how I ended up here, actually. If knowing you don't have a complete noob speeds things up then there you go.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2605
Joined: March 23rd, 2015, 5:26 pm

Re: Changing text displayed via MouseOverAction

Post by SilverAzide »

It would be easier to help if you posted the entire skin. Without being able to reproduce the issue you are describing, there's not much anyone can do but make wild guesses. To create a skin package, open the Rainmeter Manage dialog, and click the "Create .rmskin package" button.
Gadgets Wiki GitHub More Gadgets...
OrionsHope
Posts: 53
Joined: August 27th, 2021, 8:14 am

Re: Changing text displayed via MouseOverAction

Post by OrionsHope »

Here you go. I do think I have a solution (using your advice above) and will post it when/if it works. In the meantime, please continue to share if you think of something else and thanks for all your help so far. BTW, how do I replicate putting pasted text into that cool little box the moderator put it in?
You do not have the required permissions to view the files attached to this post.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2605
Joined: March 23rd, 2015, 5:26 pm

Re: Changing text displayed via MouseOverAction

Post by SilverAzide »

OrionsHope wrote: August 29th, 2021, 12:24 am BTW, how do I replicate putting pasted text into that cool little box the moderator put it in?

Code: Select all

It's the Code "</>" button...
:)
Annotation 2021-08-28 204846.png
You do not have the required permissions to view the files attached to this post.
Gadgets Wiki GitHub More Gadgets...