FolderInfo plugin FolderInfoプラグイン

Plugin=FolderInfo retrieves information about folders.Plugin=FolderInfo フォルダに関する情報を取得します。

Note: Measuring a folder with a very large number of folders and files (e.g. My Documents) can cause Rainmeter to have erratic or even unstable behavior.注:非常に多数のフォルダやファイル(例:マイドキュメント)を含むフォルダを測定すると、Rainmeterの動作が不安定になったり不安定になったりすることがあります。

Optionsオプション

General measure options一般的な測定オプション
All general measure options are valid.一般的な測定オプションはすべて有効です。
Folder
Must be either:
  • The path to the folder (e.g. Folder=C:\MyFolder)フォルダへのパス(例Folder=C:\MyFolder
  • Or the name of another measure (e.g. Folder=[MainMeasure]). In this case, the folder specified in MainMeasure will be used.または別の小節の名前(例Folder=[MainMeasure])。この場合、MainMeasureで指定されたフォルダが使用されます。

Important: If multiple measures use the same folder, specify the actual path on the first FolderInfo measure and specify the name of the first measure in subsequent measures. See example below for proper usage.
InfoType
Defines the type of information. Valid values are:
  • FileCount: Number of found files.FileCount:見つかったファイル数。
  • FolderCount: Number of found folders.FolderCount:見つかったフォルダ数
  • FolderSize: Size of the folder in bytes.FolderSize:フォルダのサイズ(バイト)。
RegExpFilter
Regular expression used to include or exclude counted files.カウントされたファイルを含めるか除外するために使用される正規表現
IncludeSubFolders Default: 0IncludeSubFolders デフォルト: 0
If set to 1, subfolders are included.に設定すると1、サブフォルダーが含まれます。
IncludeHiddenFiles Default: 0IncludeHiddenFiles デフォルト: 0
If set to 1, hidden files are included.に設定すると1、隠しファイルが含まれます。
IncludeSystemFiles Default: 0IncludeSystemFiles デフォルト: 0
If set to 1, system files are included.に設定すると1、システムファイルが含まれます。

Example

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

[MeasureFolder]
Measure=Plugin
Plugin=FolderInfo
Folder=#SKINSPATH#
InfoType=FolderSize
IncludeHiddenFiles=1
IncludeSubFolders=1
IncludeSystemFiles=1
RegExpFilter=.*
UpdateDivider=10

[MeasureFileCount]
Measure=Plugin
Plugin=FolderInfo
Folder=[MeasureFolder]
InfoType=FileCount
UpdateDivider=10

[MeterSize]
Meter=String
MeasureName=MeasureFolder
X=5
Y=5
W=200
H=20
FontColor=255,255,255,255
AutoScale=1
Text="Total Size: %1B"

[MeterCount]
Meter=String
MeasureName=MeasureFileCount
X=5
Y=25
W=200
H=20
FontColor=255,255,255,255
Text="File Count: %1"

関連記事

スポンサーリンク

ADDDATE関数 日付を加算する

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

上に戻る