Please help to understand with skin simple Yandex mail.
I found a little bit few skins, but they do not work.
The link on the mail looks like this:
https://mail.yandex.ru/uXXXX/?dpda=yes&uid=XXXXXXXXXXlogin=zeroverdriver75#inbox
(Of course it is clear that where XXXX - it's numbers)
I understand that zeroverdriver75 is my username, which must be replaced in the code for URL on the link to the user login, but where to paste the link to the password not clear to me.
But there is another problem for me:
In code this page is a short link to another page from which it is necessary to take data.
Here is the code snippet:
<div style='position:absolute;left:-9999em;top:-9999em;' role='alert'>
<a href="/u2709/go2lite?clck=1">
Fully this link looks like this:
https://mail.yandex.ru/lite/inbox
Its code is part of a string from which I need only one value.
It looks like this:
<span class="b-folders__folder b-folders__folder_unread b-folders__folder_current"><span class="b-folders__folder__num" mode="presentation" aria-hidden="true">XX</span>
Of course I made this RegExp:
Code: Select all
RegExp="(?siU)<span class="b-folders__folder b-folders__folder_unread b-folders__folder_current"><span class="b-folders__folder__num" mode="presentation" aria-hidden="true">(.*)</span>"
Code: Select all
[Rainmeter]
Author=ZerOverdriver
Update=1000
AccurateText=1
URLYM=https://mail.yandex.ru?&login=#YandexLogin#&passwd=#YandexPassword#/#inbox
URLYM2=https://mail.yandex.ru?&login=#YandexLogin#&passwd=#YandexPassword#/lite/inbox
;?&login=#YandexLogin#&passwd=#YandexPassword#
[Measure_YmBase]
Measure=Plugin
Plugin=WebParser
URL=#URLYM#
RegExp="^(?siU)$"
UpdateRate=360
StringIndex=1
FinishAction=[!UpdateMeasure Measure_YmNum]
[Measure_YmNum]
Measure=Plugin
Plugin=WebParser
Url=#URLYM2#
RegExp="(?siU)<span class="b-folders__folder b-folders__folder_unread b-folders__folder_current"><span class="b-folders__folder__num" mode="presentation" aria-hidden="true">(.*)</span>"
UpdateRate=360
StringIndex=1
Substitute="":"0"
ErrorString=?
[Meters123]
...blablabla
[Meter_YmN]
Meter=STRING
MeasureName=Measure_YmNum
MeterStyle=style0
X=#size90#
Y=R
FontSize=(#size6#*3)
FontColor=#Color2#,#Alpha1#
StringAlign=LEFT
Text="#letters#: %1"
DynamicVariables=1
For my work now, it is sufficient only that.
Tell me please the right decision!