Registry measure レジストリ対策

Measure=Registry measures the value of a key in the Windows Registry.Measure=Registry Windowsレジストリ内のキーの値を測定します。

Optionsオプション

General measure options一般的な測定オプション
All general measure options are valid.一般的な測定オプションはすべて有効です。
RegHKey
Name of the root key. Valid values are:
  • HKEY_CURRENT_CONFIG
  • HKEY_CURRENT_USER
  • HKEY_LOCAL_MACHINE
  • HKEY_CLASSES_ROOT
  • HKEY_PERFORMANCE_DATA
  • HKEY_DYN_DATA
RegKey
Name of the subkey.サブキーの名前
RegValue
Name of the value. If not specified, the default value is retrieved.

Note: The two registry key value types supported are REG_SZ (string) and REG_DWORD (number). If a REG_SZ string value is numeric, both the string and number measure values will be set.値の名前 指定しない場合は、デフォルト値が取得されます。

注:サポートされている2つのレジストリキーの値の種類は、REG_SZ(文字列)とREG_DWORD(数値)です。REG_SZ文字列値が数値の場合は、文字列と数値データの両方のが設定されます。

Example

[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,255

[MeasureWindowsVersion]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=Software\Microsoft\Windows NT\CurrentVersion
RegValue=ProductName
UpdateDivider=-1

[MeterText]
Meter=String
MeasureName=MeasureWindowsVersion
X=5
Y=5
W=100
H=25
FontColor=255,255,255,255
Text="Version: %1"

関連記事

スポンサーリンク

SUBSTRING関数 文字列を部分的に抽出する

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

上に戻る