It is currently April 20th, 2024, 3:23 pm

MouseLeaveAction trouble with transition between skins

Get help with creating, editing & fixing problems with skins
DaThomas
Posts: 11
Joined: May 11th, 2017, 9:24 am

MouseLeaveAction trouble with transition between skins

Post by DaThomas »

Hello,
I wanted to upgrade my app launcher with buttons for more launchers (pages) for more space for apps, but I can't get rid of this problem.
When I click on shape meter that switches to another launcher and deactivates the default one, between transitions of launchers this code seems to be causing the trouble.

Code: Select all

MouseLeaveAction=[!DeactivateConfig "DestinyLauncher\Launchers\LLauncher" "LLauncher1.ini"][!ActivateConfig "DestinyLauncher\LauncherActivators\LActivator" "LActivator.ini"]
LeftMouseUpAction=#Launcher2Path# deactivates 1st launcher, activates the 2nd one and then somehow it deactivates even the 2nd one. Seems like it's not detecting mouse on it or something also it runs the mouse leave actions multiple times.

I'm trying to make it work with MouseLeaveAction in, anyone has any ideas??

Only thing I could think of is to put all other launchers into one file and show/hide their meters. That would get rid of transition between activating and deactivating skins and problem with MouseLeaveAction. But it would be kinda chaotic and require a dynamic variable.

Here is a video of what is happening http://recordit.co/h6p2VynrVt
You can try it out as well.
This is code of default launcher, others are copies with MouseLeaveAction deactivating them

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
OnRefreshAction=[!ZPos "-2"][!Move "0" "0"][!Draggable 0]

[Variables]
FontFace=Futura LT
FontSize=20
FontColorPassive=20,20,20,170
FontColorActive=10,10,10,80
Launcher2Path=[!ActivateConfig "DestinyLauncher\Launchers\LLauncher" "LLauncher2.ini"]
Launcher3Path=[!ActivateConfig "DestinyLauncher\Launchers\LLauncher" "LLauncher3.ini"]
;All launcher files are in the same folder so I switch between them just by activating another one


;main body of launcher
[Background]
Meter=Shape
SolidColor=0,0,0,0
AntiAlias=1
Shape=Path MyPath | StrokeWidth 1 | Stroke Color 200,0,0,0 | Fill Color 20,20,20,5
MyPath=354,0 | CurveTo 150,530,163,218 | LineTo 110,530 | LineTo 110,570 | LineTo 150,570 | CurveTo 354,1080,175,882 | LineTo 716,1080 | CurveTo 716,0,252,855,252,225 | LineTo 353,0 | ClosePath 1

MouseLeaveAction=[!DeactivateConfig "DestinyLauncher\Launchers\LLauncher" "LLauncher1.ini"][!ActivateConfig "DestinyLauncher\LauncherActivators\LActivator" "LActivator.ini"]



[Launcher2Passive]
Meter=Shape
Shape=Rectangle 437.5,5,35,35,5,5 | Fill Color 20,20,20,5 | Stroke Color #FontColorPassive#
SolidColor=0,0,0,0
AntiAlias=1
MouseOverAction=[!ShowMeter Launcher2Active][!HideMeter Launcher2Passive][!Update]

[Launcher2Active]
Meter=Shape
Shape=Rectangle 437.5,5,35,35,5,5 | Fill Color #FontColorActive# | Stroke Color #FontColorActive#
SolidColor=0,0,0,0
AntiAlias=1
Hidden=1
MouseLeaveAction=[!ShowMeter Launcher2Passive][!HideMeter Launcher2Active][!Update]
LeftMouseUpAction=#Launcher2Path# 

[LauncherString2]
Meter=String
X=455
Y=7
W=35
H=30
SolidColor=0,0,0,0
Text=2
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=Center
AntiAlias=1

[Launcher3Passive]
Meter=Shape
Shape=Rectangle 482.5,5,35,35,5,5 | Fill Color 20,20,20,5 | Stroke Color #FontColorPassive#
SolidColor=0,0,0,0
AntiAlias=1
MouseOverAction=[!ShowMeter Launcher3Active][!HideMeter Launcher3Passive][!Update]

[Launcher3Active]
Meter=Shape
Shape=Rectangle 482.5,5,35,35,5,5 | Fill Color #FontColorActive# | Stroke Color #FontColorActive#
SolidColor=0,0,0,0
AntiAlias=1
Hidden=1
MouseLeaveAction=[!ShowMeter Launcher3Passive][!HideMeter Launcher3Active][!Update]
LeftMouseUpAction= #Launcher3Path#

[LauncherString3]
Meter=String
X=500
Y=7
W=35
H=30
SolidColor=0,0,0,0
Text=3
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=Center
AntiAlias=1

;+more strings and shapes for launchers, they look the same so I didn't include them, also strings for apps but those are working properly
You do not have the required permissions to view the files attached to this post.