Tips - Using UpdateDivider/UpdateRate
<div style="mso-element:para-border-div;border:none;border-bottom:dotted #84A1AF 1.0pt;mso-border-bottom-alt:dotted #84A1AF .75pt;padding:0cm 0cm 0cm 0cm;background:
white">
<h2 style="margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:
0cm;background:white;border:none;mso-border-bottom-alt:dotted #84A1AF .75pt;
padding:0cm;mso-padding-alt:0cm 0cm 0cm 0cm"><span lang="EN-US" style="font-size:
16.0pt;font-family:"Trebuchet MS","sans-serif";color:#151515"><br></span></h2><h2 style="margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:
0cm;background:white;border:none;mso-border-bottom-alt:dotted #84A1AF .75pt;
padding:0cm;mso-padding-alt:0cm 0cm 0cm 0cm"><span lang="EN-US" style="font-size:
16.0pt;font-family:"Trebuchet MS","sans-serif";color:#151515"><font color="#ff0000" style="font-family: 微软雅黑, Gungsuh, 'Lucida Grande', 'Microsoft Yahei', Arial, Calibri, 'Trebuchet MS', Helvetica, Hiragino, STHeiti, 'Microsoft Jhenghei', sans-serif; font-size: 14px; font-weight: normal; line-height: 21px; "><strong style="font-weight: 700; ">【版权声明】</strong></font><br style="color: rgb(102, 102, 102); font-family: 微软雅黑, Gungsuh, 'Lucida Grande', 'Microsoft Yahei', Arial, Calibri, 'Trebuchet MS', Helvetica, Hiragino, STHeiti, 'Microsoft Jhenghei', sans-serif; font-size: 14px; font-weight: normal; line-height: 21px; "><font face="楷体" style="color: rgb(102, 102, 102); font-size: 14px; font-weight: normal; line-height: 21px; "><font color="#0000ff"> 本文档翻译者:</font></font><a href="http://bbs.rainmeter.cn/home.php?mod=space&uid=229788&do=profile" target="_blank" style="font-family: 微软雅黑, Gungsuh, 'Lucida Grande', 'Microsoft Yahei', Arial, Calibri, 'Trebuchet MS', Helvetica, Hiragino, STHeiti, 'Microsoft Jhenghei', sans-serif; font-size: 14px; font-weight: normal; line-height: 21px; ">雨滴社区-相望无言</a><font face="楷体" style="color: rgb(102, 102, 102); font-size: 14px; font-weight: normal; line-height: 21px; "><br><font color="#0000ff"> 本文档仅用于雨滴社区站内交流,</font><font color="#ff0000">禁止转载</font><font color="#0000ff">,由此引发的一切责任及版权纠纷由转载、传播本文档者负责。</font></font>
</span></h2><div><span lang="EN-US" style="font-size:
16.0pt;font-family:"Trebuchet MS","sans-serif";color:#151515"><br></span></div><h2 style="margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:
0cm;background:white;border:none;mso-border-bottom-alt:dotted #84A1AF .75pt;
padding:0cm;mso-padding-alt:0cm 0cm 0cm 0cm"><span lang="EN-US" style="font-size:
16.0pt;font-family:"Trebuchet MS","sans-serif";color:#151515">Using
UpdateDivider/UpdateRate<o:p></o:p></span></h2>
</div>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">这个</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">update= </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">设置在</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"></span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">节点中,控制皮肤多少时间刷新</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">measures</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">和</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">meters</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">。</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">这个</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">updatedivider </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">设置</span><span style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">在</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">meter</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">或者</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">measure</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">中允许你指定</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">meter</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">或者</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">measure</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">的乘以全局刷新频率间隔,正确的使用</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">updatedivider</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">,可以使得你的皮肤更为高效的。尽管</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">Rainmeter</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">已经十分的高效,但还是有帮助的,对吧。</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">例如:</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">measure</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">中</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">updatedivider=5 </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">使得这个</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">meter</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">每</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">5</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">次更新周期</span><span style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">更新一次。</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">当</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">update=1000</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">,这个</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">measure</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">会在每</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">1000</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">×</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">5 </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">毫秒</span><span style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">刷新一次,就是每</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">5</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">秒。,</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">当</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">update=1000</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">,</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">updatedivider=1</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">,以秒来计算</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">measure</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">或者</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">meter</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">刷新频率间隔的一般公式就是:</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span></span><code><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;
border:solid #CED1DA 1.0pt;mso-border-alt:solid #CED1DA .75pt;padding:1.0pt;
background:#EEF0F5">Update × UpdateDivider / 1000</span></code><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">在下面的例子中,全局刷新间隔是</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">1000</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">毫秒(</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">1</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">秒),</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"></span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">没有设置</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">updatedivider= </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">,默认为</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">1</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">,结果就是</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"></span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">会每隔</span><span style="font-size:10.0pt;
mso-ascii-font-family:Batang;mso-hansi-font-family:Batang;mso-bidi-font-family:
Batang;color:#222222">一秒刷新。</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Batang","serif";mso-fareast-font-family:宋体;mso-bidi-font-family:
Batang;color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Batang","serif";mso-fareast-font-family:
宋体;mso-bidi-font-family:Batang;color:#222222"> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:Batang;mso-hansi-font-family:
Batang;mso-bidi-font-family:Batang;color:#222222">相反的,</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">
</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";
mso-hansi-font-family:"Trebuchet MS";color:#222222">设置</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span></span><code><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;
border:solid #CED1DA 1.0pt;mso-border-alt:solid #CED1DA .75pt;padding:1.0pt;
background:#EEF0F5">UpdateDivider=3600</span></code><span style="font-size:
10.0pt;mso-ascii-font-family:Batang;mso-hansi-font-family:Batang;mso-bidi-font-family:
Batang;color:#222222">(就像用户名一样不经常更改),结果就是</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"></span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">每隔</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">3600</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">秒更新一次(即:每隔一小时)</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">设置</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span></span><code><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;
border:solid #CED1DA 1.0pt;mso-border-alt:solid #CED1DA .75pt;padding:1.0pt;
background:#EEF0F5">UpdateDivider=-1</span></code><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span></span><span class="apple-converted-space"><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">,</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;color:#222222">当<span lang="EN-US">updatedivider</span>时负数时,这个<span lang="EN-US">measure</span>会更新一次(当皮肤被加载的时候或者手动刷新的时候),因为</span></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">测量驱动器的全部空间(这是不会改变的)。仅仅测量一次是安全的</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"><o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CED1DA 1.0pt;mso-border-alt:
solid #CED1DA .75pt;padding:4.0pt 4.0pt 4.0pt 4.0pt;background:#EEF0F5"><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"><o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Update=1000<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"> </span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"><o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Measure=CPU<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"> </span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"><o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Measure=Plugin<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Plugin=Plugins\SysInfo.dll<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">SysInfoType=USER_NAME<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">UpdateDivider=3600<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"> </span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"><o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Measure=FreeDiskSpace<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Drive=C:<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Total=1<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">UpdateDivider=-1<o:p></o:p></span></pre></div>
<h3 style="margin-top:22.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:
0cm;background:white"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";
color:#151515"> </span></h3>
<h3 style="margin-top:22.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:
0cm;background:white"><span style="mso-ascii-font-family:"Trebuchet MS";
mso-hansi-font-family:"Trebuchet MS";color:#151515">什么是</span><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif";color:#151515"> UpdateRate?<o:p></o:p></span></h3>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">UpdateDivider</span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">是任何</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">meaters</span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">和</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">measures </span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">都可以使用的。相比之下</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">updaterate</span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">只能用于少量的</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">measures</span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">。(写出来的话就是</span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">
</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";
mso-hansi-font-family:"Trebuchet MS";color:#222222">,支持</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">webparser</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">和</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">ping </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">插件)这个例子的目的,让我们使用一个使用</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">webparser.dll</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">插件的</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">measure</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">。</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">UpdateRate </span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">实质上</span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">
</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";
mso-hansi-font-family:"Trebuchet MS";color:#222222">表示</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">webparser</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">多少时间连接网络加载指定的</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">URL</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">。</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">用秒来表示的通式是:</span><code><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;border:solid #CED1DA 1.0pt;
mso-border-alt:solid #CED1DA .75pt;padding:1.0pt;background:#EEF0F5">Update ×
UpdateDivider × UpdateRate / 1000</span></code><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222">.<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">下面这个例子,</span><span lang="EN-US" style="font-size:
10.0pt;font-family:"Trebuchet MS","sans-serif";color:#222222"></span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">没有</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></span><code><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";color:#222222;border:solid #CED1DA 1.0pt;
mso-border-alt:solid #CED1DA .75pt;padding:1.0pt;background:#EEF0F5">UpdateDivider=</span></code><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">.</span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">结果就是</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">UpdateDivider </span><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">默认为</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222">1m<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;line-height:14.25pt;background:white"><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">如果</span><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">设置</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"> </span></span><code><span lang="EN-US" style="font-size:
9.0pt;font-family:"Lucida Console";color:#222222;border:solid #CED1DA 1.0pt;
mso-border-alt:solid #CED1DA .75pt;padding:1.0pt;background:#EEF0F5">UpdateRate=1200</span></code><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222"> </span></span><span class="apple-converted-space"><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">,可以计算到</span></span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">webparser</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">会在每个</span></span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">1200</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">秒加载这个页面(</span></span><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">20</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;mso-ascii-font-family:
"Trebuchet MS";mso-hansi-font-family:"Trebuchet MS";color:#222222">分钟)</span></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"><o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CED1DA 1.0pt;mso-border-alt:
solid #CED1DA .75pt;padding:4.0pt 4.0pt 4.0pt 4.0pt;background:#EEF0F5"><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222"><o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Measure=Plugin<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Plugin=Plugins\WebParser.dll<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">Url=https://username:[email protected]/gmail/feed/atom<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">RegExp="(?siU)(.*)"<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">StringIndex=1<o:p></o:p></span></pre><pre style="margin-top: 7.5pt; margin-right: 0cm; margin-bottom: 7.5pt; margin-left: 0cm; line-height: 14.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-image: initial; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222">UpdateRate=1200<o:p></o:p></span></pre></div>
<p style="margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;
line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#222222">Webparser.dll</span><span style="font-size:10.0pt;mso-ascii-font-family:"Trebuchet MS";mso-hansi-font-family:
"Trebuchet MS";color:#222222">连接网络,有足够长的下载间隔是很重要的。如果</span><span style="font-size:10.0pt;color:#222222">你尝试频繁的加载一个页面(比如每秒)。你可能会引起网站的高负荷,最终会导致网页阻止从你计算机上所有的访问。</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
页:
[1]