Rainy wrote:I got it now. The crash happens in the event loop when the mouse timer is handled. Unfortunately that doesn't tell anything about the reason why it crashes. Are you able to reproduce this always when you wake the computer up from sleep? Does it happen only with certain skins or any of them? Does it happen if you don't have any skins enabled?
I'm sorry to delay two days.
After testing as your instructions,I think the crash may be caused by conflicts between a weather skin and Gmail skin.At the very beginning, i turned off both of them and crash didnt happen when return from sleep;Then i turned off either one of them and things went well when return from sleep.
Following is the ini file of them
Code: Select all
ToxxWeather
By request from Karmat111, here is ToxxWeather
for the first time I didn't write the code by myself. This is a "very" modified version of this weather skin, http://jetpac.deviantart.com/art/Weather-37639007
So a big thanks to these guy!!!
The Icons are made by LavAna,(thank you for sharing) http://lavana.deviantart.com/art/Flat-Weather-Icons-32021664
All cred to these creators!!!
[Rainmeter]
Author=moxamax and albinozz
Update=3500
[Variables]
;Please replace your location code of Weather.com below, e.g: Taipei is TWXX0021.
;You can check it on Weather.com or Google.
;And you may also delete "&unit=m" if you prefer the Fahrenheit Scale.
URL=http://xoap.weather.com/weather/local/chxx0008?cc=*&unit=m&dayf=6&prod=xoap&link=xoap&par=1003666583&key=4128909340a9b2fc&unit=s&hbhf=12
Font=Copperplate Gothic bold
;================================================================
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;--------------------------------
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------
;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12
;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------
;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21
;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23
;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27
;-------------------------
;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32
;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34
;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38
;================================================================
[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=50
Y=58
FontColor=255, 255, 255, 240
StringStyle=NORMAL
FontSize=13
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c
[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=160
Y=0
FontColor=255, 255, 255, 240
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=5
Y=1
[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=32
Y=22
H=37
W=37
Hidden=1
;------------------------- offset Y: +40
[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=120
Y=58
FontColor=255, 255, 255, 160
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c
[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=120
Y=20
FontColor=255, 255, 255, 160
FontSize=7
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=105
Y=32
H=26
W=26
;------------------------- offset Y: +40
[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=190
Y=58
FontColor=255, 255, 255, 160
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c
[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=190
Y=20
FontColor=255, 255, 255, 160
FontSize=7
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=175
Y=32
H=26
W=26
;------------------------- offset Y: +40
[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=260
Y=58
FontColor=255, 255, 255, 160
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c
[MeterDate3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=260
Y=20
FontColor=255, 255, 255, 160
FontSize=7
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=245
Y=35
H=26
W=26
;----------------------------
[Back]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=0
Y=1
W=320
H=110
[Line1]
Meter=IMAGE
ImageName=line.png
X=0
Y=15
W=320
H=3
AntiAlias=1
[Line2]
Meter=IMAGE
ImageName=line.png
X=0
Y=75
W=320
H=3
AntiAlias=1
[Minimize]
Meter=STRING
X=110
Y=80
FontColor=255, 255, 255, 240
FontSize=8
FontFace=#Font#
StringAlign=CENTER
Prefix="Minimize"
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverMinimize][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverMinimize][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterHideMeter MeterTemp1][!RainmeterHideMeter MeterDate1][!RainmeterHideMeter MeterIcon1][!RainmeterHideMeter MeterTemp2][!RainmeterHideMeter MeterDate2][!RainmeterHideMeter MeterIcon2][!RainmeterHideMeter MeterTemp3][!RainmeterHideMeter MeterDate3][!RainmeterHideMeter MeterIcon3][!RainmeterHideMeter Line2][!RainmeterHideMeter Refresh][!RainmeterMoveMeter 120 22 MeterIcon][!RainmeterMoveMeter 175 32 MeterTemp][!RainmeterShowMeter Maximize][!RainmeterHideMeter MouseOverMinimize][!RainmeterHideMeter Minimize][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
[MouseOverMinimize]
Meter=IMAGE
ImageName=MouseOver.png
X=78
Y=75
W=65
H=20
AntiAlias=1
Hidden=1
[Maximize]
Meter=STRING
X=160
Y=60
FontColor=255, 255, 255, 240
FontSize=8
FontFace=#Font#
StringAlign=CENTER
Prefix="Maximize"
AntiAlias=1
Hidden=1
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverMaximize][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverMaximize][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterShowMeter MeterTemp1][!RainmeterShowMeter MeterDate1][!RainmeterShowMeter MeterIcon1][!RainmeterShowMeter MeterTemp2][!RainmeterShowMeter MeterDate2][!RainmeterShowMeter MeterIcon2][!RainmeterShowMeter MeterTemp3][!RainmeterShowMeter MeterDate3][!RainmeterShowMeter MeterIcon3][!RainmeterShowMeter Line2][!RainmeterShowMeter Refresh][!RainmeterMoveMeter 32 22 MeterIcon][!RainmeterMoveMeter 50 58 MeterTemp][!RainmeterShowMeter Minimize][!RainmeterHideMeter MouseOverMaximize][!RainmeterHideMeter Maximize][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
[MouseOverMaximize]
Meter=IMAGE
ImageName=MouseOver.png
X=129
Y=55
W=65
H=20
AntiAlias=1
Hidden=1
[Refresh]
Meter=STRING
X=210
Y=80
FontColor=255, 255, 255, 240
FontSize=8
FontFace=#Font#
StringAlign=CENTER
Prefix="Refresh"
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverRefresh][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverRefresh][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRefresh][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
[MouseOverRefresh]
Meter=IMAGE
ImageName=MouseOver.png
X=180
Y=75
W=60
H=20
AntiAlias=1
Hidden=1
Code: Select all
[Rainmeter]
[Variables]
;*********MODIFY THE FOLLOWING LINE*********
Url=https://molkchen:XXXXXX@gmail.google.com/gmail/feed/atom
;*******************************************
FontName=HandelGotD
FontSize=8
White=255, 255, 255, 200
White1=255, 255, 255, 150
update.Spd=600
Substitute="&":"&",""":"","&Quot;":"","<br>":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE>":"","PRE>":"","<":"","Gmail - Inbox":"","'":"'"
ToggleLoading=[!RainmeterHideMeter LoadingMessage][!RainmeterShowMeter MailMessage]
;===========================================================================
; Measures
;===========================================================================
[RSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp="(?siU)<title>(.+)</title>(.+)<entry(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>"
UpdateRate=#update.Spd#
StringIndex=1
Substitute=#Substitute#
FinishAction=!execute #ToggleLoading#[!RainmeterRedraw]
Debug=1
[MeasureMailCount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp="(?siU)<fullcount>(.*)</fullcount>"
StringIndex=2
FinishAction=!Execute [!RainmeterRedraw]
[MeasureCount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureMailCount]
StringIndex=1
UpdateRate=140
;===========================================================================
; Meters
;===========================================================================
[MeterMailBack]
Meter=IMAGE
X=0
Y=0
W=230
H=40
ImageName=mail_back.png
[MeterMailIcon]
Meter=IMAGE
X=2
Y=3
W=40
H=35
ImageName=mail_icon.png
RightMouseDownAction=!Execute ["http://mail.google.com/mail/"][!RainmeterRefresh]
LeftMouseDownAction=!Execute [!RainmeterRefresh]
[MeterTitle]
Meter=STRING
MeasureName=MeasureCount
X=75
Y=9
W=100
H=20
FontColor=#White#
StringStyle=BOLD
StringAlign=RIGHT
FontSize=14
FontFace=#FontName#
AntiAlias=1
ClipString=1
[LoadingMessage]
Meter=STRING
MeasureName=RSS
Prefix="loading..."
X=60
Y=13
W=170
H=20
FontColor=#White#
StringStyle=BOLD
FontSize=#FontSize#
FontFace=#FontName#
AntiAlias=1
ClipString=1
[MailMessage]
Meter=STRING
MeasureName=RSS
Prefix="New Messages For MolkChen@Gmail.Com"
X=90
Y=9
W=130
H=25
FontColor=#White#
StringStyle=BOLD
FontSize=#FontSize#
FontFace=#FontName#
AntiAlias=1
ClipString=1
Hidden=1