- UID
- 143997
- 主题
- 注册时间
- 2011-7-26
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 262 天 [LV.8]以坛为家I
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?点击注册
x
那3个按钮分别是:注销..重启..关机!!!求高手帮我改成:睡眠..注销..关机!!小弟在此先谢过了!!
代码:
[Rainmeter]
Author=minhtrimatrix
[BG]
Meter=Image
X=0
Y=20
ImageName=bg.png
[Style]
FontColor=255,255,255,255
FontSize=10
StringAlign=LEFT
StringStyle=NORMAL
FontFace=浪漫雅圆
AntiAlias=1
[Variables]
ShowAll=[!RainmeterShowMeter OS][!RainmeterShowMeter Photo][!RainmeterShowMeter User][!RainmeterShowMeter Host][!RainmeterShowMeter UptimeLabel][!RainmeterShowMeter Uptime][!RainmeterShowMeter BatteryLabel][!RainmeterShowMeter Battery][!RainmeterShowMeter RemainingLabel][!RainmeterShowMeter Remaining][!RainmeterShowMeter PowerLabel][!RainmeterShowMeter Power][!RainmeterShowMeter Shutdown][!RainmeterShowMeter Restart][!RainmeterShowMeter StandBy]
HideAll=[!RainmeterHideMeter OS][!RainmeterHideMeter Photo][!RainmeterHideMeter User][!RainmeterHideMeter Host][!RainmeterHideMeter UptimeLabel][!RainmeterHideMeter Uptime][!RainmeterHideMeter BatteryLabel][!RainmeterHideMeter Battery][!RainmeterHideMeter RemainingLabel][!RainmeterHideMeter Remaining][!RainmeterHideMeter PowerLabel][!RainmeterHideMeter Power][!RainmeterHideMeter Shutdown][!RainmeterHideMeter Restart][!RainmeterHideMeter StandBy]
Shutdown="shutdown -s -f -t 30"
Restart="shutdown -r -f -t 30"
Standby="rundll32 powrprof.dll,SetSuspendState".
[Measure]
Measure=Calc
Formula=Measure1 * 4
[Measure1]
Measure=Time
AverageSize=10
[Effect2]
MeasureName=Measure
Meter=ROTATOR
X=26
Y=-28
W=155
H=155
ImageName=Center.png
StartAngle=6.2832
RotationAngle=6.2832
ValueReminder=300
OffsetX=55
OffsetY=56
[Effect1]
MeasureName=Measure
Meter=ROTATOR
X=26
Y=-28
W=155
H=155
ImageName=Ball.png
StartAngle=6.2832
RotationAngle=6.2832
ValueReminder=300
OffsetX=55
OffsetY=56
[MeasureLabel]
Measure=Time
Format="#%p"
[MeasureWeek]
Measure=Time
Format="%A . %B. %Y"
substitute="Sunday":"星期日","Monday":"星期一","Tuesday":"星期二","Wednesday":"星期三","Thursday":"星期四","Friday":"星期五","Saturday":"星期六","January":"01","February":"02","March":"03","April":"04","May":"05","June":"06","July":"07","August":"08","September":"09","October":"10","November":"11","December":"12"
[MeasureDate]
Measure=Time
Format="%d"
substitute=
[MeasureDate]
Measure=Time
Format="%d"
[MeterDate]
Meter=String
MeasureName=MeasureDate
FontFace=浪漫雅圆
FontSize=34
FontColor=255,255,255,250
StringEffect=SHADOW
FontEffectColor=0,0,0,40
StringStyle=Normal
StringAlign=Center
AntiAlias=1
X=105
Y=23
[MeterWeek]
Meter=String
MeasureName=MeasureWeek
FontFace=浪漫雅圆
FontSize=16
FontColor=255,255,255,255
StringEffect=SHADOW
FontEffectColor=0,0,0,50
StringStyle=Normal
StringAlign=Center
AntiAlias=1
X=r
Y=77
W=150
[MeterButtonLogOff]
Meter=IMAGE
ImageName=Sleep.png
X=20
Y=90
Hidden=0
MouseOverAction=!execute [!RainmeterShowMeter MeterLogOffOverTip] [!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterHideMeter MeterLogOffOverTip] [!RainmeterRedraw]
LeftMouseDownAction=%systemroot%\system32\shutdown.exe -l
[MeterButtonRestart]
Meter=IMAGE
ImageName=Restart.png
x=65r
y=r
Hidden=0
MouseOverAction=!execute [!RainmeterShowMeter MeterRestartOverTip] [!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterHideMeter MeterRestartOverTip] [!RainmeterRedraw]
LeftMouseDownAction=%systemroot%\system32\shutdown.exe -r -t 00
[MeterButtonShutDown]
Meter=IMAGE
ImageName=Shutdown.png
x=65r
y=r
Hidden=0
MouseOverAction=!execute [!RainmeterShowMeter MeterShutDownOverTip] [!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterHideMeter MeterShutDownOverTip] [!RainmeterRedraw]
LeftMouseDownAction=%systemroot%\system32\shutdown.exe -s -t 00
Text="重启"
[StandbyLabel]
Meter=STRING
x=107
y=137
MeterStyle=Style
StringStyle=BOLD
StringAlign=CENTER
FontSize=9
Text="Standby"
Hidden=1
[RestartLabel]
Meter=STRING
x=r
y=r
MeterStyle=Style
StringStyle=BOLD
StringAlign=CENTER
FontSize=9
Text="Restart"
Hidden=1
[ShutdownLabel]
Meter=STRING
x=r
y=r
MeterStyle=Style
StringStyle=BOLD
StringAlign=CENTER
FontSize=9
Text="Shutdown"
Hidden=1 |
-
|