;Meter基本元素示例:
;如果是[MeterStyle]表示Meter的公共Style,类似CSS的意义!!!
;颜色可以使用网页的颜色定义方式,如半透明黄色:255.255.0.128=FFFF0080
[MeterTEST]
X=0
Y=0
W=100
H=20
;设为1为隐藏,0(默认值)
Hidden=0
;如只需要绘制静态图形或静态文字的话可以不写
MeasureName=MeasureStyle
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
;字体阴影
StringEffect=SHADOW
;字体格式
StringStyle=BOLD
;字体对齐方式
StringAlign=LEFT
;开启抗锯齿0 =关闭(默认值);1 =开启;
AntiAlias=1
;左键按下即执行,此时禁止拖动
LeftMouseDownAction=!Execute [taskmgr.exe]
;右键按下即执行,此时禁止上下文菜单
RightMouseDownAction=!Execute [taskmgr.exe]
;中键按下即执行
MiddleMouseDownAction=!Execute [taskmgr.exe]
;左键按下恢复后执行,此时禁止拖动
LeftMouseUpAction=!Execute [taskmgr.exe]
;右键按下恢复后执行,此时禁止上下文菜单
RightMouseUpAction=!Execute [taskmgr.exe]
;中键按下恢复后执行
MiddleMouseUpAction=!Execute [taskmgr.exe]
;鼠标停靠后执行
MouseOverAction=!Execute [taskmgr.exe]
;鼠标离开后执行
MouseLeaveAction=!Execute [taskmgr.exe]
;当设置为1(默认值),在拥有鼠标操作的元素或按钮元素上将改变光标指针,可以不写
MouseActionCursor=1
;表示该Meter的刷新频率,为全局刷新频率的倍数
;如果[Rainmeter]里面的Update=1000,则以下代码表示30*1000=30秒
UpdateDivider=30
;背景颜色,如果没有设置,背景是完全透明的。
SolidColor=#SolidColor#
;背景渐变颜色
SolidColor2=#SolidColor2#
;背景颜色渐变的角度,定义的角度弧度,0(默认值)
GradientAngle=0
;显示背景倒角;0 =没有(默认值);1 =提高;2 =沉没;
BevelType=0
;官网还有一项是矩阵,未研究透,所以不写了

[MeasureMemory]
Measure=PhysicalMemory

;BAR示例:
[MeterBAR]
MeasureName=MeasureMemory
Meter=BAR
X=10
Y=10
W=100
H=20
BarColor=0,0,0,200
;BarImage可以用来代替BarColor
BarImage=#SKINSPATH#Images\Bar.png
;背景颜色,如果没有设置,背景是完全透明的。
SolidColor=255,255,255,200
;显示方式VERTICAL(垂直)HORIZONTAL(水平)
BarOrientation=HORIZONTAL
;是否反转长方条的方向,应该是反转180度,0 =否(默认值),1 =是
Flip=1

;Bitmap示例:
[MeasureDate]
Measure=Time
Format=%d

[MeterDate]
MeasureName=MeasureDate
Meter=BITMAP
X=50
Y=0
BitmapImage=number.png
BitmapFrames=10
;The number of transition frames per value. The transition frames are frames which are displayed when the meter's value changes. The same number of transition frames must be used after each regular frame. The TransitionUpdate setting in the [Rainmeter] section determines the rate at which the frames are displayed during the transition. The total duration of the transition animation is therefore TransitionUpdate * BitmapTransitionFrames. Note that BitmapFrames will always define the total number of frames in the bitmap, including the transition frames.So, for example, if the bitmap has 10 values and each transition consists of 4 additional frames, then BitmapFrames should be set to 50 and BitmapTransitionFrames to 4.
BitmapTransitionFrames=10
;If set to 1, the first frame is used only when the measured value is zero. Otherwise the frames are linearly determined by the measured value.
BitmapZeroFrame=1
;If set to 1 the bitmap is extended so display the whole value. For example if you define a bitmap that defines frames from 0 to 9 you can use this to display the measured value as the bitmap numbers.
BitmapExtend=1
;Number of digits that are drawn. The first frame is used if the value doesn't have as many digits as this defines. Works only when BitmapExtend is set to 1.
BitmapDigits=2
BitmapAlign=CENTER
;Separation between digits when BitmapDigits is higher than one. This can also be a negative number.
BitmapSeparation=0

;BUTTON按钮示例:
[MeterNote]
;按钮不能绑定任何的measure,即不能有MeasureName=???。
Meter=BUTTON
X=0
Y=0
ButtonImage=Button.png
ButtonCommand=!Execute [notepad.exe]

;Histogram直方图示例:
[MeasureCPU]
Measure=CPU测量=处理器

[MeterCPU]
MeasureName=MeasureCPU
;第二个数据名称,只有这个存在才可以使用Secondary???
SecondaryMeasureName=???
Meter=HISTOGRAM
X=0
Y=0
W=100
H=20
PrimaryColor=#Color#
SecondaryColor=#Color1#
BothColor=#Color#
SolidColor=#Color2#
PrimaryImage=Histogram.png
SecondaryImage=Histogram.png
BothImage=Histogram.png
;显示方式VERTICAL(垂直)HORIZONTAL(水平)
BarOrientation=HORIZONTAL
;如果设置为1,直方图自动缩放以显示所有值。
Autoscale=1
;抗锯齿
AntiAlias=1
;设置为1,反转图像
Flip=0

;Image图像:
[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName="#PROGRAMPATH#Skins\Tranquil\"
FileFilter=*.png

[MeterImage]
Meter=IMAGE
MeasureName=MeasureQuote
X=0
Y=0
W=150
H=150
;图片的名称显示
ImageName=Pictures
;图片的路径
Path=E:\Pictures\
;如果设置为1,图像保持宽高比缩放;设置为0,图像不保持宽高比缩放。
PreserveAspectRatio=1

;跳动线图:
[MeasureNetIn]
Measure=NetIn

[MeasureNetOut]
Measure=NetOut

[MeterNetwork]
Meter=LINE
MeasureName=MeasureNetOut
MeasureName2=MeasureNetIn
X=0
Y=0
W=100
H=20
;线条数
LineCount=2
LineColor=#Color#
LineColor2=#Color2#
;设置为1的水平线条绘制在直方图后面。
HorizontalLines=0
;直方图颜色
HorizontalLineColor=#Color#
;实心颜色,未设置为透明
SolidColor=#SolidColor#
;线条1乘以1000
Scale=1000
;线条2乘以1000
Scale2=1000
;线条像素宽度
LineWidth=1
;自动缩放
AutoScale=1
AntiAlias=1
Flip=1

;旋转图形
[MeasureTime]
Measure=Time

[MeterHours]
MeasureName=MeasureTime
Meter=ROTATOR
X=0
Y=0
W=30
H=30
;旋转图像名称
ImageName=Hours.png
;开始的旋转角度,默认顺时针旋转。
StartAngle=6.2832
;旋转角度的大小,使用负值逆时针旋转。
RotationAngle=6.2832
;实际旋转一周用的时间,秒。
ValueReminder=43200
;X轴旋转中心偏移
OffsetX=14.5
;Y轴旋转中心偏移
OffsetY=14.5

[MeterMinutes]
MeasureName=MeasureTime
Meter=ROTATOR
X=0
Y=0
W=30
H=30
ImageName=Minutes.png
StartAngle=6.2832
RotationAngle=6.2832
ValueReminder=3600
OffsetX=14.5
OffsetY=14.5

;ROUNDLINE旋转线条:
[MeasureDisk]
Measure=FreeDiskSpace
Drive=C:
InvertMeasure=1

[MeterDisk]
Meter=ROUNDLINE
MeasureName=MeasureDisk
X=0
Y=0
W=50
H=50
;线条像素宽度
LineWidth=5
;线条开始旋转的角度,默认是顺时针旋转
StartAngle=4.712
;线条旋转角度的大小
RotationAngle=6.283
;实际旋转一周用的时间,秒。
ValueRemainder=60
;从旋转中心开始的线条长度
LineLength=25
LineColor=0,0,0,200
;设置为1,显示为饼图
Solid=1
AntiAlias=1
;省略了几个元素

;字符串:
[MeasureDate]
Measure=Time

[MeterDate]
MeasureName=MeasureDate
Meter=STRING
X=0
Y=0
FontColor=0,0,0,255
FontFace="Trebuchet MS"
FontSize=20
;字符串的对齐方式:LEFT, CENTER and RIGHT
StringAlign=CENTER
;风格化字符串:NORMAL, BOLD, ITALIC and BOLDITALIC
StringStyle=BOLD
;字符串的阴影:NONE, SHADOW and BORDER.有效值为:无,阴影和边界。
StringEffect=BORDER
;字符串的阴影颜色
FontEffectColor=255,255,255,255
AntiAlias=1
AutoScale=1
Text="%1"
;在显示的值使用小数号码。
NumOfDecimals=1
;如果设置为1,值显示为一个百分比。
Percentual=0
;前缀
Prefix=""
;后缀
Postfix=""
;缩放的测量值
Scale=1000
;如果设置为1,在设置了宽和高的情况下字符串超出部分自动省略并加上…
ClipString=1
;定义文本角度
Angle=0

Rainmeter 一部分 语法 中文教程的更多相关文章

  1. director.js:客户端的路由---简明中文教程

    1.引子 最近学用director.js,那是相当的简单易学易使用.不过开始学的时候,搜搜过后,却没有发现相关的中文教程.于是决定硬啃E文,翻译备用的同时也当是给自己上课并加深对它的理解. direc ...

  2. Groovy中文教程(链接收藏)

    学习Gradle前,需要有一个Groovy语言的基础,以免被Groovy的语法困扰,反而忽略了Gradle的知识.这里有一个Groovy的简明中文教程文档,可以快速学习Groovy的一些语法:http ...

  3. 学习Nim语言.rar(nim语言中文教程下载)

    学习Nim语言 nim 语法上类似python ,是一门静态编译型语言,nim 使用空格缩进标示语句块的开始和结束, 喜欢python风格的程序员应该也会很容易适应和喜欢nim的风格. nim语言官方 ...

  4. PuTTY 中文教程

    PuTTY 中文教程 更新记录 2006-11-29初步完成想写的这些东西 2007-06-11PuTTY 的最新版本到了0.6:修改了一下 SSH 隧道:添加了 SSH 反向隧道:添加了用 SSH ...

  5. Netty4.x中文教程系列(五)编解码器Codec

    Netty4.x中文教程系列(五)编解码器Codec 上一篇文章详细解释了ChannelHandler的相关构架设计,版本和设计逻辑变更等等. 这篇文章主要在于讲述Handler里面的Codec,也就 ...

  6. Netty4.x中文教程系列(三) ChannelHandler

    Netty4.x中文教程系列(四)  ChannelHandler 上一篇文章详细解释了Hello World示例的代码.里面涉及了一些Netty框架的基础. 这篇文章用以解释ChannelHandl ...

  7. Swift中文教程(一)--欢迎来到Swift的世界

    原文:Swift中文教程(一)--欢迎来到Swift的世界 Apple凌晨时在WWDC发布了Swift编程语言,语法简介我很喜欢,市面上没有完整的中文教程,我在ibooks里面下载了英文原版,现在开始 ...

  8. 【转】(七)unity4.6Ugui中文教程文档-------概要-UGUI Auto Layout

    原创至上,移步请戳:(七)unity4.6Ugui中文教程文档-------概要-UGUI Auto Layout 6. Auto Layout Rect Transform布局系统是足够灵活,可以处 ...

  9. 【转】(二)unity4.6Ugui中文教程文档-------概要-UGUI Canvas

    原创至上,移步请戳:(二)unity4.6Ugui中文教程文档-------概要-UGUI Canvas UI系统允许您快速.直观地创建用户界面(Ui).这是Unity的新 UI 系统的主要功能介绍. ...

随机推荐

  1. python脚本从excel表到处数据,生成指定格式的文件

    #coding:gbk #导入处理excel的模块 import xlrd #定义哪些字段须要推断,仅仅支持时间字段 toSureColArray = ['CREATE_TIME','MODIFY_T ...

  2. The Win32 Rundll and Rundll32 Interface Related Topics

    The Win32 Rundll and Rundll32 Interface Related Topics Microsoft Knowledge Base Article Q164787 Appl ...

  3. EXCEL密码破解/破解工作表保护密码

    网上有很多这个代码,但很多朋友并不太了解如何运用在此做了一些整理,希望对大家有所帮助! 注:很多时候会因为忘记密码丢失重要EXCEL文件而烦恼,这份代码就能帮你找回,仅仅出之这个初衷,如因为这个代码让 ...

  4. 缩放到被选择的部分: ICommand Cmd = new ControlsZoomToSelectedCommandClass();

    AddItem("esriControls.ControlsZoomToSelectedCommand"); //ICommand Cmd = new ControlsZoomTo ...

  5. Codeforces 394D Physical Education and Buns 胡搞

    题目链接:点击打开链接 题意:给定n个数的序列(能够排序) 操作一次能够使得某个数++或--. 问最少操作几次使得序列变成一个等差序列 输出: 第一行输出最少操作的次数 第二行输出等差数列里的最小项 ...

  6. List与Array之间互换

    1 数组转换为List 调用Arrays类的静态方法asList. asList public static <T> List<T> asList(T... a) Return ...

  7. MySQL递归查询树状表的子节点、父节点具体实现

    mysql版本(5.5.6等等)尚未支持循环递归查询,和sqlserver.oracle相比,mysql难于在树状表中层层遍历的子节点.本程序重点参考了下面的资料,写了两个sql存储过程,子节点查询算 ...

  8. Maven内置属性及使用

    Maven共有6类属性: 内置属性(Maven预定义,用户可以直接使用) ${basedir}表示项目根目录,即包含pom.xml文件的目录; ${version}表示项目版本; ${project. ...

  9. bat与jscript开发工具时遇到的一些问题

    之前使得bat调用luac进行编译时,会弹出一个"黑色的界面",闪烁一下,感觉不太好.而脚本vbs或者jscript调用bat是可以利用Run方法,将其第二个参数设置为0便可以隐藏 ...

  10. 部署maven的一些要点、遇到的问题和心得体会

    maven的部署.遇到的问题和心得体会 2013-10-24 | 阅:  转:  |  分享         部署maven的一些要点.遇到的问题和心得体会 (图片看不了,可以下载doc文件) 一.  ...