|
| 1 | +[Rainmeter] |
| 2 | +Rightmouseupaction=[] |
| 3 | +OnRefreshAction=[!ZPos 1][!Move (#SCREENAREAWIDTH#/2-#Sec.W#/2) (#SCREENAREAHEIGHT#/2-#Sec.H#/2)][!SetOption Dep3 MeterStyle "Dep.Shape:S | Dep.ShapeYes:S"][!UpdateMEter *][!Redraw] |
| 4 | + |
| 5 | +; ---------------------------------------------------------------------------- ; |
| 6 | +; Export vars ; |
| 7 | +; ---------------------------------------------------------------------------- ; |
| 8 | + |
| 9 | +[ExportVariables] |
| 10 | +Measure=Calc |
| 11 | +OnUpdateAction=[!WriteKeyValue Variables RMPATH "#PROGRAMPATH#Rainmeter.exe" "#@#Actions\Hotkeys.ini"][!Delay 100][!EnableMeasureGroup NUOL] |
| 12 | + |
| 13 | +[CheckModular] |
| 14 | +Measure=String |
| 15 | +String=#ROOTCONFIG# |
| 16 | +IFmatch=ModularClocks|ModularPlayers |
| 17 | +IfNotMatchAction=[!HideMeter Dep2][!HideMeter Deptext2][!Redraw] |
| 18 | + |
| 19 | +[Variables] |
| 20 | +@includeVersion=#@#Version.inc |
| 21 | +@includeJaxCoreChecker=#SKINSPATH#\#JaxCore\@Resources\Version.inc |
| 22 | +Sec.W=800 |
| 23 | +Sec.H=500 |
| 24 | +Sec.P=40 |
| 25 | +Sec.L=350 |
| 26 | +Sec.R=10 |
| 27 | + |
| 28 | +Pri_Color=12,12,12 |
| 29 | +Sec_Color=28,28,28 |
| 30 | +Ter_Color=35,35,35 |
| 31 | +Accent_Color=255, 117, 81 |
| 32 | +Text_Color=242,240,255 |
| 33 | +SubText_Color=120,120,120 |
| 34 | + |
| 35 | +[String:S] |
| 36 | +FontColor=#Text_Color# |
| 37 | +Fontface=Roboto Light |
| 38 | +AntiAlias=1 |
| 39 | +X=r |
| 40 | +Y=10R |
| 41 | +FontSize=10 |
| 42 | + |
| 43 | +[Dep.Shape:S] |
| 44 | +X=-20r |
| 45 | +Y=35r |
| 46 | +Shape=Rectangle 0,0,(#SEc.W#-#Sec.L#-#Sec.P#*2),50,2.5 | StrokeWidth 0 | Extend This |
| 47 | +Shape2=Rectangle 0,0,5,50,2.5 | StrokeWidth 0 | Fill Color #SubText_Color# |
| 48 | +This=fill Color 0,0,0,1 |
| 49 | +MouseOverAction=[!SetOption #CURRENTSECTION# This "Fill Color #Ter_Color#"][!UpdateMeter #CURRENTSECTION#][!Redraw] |
| 50 | +MouseLeaveAction=[!SetOption #CURRENTSECTION# This "Fill Color 0,0,0,1"][!UpdateMeter #CURRENTSECTION#][!Redraw] |
| 51 | +[Dep.ShapeYes:S] |
| 52 | +Shape2=Rectangle 0,0,5,50,2.5 | StrokeWidth 0 | Fill Color 0,255,50,100 |
| 53 | +This=Fill Color 0,255,50,50 |
| 54 | +MouseOverAction=[!SetOption #CURRENTSECTION# This "Fill Color 0,255,50,100"][!UpdateMeter #CURRENTSECTION#][!Redraw] |
| 55 | +MouseLeaveAction=[!SetOption #CURRENTSECTION# This "Fill Color 0,255,50,50"][!UpdateMeter #CURRENTSECTION#][!Redraw] |
| 56 | +[Dep.ShapeNo:S] |
| 57 | +Shape2=Rectangle 0,0,5,50,2.5 | StrokeWidth 0 | Fill Color 255,0,0,100 |
| 58 | +This=Fill Color 255,0,0,50 |
| 59 | +MouseOverAction=[!SetOption #CURRENTSECTION# This "Fill Color 255,0,0,100"][!UpdateMeter #CURRENTSECTION#][!Redraw] |
| 60 | +MouseLeaveAction=[!SetOption #CURRENTSECTION# This "Fill Color 255,0,0,50"][!UpdateMeter #CURRENTSECTION#][!Redraw] |
| 61 | +[Dep.Text:S] |
| 62 | +X=20r |
| 63 | +Y=25r |
| 64 | +W=(#SEc.W#-#Sec.L#-#Sec.P#*2-50) |
| 65 | +clipString=2 |
| 66 | +StringAlign=LeftCenter |
| 67 | +FontColor=#Text_Color# |
| 68 | +Fontface=Roboto |
| 69 | +AntiAlias=1 |
| 70 | +FontSize=12 |
| 71 | +InlinePattern=//.* |
| 72 | +InlineSetting=Color | #SubText_Color# |
| 73 | +InlinePattern2=//.* |
| 74 | +InlineSetting2=Size | 10 |
| 75 | + |
| 76 | +; ---------------------------------------------------------------------------- ; |
| 77 | +; Content ; |
| 78 | +; ---------------------------------------------------------------------------- ; |
| 79 | + |
| 80 | +; ------------------------------------ Gen ----------------------------------- ; |
| 81 | + |
| 82 | +[B] |
| 83 | +Meter=Shape |
| 84 | +Shape=Rectangle 0,0,#Sec.W#,#Sec.H#,#sec.R# | strokeWidth 0 | Fill Color #Pri_Color# |
| 85 | +[BC] |
| 86 | +Meter=Shape |
| 87 | +X=(#Sec.W#-#SEc.L#) |
| 88 | +Shape=Rectangle 0,0,(#Sec.L#),#Sec.H#,#sec.R# | strokeWidth 0 | Fill LinearGradient This |
| 89 | +This=0 | 0,0,0,150 ; 0.0 | 0,0,0,0 ; 1.0 |
| 90 | + |
| 91 | +[Logo] |
| 92 | +Meter=Image |
| 93 | +ImageName=Logo.png |
| 94 | +X=#Sec.P# |
| 95 | +Y=(#Sec.H#-#Sec.P#-40) |
| 96 | +W=40 |
| 97 | +H=40 |
| 98 | + |
| 99 | +[Image] |
| 100 | +Meter=Image |
| 101 | +Container=BC |
| 102 | +; X=(#Sec.L#-#Sec.H#*6/4) |
| 103 | +; PreserveAspectRatio=0 |
| 104 | +H=#Sec.H# |
| 105 | +W=#Sec.L# |
| 106 | +PreserveAspectRatio=2 |
| 107 | +Leftmouseupaction=[!Refresh] |
| 108 | +ImageName=#ROOTCONFIG#.png |
| 109 | + |
| 110 | +[Esc] |
| 111 | +Meter=Shape |
| 112 | +DynamicVariables=1 |
| 113 | +Shape=Ellipse (#Sec.W#-15),(15),(5),(5) | StrokeWidth 10 | StrokeColor 0,0,0,1 | Extend FillE |
| 114 | +FillE=Fill Color #Text_Color#,50 |
| 115 | +MouseOverAction=[!SetOption Esc FillE "Fill Color #Text_Color#"][!UpdateMeter Esc][!Redraw] |
| 116 | +MouseLeaveAction=[!SetOption Esc FillE "Fill Color #Text_Color#,50"][!UpdateMeter Esc][!Redraw] |
| 117 | +LeftMouseUpAction=[!DeactivateConfig] |
| 118 | + |
| 119 | +; --------------------------------- Left --------------------------------- ; |
| 120 | + |
| 121 | +[MainText] |
| 122 | +Meter=String |
| 123 | +X=(#Sec.P#) |
| 124 | +Y=#Sec.P# |
| 125 | +Text=#ROOTCONFIG# by Jax | #Version# |
| 126 | +StringAlign=LEftTOp |
| 127 | +FontFace=Roboto Bold |
| 128 | +FontSize=25 |
| 129 | +InlinePattern=by.* |
| 130 | +InlineSetting=Size | 10 |
| 131 | +InlinePattern2=by.* |
| 132 | +InlineSetting2=Color | #SubText_Color# |
| 133 | +InlinePattern3=by.* |
| 134 | +InlineSetting3=Face | Roboto |
| 135 | +MeterStyle=String:S |
| 136 | + |
| 137 | +[Des] |
| 138 | +Meter=String |
| 139 | +Text=Here you can find the list of dependencies. Click on any one of them to install, make sure you are connected to the internet. Refresh this page by clicking on the right. |
| 140 | +W=(#SEc.W#-#Sec.L#-#Sec.P#*2) |
| 141 | +clipString=2 |
| 142 | +MeterStyle=String:S |
| 143 | + |
| 144 | +; ------------------------------------ Dep ----------------------------------- ; |
| 145 | + |
| 146 | +[Dep1] |
| 147 | +Meter=Shape |
| 148 | +X=r |
| 149 | +Y=20R |
| 150 | +MEterStyle=Dep.Shape:S |
| 151 | +[DepText1] |
| 152 | +Meter=String |
| 153 | +Text=JaxCore3 // Checking... |
| 154 | +MeterStyle=Dep.Text:S |
| 155 | + |
| 156 | +[Dep3] |
| 157 | +Meter=Shape |
| 158 | +MEterStyle=Dep.Shape:S |
| 159 | +[DepText3] |
| 160 | +Meter=String |
| 161 | +Text=Your appreciation |
| 162 | +MeterStyle=Dep.Text:S |
| 163 | + |
| 164 | +[Dep2] |
| 165 | +Meter=Shape |
| 166 | +MEterStyle=Dep.Shape:S |
| 167 | +Leftmouseupaction=["https://github.com/khanhas/MagickMeter#how-to-install"] |
| 168 | +[DepText2] |
| 169 | +Meter=String |
| 170 | +Text=ImageMagick // optional - required for Modular skins |
| 171 | +MeterStyle=Dep.Text:S |
| 172 | + |
| 173 | +; ------------------------------------ Bot ----------------------------------- ; |
| 174 | + |
| 175 | +[ContinueButton] |
| 176 | +Meter=Shape |
| 177 | +X=(#Sec.P#+50) |
| 178 | +Y=(#Sec.H#-#Sec.P#-40) |
| 179 | +DynamicVariables=1 |
| 180 | +Shape=Rectangle 0,0,120,40,(#Sec.R#/3) | StrokeWidth 0 | Fill COlor 0,255,50,200 |
| 181 | +Leftmouseupaction=[!ActivateConfig "#JaxCore\Main" "Home.ini"][!DeactivateConfig] |
| 182 | +Hidden=1 |
| 183 | +Group=Button |
| 184 | +[ContinueText] |
| 185 | +Meter=String |
| 186 | +X=(60)r |
| 187 | +y=(20)r |
| 188 | +FontSize=(10) |
| 189 | +Text=Continue |
| 190 | +FontFace=Roboto |
| 191 | +FontWeight=700 |
| 192 | +StringAlign=CenterCenter |
| 193 | +MeterStyle=String:S |
| 194 | +Hidden=1 |
| 195 | +Group=Button |
| 196 | + |
| 197 | +; ---------------------------------------------------------------------------- ; |
| 198 | +; Check for jax core ; |
| 199 | +; ---------------------------------------------------------------------------- ; |
| 200 | + |
| 201 | +[WebParser] |
| 202 | +Measure=WebParser |
| 203 | +URL=https://raw.githubusercontent.com/EnhancedJax/-JaxCore/main/%40Resources/Version.inc |
| 204 | +RegExp==(.*)$ |
| 205 | +FinishAction=[!Delay 1000][!CommandMeasure LogicalScript "check()"] |
| 206 | +OnConnectionErrorAction=[!SetOption Dep1 MeterStyle "Dep.Shape:S | Dep.ShapeNo:S"][!SetOption DepText1 Text "//Failed to connect to JaxCore github, if this is an issue please report to me"][!UpdateMEter *][!Redraw] |
| 207 | +OnRegExpErrorAction=[!Log Developer:RegExpFalse] |
| 208 | + |
| 209 | +[InternetStatus] |
| 210 | +Measure=PLUGIN |
| 211 | +Plugin=SysInfo |
| 212 | +SysInfoType=INTERNET_CONNECTIVITY |
| 213 | +IfCondition=InternetStatus = -1 |
| 214 | +ifTrueaction=[!SetOption Dep1 MeterStyle "Dep.Shape:S | Dep.ShapeNo:S"][!SetOption DepText1 Text "JaxCore // connection error, please check internet connection"][!UpdateMEter *][!Redraw] |
| 215 | + |
| 216 | +[mVer] |
| 217 | +Measure=WebParser |
| 218 | +URL=[WebParser] |
| 219 | +StringIndex=1 |
| 220 | + |
| 221 | +[LogicalScript] |
| 222 | +Measure=Script |
| 223 | +ScriptFile=Logic.lua |
| 224 | + |
| 225 | +[JaxCoreYes] |
| 226 | +Measure=String |
| 227 | +Group=NUOL |
| 228 | +Disabled=1 |
| 229 | +OnUpdateAction=[!SetOption Dep1 MeterStyle "Dep.Shape:S | Dep.ShapeYes:S"][!SetOption DepText1 Text "JaxCore3 // v#Core.Ver# installed"][!ShowMeterGroup Button][!UpdateMEter *][!Redraw] |
| 230 | + |
| 231 | +[JaxCoreNo] |
| 232 | +Measure=String |
| 233 | +Group=NUOL |
| 234 | +Disabled=1 |
| 235 | +OnUpdateAction=[!SetOption Dep1 MeterStyle "Dep.Shape:S | Dep.ShapeNo:S"][!SetOption DepText1 Text "JaxCore3 // click here to install"][!SetOption Dep1 Leftmouseupaction """["#@#Actions\AHKv1.exe" "#@#Actions\Installer.ahk"][!SetOption DepText1 Text "JaxCore3 // download here if it doesn't automatically install"][!SetOption Dep1 Leftmouseupaction """["https://github.com/EnhancedJax/-JaxCore/releases/latest"][!UpdateMEter *][!Redraw]"""][!UpdateMEter *][!Redraw]"""][!UpdateMEter *][!Redraw] |
0 commit comments