It is currently March 28th, 2024, 11:36 am

MouseOverAction doing 2 things?

Get help with creating, editing & fixing problems with skins
Post Reply
Madaadam
Posts: 2
Joined: June 23rd, 2017, 8:06 pm

MouseOverAction doing 2 things?

Post by Madaadam »

I have the honeycomb skin and a clock from the "simpleMedia" skin. I made it work so whenever i hover over a honeycomb skin
it activates a script, so that the background becomes the game's wallpaper. However the clock hides a chunck of the wallpaper, so i tried to also make the honeycomb deactivate the clock script, however, i couldnt figure it out.

Code: Select all

[12Orbits]
Meter=Image
ImageName=#@#Images\12Orbits.png
H=90
MouseOverAction=[!ActivateConfig "Honeycomb\12Orbits\Background" "background.ini"]||[!DeactiveConfig "Simple Media\DateTime" "DateTime-NM-Big.ini"]
MouseLeaveAction=[!DeactivateConfig "Honeycomb\12Orbits\Background" "background.ini"]||[!ActiveConfig "Simple Media\DateTime" "DateTime-NM-Big.ini"]
LeftMouseUpAction=["steam://rungameid/287980"]
[Rainmeter]

[Metadata]
Name=
Author=
Information=
License=
Version=
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: MouseOverAction doing 2 things?

Post by balala »

I'm not sure this will entirely fix the issue, but remove the || sign, between the two bangs of the MouseOverAction and MouseLeaveAction options:

Code: Select all

[12Orbits]
...
MouseOverAction=[!ActivateConfig "Honeycomb\12Orbits\Background" "background.ini"][!DeactiveConfig "Simple Media\DateTime" "DateTime-NM-Big.ini"]
MouseLeaveAction=[!DeactivateConfig "Honeycomb\12Orbits\Background" "background.ini"][!ActiveConfig "Simple Media\DateTime" "DateTime-NM-Big.ini"]
BTW, why have you posted this question into the Lua Scripting section?
Madaadam
Posts: 2
Joined: June 23rd, 2017, 8:06 pm

Re: MouseOverAction doing 2 things?

Post by Madaadam »

already tried it without the bang.
Did i post it in the wrong forum? im sorry, im new here.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: MouseOverAction doing 2 things?

Post by balala »

What you mean by
Madaadam wrote:without the bang.
?
Did it work?
Madaadam wrote:Did i post it in the wrong forum? im sorry, im new here.
Don't worry, as you can see, an administrator already moved your thread to the right place.
Post Reply