[TrayMeasure] section [トレイメジャー]セクション

The [TrayMeasure] section defines a measure for the notification area icon. To use the default Rainmeter icon, remove the [TrayMeasure] section completely.【TrayMeasure]セクションを定義尺度をするための通知領域アイコン。デフォルトのRainmeterアイコンを使用するには、[TrayMeasure]セクションを完全に削除してください。

Optionsオプション

Measure

Type of the measure to be shown as the tray icon. The measure must return values between some limits.トレイアイコンとして表示される小節の種類。メジャーはいくつかの制限の間の値を返す必要があります。

TrayMeterDefault: HistogramTrayMeterデフォルト: Histogram

The manner in which the measure is depicted. This can be either Histogram or Bitmap.測定値が表示される方法。これはまたはのどちらHistogramBitmapです。

TrayColor1Default: 0,100,0TrayColor1デフォルト: 0,100,0

Background color for TrayMeter=Histogram.の背景ですTrayMeter=Histogram

TrayColor2Default: 0,255,0TrayColor2デフォルト: 0,255,0

Foreground color for TrayMeter=Histogram.フォアグラウンドについてTrayMeter=Histogram

TrayBitmap

Path to the tray icon bitmap file for TrayMeter=Bitmap. Defines the name of the bitmap used when Bitmap is chosen for TrayMeter. The bitmap can have any number of 16x16 frames.のトレイアイコンビットマップファイルへのパスTrayMeter=Bitmap。TrayMeterにBitmapが選択されたときに使用されるビットマップの名前を定義します。ビットマップは任意の数の16×16フレームを持つことができます。

It is possible to use separate icon files as the tray bitmap. %i can be used in the filename to define an increasing number from 1. E.g. TrayBitmap=tray-%i.ico would read the icons files tray-1.ico, tray-2.ico, tray-3.ico and so on as long as it can find them. The format is like printf. (e.g. TrayBitmap=tray-%02i.ico will load tray-01.ico, tray-02.ico, ...)トレイのビットマップとして別のアイコンファイルを使用することは可能です。%i1から増加する数を定義するためにファイル名で使用することができます。例えばTrayBitmap=tray-%i.ico、それがそれらを見つけることができる限り、アイコンファイルtray-1.ico、tray-2.ico、tray-3.icoなどを読むでしょう。フォーマットはprintfのようです。(例:TrayBitmap=tray-%02i.icotray-01.ico、tray-02.ico、...など)

A simple Measure that returns a single value, combined with a TrayBitmap path and name of a single 16x16 .ico file can be used to replace the default tray icon with a custom one.簡単Measureと組み合わせる単一の値を返し、TrayBitmap単一の16×16 .icoファイルのパスおよび名前は、カスタムものとデフォルトのトレイアイコンを置き換えるために使用することができます。

Note: The path to a bitmap image or .ico files is a relative path from the main Skins\ folder (i.e. TrayBitmap=Icons\MyIcon.ico.)注意:ビットマップイメージまたは.icoファイルへのパスは、メインのSkins \フォルダからの相対パスです(つまりTrayBitmap=Icons\MyIcon.ico)。

Examples

Show total network activity as a histogram.ネットワーク全体のアクティビティをヒストグラムとして表示します。

[TrayMeasure]
Measure=NetTotal
Interface=0
TrayMeter=Histogram

Replace the default tray icon with a custom one.デフォルトのトレイアイコンをカスタムのものに置き換えます。

[TrayMeasure]
Measure=Calc
Formula=1
TrayMeter=Bitmap
TrayBitmap=Icons\MyIcon.ico

関連記事

スポンサーリンク

previousSibling

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る