This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Autocomb.ini
100 lines (89 loc) · 4.58 KB
/
Autocomb.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[Rainmeter]
Update=16
DefaultUpdateDivider=-1
DefaultWindowX=50%
DefaultWindowY=50%
DefaultAnchorX=50%
DefaultAnchorY=50%
@IncludeCommon=#@#Common.inc
LeftMouseUpAction=[!About][!Delay 200][!CommandMeasure PSRM "Autocomb"]
MiddleMouseUpAction=[!CommandMeasure PSRM "Empty"]
[IncludeMainContextMenu]
@IncludeMainContextMenu=#@#MainContextMenu.inc
[Variables]
Hypersphube=0.9
IconSize=100
Invert=1
Min=70
Max=120
ShadowX=-2
ShadowY=6
ToolTipText=Click to generate combs!#CRLF#Right click to access the menu!#CRLF##CRLF#Hint: holding ctrl lets you access#CRLF#the Rainmeter right click menu
[PSRM]
Measure=Plugin
Plugin=PowershellRM
ScriptFile=#@#Autocomb.ps1
[FileChoose]
Measure=Plugin
Plugin=FileChoose
CopyLink=1
LinkCache=#@#Links\
GetIcon=1
IconCache=#@#Icons\
ReturnValue=Icon
Command1=[!Log "$Path$"]
[MeasureHypersphube]
Measure=Loop
Paused=1
StartValue=#Min#
EndValue=#Max#
InvertMeasure=#Invert#
DynamicVariables=1
UpdateDivider=1
IfCondition=(MeasureHypersphube = #Min#) || (MeasureHypersphube = #Max#)
IfTrueAction=[!SetVariable Invert "(1 - [#Invert])"][!UpdateMeasure #CURRENTSECTION#]
OnUpdateAction=[!SetVariable Hypersphube "([&MeasureHypersphube] / 100)"][!UpdateMeterGroup Hypersphube][!Redraw]
[Style]
@IncludeStyle=#@#Styles\Squircle.inc
[Shadow]
X=(([MeterAutocombString:W] / 2 - [#CURRENTSECTION#:W] / 2) + #ShadowX#)
Y=(5 + #ShadowY#)
Modifiers=Rotate (45/2)
DynamicVariables=1
Group=Hypersphube
SolidColor=0,0,0,1
ToolTipTitle=Autocomb
ToolTipText=#ToolTipText#
[Base]
X=([MeterAutocombString:W] / 2 - [#CURRENTSECTION#:W] / 2)
Y=5
Modifiers=Rotate (45/2)
DynamicVariables=1
Group=Hypersphube
[Icon]
Meter=Image
; ImageName=#@#Autocomb.png
X=([MeterAutocombString:W] / 2 - #IconSize# / 2)
Y=(#Size# / 2 - #IconSize# / 2)
W=(#IconSize#)
H=(#IconSize#)
DynamicVariables=1
ImageTint=#ShadowBackgroundColor#
[MeterAutocombStringShadow]
Meter=String
MeterStyle=MeterAutocombString
FontColor=#ShadowBackgroundColor#
Y=([MeterAutocombString:Y] + #ShadowY# / 2)
X=#ShadowX#
DynamicVariables=1
[MeterAutocombString]
Meter=String
Text=AUTOCOMB
FontFace=Cubano
AntiAlias=1
Y=(#Size# + #ShadowY# + 5)
FontSize=(#Size# / 3.5)
Fontcolor=#BackgroundColor#
SolidColor=0,0,0,1
ToolTipTitle=Autocomb
ToolTipText=#ToolTipText#