-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRainNote.ini
237 lines (217 loc) · 4.64 KB
/
RainNote.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
[Rainmeter]
Author=Exper1mental (Exper1mental.DeviantART.com)
Update=100
SkinHeight=475
AccurateText=1
Blur=1
[Metadata]
Name=RainNote
Version=1.0
Information=View and edit a text file from within Rainmeter!
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
[Variables]
RainNoteText=
RainNoteTextY=61
;@Include=#@#Variables.ini
;[RainNoteTextYDownCalc]
; Measure=Calc
; Formula=#RainNoteTextY#+10
;[RainNoteTextYUpCalc]
; Measure=Calc
; Formula=#RainNoteTextY#-10
[BlurBehind]
Measure=Plugin
Plugin=FrostedGlass
UpdateDivider=-1
;Default=1 Determines if the blur is enabled or not
BlurEnabled=1
[BackgroundPaper]
Meter=Image
SolidColor=255,255,255,200
; Standard real-life paper size is roughly W=8.5" H=11" ?
X=24
Y=50
W=302
H=392
MouseScrollDownAction=[!SetOption "MeterRainNote" "Y" "([MeterRainNote:Y]-10)"][!UpdateMeter MeterRainNote]
MouseScrollUpAction=[!SetOption "MeterRainNote" "Y" "([MeterRainNote:Y]+10)"][!UpdateMeter MeterRainNote]
UpdateDivider=-1
MouseActionCursorName=0
LeftMouseUpAction=[!CommandMeasure "MeasureRainNoteInput" "ExecuteBatch 1"]
RightMouseUpAction=["#CURRENTPATH#\RainNoteTextFile.txt"]
[PaperBorderTop]
Meter=Image
SolidColor=128,128,128,128
X=24
Y=50
W=302
H=1
UpdateDivider=-1
[PaperBorderBottom]
Meter=Image
SolidColor=128,128,128,128
X=24
Y=441
W=302
H=1
UpdateDivider=-1
[PaperBorderLeft]
Meter=Image
SolidColor=128,128,128,128
X=24
Y=51
W=1
H=390
UpdateDivider=-1
[PaperBorderRight]
Meter=Image
SolidColor=128,128,128,128
X=325
Y=51
W=1
H=390
UpdateDivider=-1
[MeasureRainNote]
Measure=Plugin
Plugin=QuotePlugin
PathName=#CURRENTPATH#\RainNoteTextFile.txt
Separator=¶
#Subfolders=0
#FileFilter=*.txt
OnUpdateAction=[!SetVariable RainNoteText "[MeasureRainNote]"][!UpdateMeter MeterRainNote]
DynamicVariables=1
UpdateDivider=-1
[MeterRainNote]
;MeasureName=MeasureRainNote
Meter=STRING
FontSize=9
StringAlign=Left
StringStyle=Normal
FontColor=20,20,20,200
FontFace=Segoe UI SemiLight
AntiAlias=1
ClipString=2
DynamicVariables=1
Text=#RainNoteText#
; Hidden=1
UpdateDivider=-1
X=40
Y=#RainNoteTextY#
W=270
;H=370
;---Default Bold---
InlineSetting=Weight | 700
InlinePattern=<b!>(.*)</b>
;---Italic---
InlineSetting2=Italic
InlinePattern2=<i!>(.*)</i>
;---Oblique---
InlineSetting3=Oblique
InlinePattern3=<o!>(.*)</o>
;---Underline---
InlineSetting4=Underline
InlinePattern4=<u!>(.*)</u>
;---Strikethrough---
InlineSetting5=Strikethrough
InlinePattern5=<s!>(.*)</s>
;---Hide Text---
InlineSetting6=Face | Blank
InlinePattern6=<hide!>(.*)</hide>
InlineSetting7=Size | 1
InlinePattern7=<hide!>(.*)</hide>
InlineSetting8=CharacterSpacing | -0.5 | -0.5 | *
InlinePattern8=<hide!>(.*)</hide>
;---Hide Format Text---
InlineSetting9=Face | Blank
InlinePattern9=<hide!>|</hide>|<b!>|</b>|<i!>|</i>|<o!>|</o>|<u!>|</u>|<s!>|</s>|<font=Arial!>|</font=Arial>|<size=11!>|</size=11>
InlineSetting10=Size | 1
InlinePattern10=<hide!>|</hide>|<b!>|</b>|<i!>|</i>|<o!>|</o>|<u!>|</u>|<s!>|</s>|<font=Arial!>|</font=Arial>|<size=11!>|</size=11>
InlineSetting11=CharacterSpacing | -0.5 | -0.5 | *
InlinePattern11=<hide!>|</hide>|<b!>|</b>|<i!>|</i>|<o!>|</o>|<u!>|</u>|<s!>|</s>|<font=Arial!>|</font=Arial>|<size=11!>|</size=11>
;---Arial Font Face---
InlineSetting12=Face | Arial
InlinePattern12=<font=Arial!>(.*)</font=Arial>
;---Font Size 11---
InlineSetting13=Size | 11
InlinePattern13=<size=11!>(.*)</size=11>
[MeasureRainNoteInput]
Measure=Plugin
Plugin=InputText
X=37
Y=61
W=270
H=370
ClipString=2
SolidColor=255,255,255,255
FontFace=Segoe UI SemiLight
FontColor=20,20,20,200
FontSize=9
StringAlign=Left
StringStyle=Normal
FocusDismiss=1
; OnDismissAction=
Command1=[!SetVariable RainNoteText "$UserInput$"][!UpdateMeter MeterRainNote] DefaultValue="#RainNoteText#"
DynamicVariables=1
AntiAlias=1
UpdateDivider=-1
[Background]
Meter=Image
ImageName=#@#Background.png
ImageTint=235,235,235
;,230
;W=348
;H=473
X=1
Y=1
UpdateDivider=-1
[BorderLineTop]
Meter=Image
SolidColor=20,20,20,200
W=350
H=1
UpdateDivider=-1
[BorderLineBottom]
Meter=Image
SolidColor=20,20,20,200
W=350
H=1
Y=474
UpdateDivider=-1
[BorderLineLeft]
Meter=Image
SolidColor=20,20,20,200
W=1
H=473
Y=1
UpdateDivider=-1
[BorderLineRight]
Meter=Image
SolidColor=20,20,20,200
W=1
H=473
X=349
Y=1
UpdateDivider=-1
[RainNoteLogo]
Meter=Image
ImageTint=0,0,0
ImageAlpha=200
ImageName=#@#RainNoteSmall.png
X=5
Y=5
UpdateDivider=-1
[RainNoteTitle]
Meter=STRING
FontSize=16
FontColor=0,0,0,255
FontFace=Segoe UI Light
Text="RainNote Demo"
AntiAlias=1
InlineSetting=Face | Segoe Script
InlinePattern=Note
X=40
;14
Y=4
W=100
H=110
UpdateDivider=-1