FileView plugin FileViewプラグイン
Plugin=FileView
retrieves information about folders and files.Plugin=FileView
フォルダとファイルに関する情報を取得します。
The plugin gathers all the folder and file names, sizes, dates and icons in the selected folder. It counts the number of files and folders and obtains the combined size. It can also search recursively through all the subfolders of the selected folder to obtain the totals for count and size.プラグインは、選択されたフォルダ内のすべてのフォルダとファイル名、サイズ、日付とアイコンを集めます。ファイルとフォルダの数を数え、組み合わせたサイズを得ます。選択したフォルダのすべてのサブフォルダを再帰的に検索して、総数とサイズの合計を取得することもできます。
FileView operates with a "parent / child" approach. A main "parent" FileView measure is used to obtain all the information for a selected folder, and then "child" measures are used to read individual entries from the parent using the Path=
option.
Usage使用法
FileView measures take the form:
[Rainmeter] |
In this example, this "parent" measure will obtain name, size, date and icon information about all files in the selected folder, then create three Index values for the first three files. The information is used in subsequent "child" FileView measures:この例では、この「親」メジャーは、選択したフォルダ内のすべてのファイルに関する名前、サイズ、日付、およびアイコン情報を取得してから、最初の3つのファイルに対して3つのインデックス値を作成します。この情報は、後続の「子」FileViewメジャーで使用されます。
[MeasureChild1] |
The values of the three child measures are now the FileName information parsed into Indexes 1 through 3 by the parent measure. These can then be used with MeasureName and other options in meters.3 つの子メジャーの値は、親メジャーによってインデックス1から3に解析されたFileName情報になりました。これらは、MeasureNameやその他のメートル単位のオプションと共に使用できます。
Another way to use the information in child measures is:子供の対策に情報を使用する別の方法は、次のとおりです。
[MeasureChild1] |
The values of the three child measures are now the FileName, FileSize and FileDate information from the first file (Index 1) of the parent measure.3つの子メジャーの値は、親メジャーの最初のファイル(インデックス1)のFileName、FileSize、およびFileDateの情報になりました。
In these examples, three indexes are created due to the Count=3
option on the parent measure. However, the information for all files and / or folders are obtained by the plugin, and subsequent or previous entries can be assigned to the three indexes by using !CommandMeasure statements described below. This will allow a skin to "scroll" through the files and / or folders in a dynamic way.これらの例でCount=3
は、親数値データのオプションにより3つのインデックスが作成されます。ただし、すべてのファイルやフォルダの情報はプラグインによって取得され、それ以降または以前のエントリは、後述の!CommandMeasureステートメントを使用して3つのインデックスに割り当てることができます。これにより、スキンはファイルやフォルダを動的にスクロールすることができます。
Important Note: A FileView measure will not re-read the disk information on a normal update cycle or using UpdateDivider on the measure, nor when the !Update / !UpdateMeasure bangs are used. If the options on the parent measure are changed dynamically with !SetVariable or !SetOption, the Update plugin command will need to be used to update the values.
[MeasureFolder]
Measure=Plugin
Plugin=FileView
Path="C:\ImageFolder"
Count=3
[MeterChangeFolder]
Meter=Image
W=26
H=25
SolidColor=0,0,0,255
LeftMouseUpAction=[!SetOption MeasureFolder Path "C:\VideoFolder"][!CommandMeasure MeasureFolder Update]
If it is desired that a folder be monitored for new or changed files, the Update plugin command should be used in conjunction with an OnUpdateAction statement to keep the measure current with changing disk information. Be aware that having the plugin physically access the disk has a performance cost, and care should be taken to use an appropriate UpdateDivider.重要な注意: FileViewメジャーは、通常の更新サイクルまたはメジャーにUpdateDividerを使用しても、また!Update / !UpdateMeasure bangが使用されても、ディスク情報を再読み込みしません。親数値データのオプションが!SetVariableまたは!SetOptionで動的に変更された場合は、値を更新するためにUpdate pluginコマンドを使用する必要があります。
[MeasureFolder] |
新しいファイルまたは変更されたファイルについてフォルダを監視することが望ましい場合は、OnUpdateActionステートメントと一緒にUpdate pluginコマンドを使用して、ディスク情報の変化に合わせて測定値を最新に保つ必要があります。プラグインがディスクに物理的にアクセスするとパフォーマンスが低下するため、適切なUpdateDividerを使用するように注意する必要があります。
[MeasureFolder] |
Optionsオプション
- General measure options一般的な測定オプション
-
All general measure options are valid.一般的な測定オプションはすべて有効です。
Path
-
In a parent measure, defines the path of the folder to read. By default, the This PC (formerly My Computer) folder is used.では、親対策、読むためにフォルダのパスを定義します。既定では、[ このPC](以前の[マイコンピュータ])フォルダが使用されます。
Note: While #Variables# can be used in the parent Path option, [SectionVariables] cannot, as this is ambiguous with the parent definition in a child measure.注:#変数#は親のPathオプションで使用できますが、[SectionVariables]は子メジャーの親定義とあいまいなので使用できません。
In a child measure, defines the parent measure
[MeasureName]
to read values from.では、子対策、親メジャーを定義[MeasureName]
から値を読み取るために。
Parent measure options親測定値オプション
FinishAction
-
Action to execute when the plugin has completed reading the folders and files. This can be used to ensure that a large folder structure is fully read before other actions are taken.プラグインがフォルダとファイルの読み込みを完了したときに実行するアクション。これは、他の操作が行われる前に大きなフォルダ構造が完全に読み取られるようにするために使用できます。
Recursive
Default:0
Recursive
デフォルト:0
-
If set to
1
, the plugin searches all sub-folders updating only the file count, folder count and overall folder size. This option does not index specific files in sub-folders.に設定する1
と、プラグインはすべてのサブフォルダを検索し、ファイル数、フォルダ数、および全体のフォルダサイズのみを更新します。このオプションは、サブフォルダ内の特定のファイルを索引付けしません。If set to
2
, the plugin indexes all files in the folder tree defined in Path. Folders are not indexed. Plugin commands FollowPath and PreviousFolder are disabled, and ShowFile, ShowFolder, and ShowDotDot options have no effect.に設定されている2
場合、プラグインはPathで定義されたフォルダツリー内のすべてのファイルにインデックスを付けます。フォルダーは索引付けされていません。プラグインコマンド FollowPathおよびPreviousFolderは無効になり、ShowFile、ShowFolder、およびShowDotDotオプションは無効になります。 Count
Default:1
Count
デフォルト:1
-
The number of items to be indexed at one time.一度に索引付けされる項目の数。
ShowDotDot
Default:1
ShowDotDot
デフォルト:1
-
If set to
1
, the .. folder (representing the previous folder) will be included. Otherwise the .. folder is ignored.に設定する1
と、..フォルダ(前のフォルダを表す)が含まれます。そうしないと...フォルダは無視されます。 ShowFolder
Default:1
ShowFolder
デフォルト:1
-
If set to
0
, folders are ignored.に設定すると0
、フォルダは無視されます。Note: To control the .. folder, use ShowDotDot above.注意:制御するには...使用し、フォルダをShowDotDotを上記の。
ShowFile
Default:1
ShowFile
デフォルト:1
-
If set to
0
, files are ignored.に設定すると0
、ファイルは無視されます。 ShowHidden
Default:1
ShowHidden
デフォルト:1
-
If set to
0
, hidden files and folders are ignored.に設定すると0
、隠しファイルと隠しフォルダは無視されます。 ShowSystem
Default:0
ShowSystem
デフォルト:0
-
If set to
1
, protected operating system files are included.に設定すると1
、保護されたオペレーティングシステムファイルが含まれます。 HideExtensions
Default:0
HideExtensions
デフォルト:0
-
If set to
1
, file extensions are removed when used withType=FileName
.に設定した場合1
、ファイル拡張子は使用時に削除されType=FileName
ます。 Extensions
-
Semi-colon separated list of file extensions that limits the type of files to be included.含めるファイルの種類を制限するファイル拡張子のセミコロン区切りリスト。
Example: If
Extensions="jpg;png"
, only .jpg and .png files are included.例:の場合Extensions="jpg;png"
、.jpgファイルと.pngファイルのみが含まれます。 SortType
Default:Name
SortType
デフォルト:Name
-
Type of information to sort the entries by. Valid values are:
Name
,Size
,Type
,Date
.エントリをソートするための情報の種類。有効な値は以下のとおりですName
、Size
、Type
、Date
。 SortDateType
Default:Modified
SortDateType
デフォルト:Modified
-
File and folder date entry to use for sorting when
SortType=Date
. Valid values are:Modified
,Created
,Accessed
.ソートに使用するファイルとフォルダの日付エントリSortType=Date
。有効な値は以下のとおりです。Modified
、Created
、Accessed
。 SortAscending
Default:1
SortAscending
デフォルト:1
-
If set to
1
, the entries are sorted in ascending order. Otherwise a descending order is used.に設定する1
と、エントリは昇順でソートされます。それ以外の場合は降順が使用されます。 WildcardSearch
Default:*
WildcardSearch
デフォルト:*
-
Wildcards used to filter included files and/or folders. Standard
*
and?
characters can be used.含まれているファイルやフォルダをフィルタするために使用されるワイルドカード。標準*
と?
文字を使用できます。
Child measure options子ども対策の選択肢
Index
Default:1
Index
デフォルト:1
-
Index of the file or folder from the parent measure. This should not exceed the
Count
number in the parent measure. If it does, the items will wrap around. For example, ifCount=8
,Index=9
will be treated asIndex=1
.親メジャーからのファイルまたはフォルダのインデックス。これはCount
親指標の数を超えてはいけません。もしそうであれば、アイテムは回り込みます。例えば、の場合Count=8
、Index=9
として扱われIndex=1
ます。 IgnoreCount
Default:0
IgnoreCount
デフォルト:0
-
If set to
1
, the Index will represent the actual index of the file or folder in the list. This is useful to display a particular file or folder at all times (like the..
folder).に設定する1
と、インデックスはリスト内のファイルまたはフォルダの実際のインデックスを表します。これは特定のファイルやフォルダを常に表示するのに便利です(..
フォルダのように)。 Type
Default:FolderPath
Type
デフォルト:FolderPath
-
Type of information to obtain from the parent measure.親指標から取得する情報の種類。
Information for path returned by the parent measure親指標によって返されるパスの情報
FolderPath
: Path of folder returned in parent Path, with trailing "\"FolderPath
:フォルダのパスが末尾に "\"を付けて親パスに返されるFolderSize
: Size in bytes of folder returned in parent PathFolderSize
:親Pathに返されるフォルダーのサイズ(バイト)FileCount
: Count of files in folder returned in parent PathFileCount
:親Pathに返されたフォルダ内のファイル数FolderCount
: Count of folders in folder returned in parent PathFolderCount
:親Pathに返されたフォルダ内のフォルダ数
Information for object returned by the child Index number子によって返されるオブジェクトの情報インデックス番号
FileName
: Name of indexed object, folder or fileFileName
:索引付きオブジェクト、フォルダ、またはファイルの名前FileType
: Extension only with no "." for indexed file. Empty with folderFileType
:拡張子 "。"のみ 索引ファイル用。フォルダが空ですFileSize
: Size in bytes of indexed file. Empty with folderFileSize
:索引ファイルのサイズ(バイト)。フォルダが空ですFileDate
: System date of indexed object, folder or file. SeeDateType
for possible date typesFileDate
:インデックス付きオブジェクト、フォルダ、またはファイルのシステム日付。DateType
可能な日付の種類についてはを参照してください。FilePath
: Full path and name of indexed object, folder or file. No trailing "\" with foldersFilePath
:インデックス付きオブジェクト、フォルダ、またはファイルのフルパスと名前。フォルダの末尾に "\"を付けないPathToFile
: Full path up to indexed object, folder or file, with trailing "\")PathToFile
:インデックス付きオブジェクト、フォルダ、またはファイルまでの末尾に "\"を付けたフルパスIcon
: Full path and name of icon extracted from indexed object, folder or fileIcon
:インデックス付きオブジェクト、フォルダ、またはファイルから抽出されたアイコンのフルパスと名前
Note: If
Type=Icon
, the full path of the icon file is returned. See IconPath below. This can be used withMeasureName
orImageName
in an Image meter to display the icon.注:の場合Type=Icon
、アイコンファイルのフルパスが返されます。下記のIconPathを参照してください。これは、一緒に使用することができますMeasureName
またはImageName
アイコンを表示する画像メーターに。 DateType
Default:Modified
DateType
デフォルト:Modified
-
The date entry to retrieve from the parent measure when
Type=FileDate
. Valid values are:Modified
,Created
,Accessed
.親メジャーから取得する日付エントリType=FileDate
。有効な値は以下のとおりです。Modified
、Created
、Accessed
。 IconPath
-
Path and filename of the location (relative to the skin folder) to save icons when
Type=Icon
. If no path is given, the icons are saved in the skin folder and are named "iconX.ico", where "X" is the index number.アイコンを保存する場所のパスとファイル名(スキンフォルダに対する相対パス)Type=Icon
。パスが指定されていない場合、アイコンはスキンフォルダに保存され、 "iconX.ico"という名前が付けられます。 "X"はインデックス番号です。 IconSize
Default:Medium
IconSize
デフォルト:Medium
-
Size of the icon to save. Valid values are:
Small
(for 16x16),Medium
(for 32x32),Large
(for 48x48),ExtraLarge
(for 256x256).保存するアイコンのサイズ 有効な値はSmall
、Medium
(16Large
x 16の場合)、(32 x 32の場合)、(48 x 48の場合)、ExtraLarge
(256 x 256の場合)です。
Plugin Commandsプラグインコマンド
Parent measure commands親測定コマンド
Update
-
Updates the measure, reading the disk and recreating all values in the parent measure.メジャーを更新し、ディスクを読み取り、親メジャーのすべての値を再作成します。
Example:
LeftMouseUpAction=!CommandMeasure "ParentMeasureName" "Update"
例:LeftMouseUpAction=!CommandMeasure "ParentMeasureName" "Update"
PageUp
-
Decreases the current page count.現在のページ数を減らします。
For example, if
Count=8
, and there are 25 files in the list, there is a total of 4 pages. If items 8-15 (page 2) are being displayed, thePageUp
will decrease the page count by one changing the displayed items to items 0-7 (page 1).たとえばCount=8
、リストに25個のファイルがある場合、合計4ページになります。項目8〜15(2ページ)が表示されている場合はPageUp
、表示されている項目を項目0〜7(1ページ)に変更して、ページ数を1つ減らします。Example:
LeftMouseUpAction=!CommandMeasure "ParentMeasureName" "PageUp"
例:
LeftMouseUpAction=!CommandMeasure "ParentMeasureName" "PageUp"
PageDown
-
Increases the page count.ページ数を増やします。
IndexUp
-
Decreases the index by 1. This is useful for mouse scroll actions.インデックスを1つ減らします。これは、マウスのスクロール操作に役立ちます。
Example:
MouseScrollUpAction=!CommandMeasure "ParentMeasureName" "IndexUp"
例:MouseScrollUpAction=!CommandMeasure "ParentMeasureName" "IndexUp"
IndexDown
-
Increases the index by 1. This is useful for mouse scroll actions.インデックスを1つ増やします。これは、マウスのスクロール操作に役立ちます。
PreviousFolder
-
This will change the path to the folder one higher in the folder structure. Behaves like clicking on the .. folder.これにより、フォルダ構造の1つ上のフォルダへのパスが変更されます。..フォルダをクリックするのと同じように動作します。
Child measure commands子ども測定コマンド
FollowPath
-
If the index referenced in the child measure is currently a folder, then the parent measure's
Path
is updated to the new path. If it is a file, then it is opened with the default Windows associated application. In order to better simulate Windows behavior, it is recommended that this command be used with a double-click action.子数値データで参照されているインデックスが現在フォルダである場合、親数値データPath
は新しいパスに更新されます。ファイルの場合は、デフォルトのWindows関連アプリケーションで開かれます。Windowsの動作をよりよくシミュレートするために、このコマンドをダブルクリックアクションと共に使用することをお勧めします。Example:
LeftMouseDoubleClickAction=!CommandMeasure "ChildMeasureName" "FollowPath"
例:LeftMouseDoubleClickAction=!CommandMeasure "ChildMeasureName" "FollowPath"
Open
-
This will open the file or folder that the index represents. If it is a folder, the folder is opened in Windows Explorer. If it is a file, then it is opened with the default Windows associated application. In order to better simulate Windows behavior, it is recommended that this command be used with a double-click action.これにより、インデックスが表すファイルまたはフォルダが開きます。フォルダの場合、そのフォルダはWindowsエクスプローラで開かれます。ファイルの場合は、デフォルトのWindows関連アプリケーションで開かれます。Windowsの動作をよりよくシミュレートするために、このコマンドをダブルクリックアクションと共に使用することをお勧めします。
Example:
LeftMouseDoubleClickAction=!CommandMeasure "ChildMeasureName" "Open"
例:LeftMouseDoubleClickAction=!CommandMeasure "ChildMeasureName" "Open"
Other commandsその他のコマンド
ContextMenu
-
Opens the context menu for the item represented by the measure. The context menu will appear at the current mouse location if the mouse is hovering over the skin, otherwise it will appear at the top left corner of the skin. This command can be used on a parent or child measure.数値データによって表される項目のコンテキストメニューを開きます。マウスがスキンの上にある場合はコンテキストメニューが現在のマウス位置に表示されます。それ以外の場合はコンテキストメニューがスキンの左上隅に表示されます。このコマンドは、親または子のメジャーに使用できます。
Example:
!CommandMeasure "MeasureName" "ContextMenu"
例:!CommandMeasure "MeasureName" "ContextMenu"
Parent measures have the extra ability to open the context menu for a manually defined file/folder. See the example below.親メジャーには、手動で定義されたファイル/フォルダのコンテキストメニューを開くための追加の機能があります。下記の例をご覧ください。
Example:
!CommandMeasure "ParentMeasureName" "ContextMenu C:\Some Folder\Some File.exe"
例:!CommandMeasure "ParentMeasureName" "ContextMenu C:\Some Folder\Some File.exe"
Note: Place quotes around the entire command and path. Extra quotes are not needed for paths that contain spaces.注:コマンドとパス全体を引用符で囲みます。スペースを含むパスには追加の引用符は不要です。
Properties
-
Opens the property dialog for the item represented by the measure. This can be a parent or child measure.メジャーによって表される項目のプロパティダイアログを開きます。これは親または子の尺度になります。
Example:
!CommandMeasure "MeasureName" "Properties"
例:!CommandMeasure "MeasureName" "Properties"
Parent measures have the extra ability to open the property dialog for a manually defined file/folder. See the example below.親メジャーには、手動で定義されたファイル/フォルダのプロパティダイアログを開くための追加の機能があります。下記の例をご覧ください。
Example:
!CommandMeasure "ParentMeasureName" "Properties C:\Some Folder\Some File.exe"
例:!CommandMeasure "ParentMeasureName" "Properties C:\Some Folder\Some File.exe"
Note: Place quotes around the entire command and path. Extra quotes are not needed for paths that contain spaces.注:コマンドとパス全体を引用符で囲みます。スペースを含むパスには追加の引用符は不要です。
Example例
[Rainmeter] |
関連記事
- Redirect to measures 対策へのリダイレクト
- UsageMonitor plugin UsageMonitorプラグイン
- Redirect to measures 対策へのリダイレクト
- Deprecated plugins 廃止予定のプラグイン
- WindowMessage plugin WindowMessageプラグイン
- Win7Audio plugin Win7Audioプラグイン
- WiFiStatus plugin WiFiStatusプラグイン
- SysInfo plugin SysInfoプラグイン
- SpeedFan plugin SpeedFanプラグイン
- RunCommand plugin RunCommandプラグイン
- ResMon plugin ResMonプラグイン
- Quote plugin 見積もりプラグイン
- Process plugin プロセスプラグイン
- Power plugin 電源プラグイン
- Ping plugin pingプラグイン
- InputText plugin InputTextプラグイン
- FolderInfo plugin FolderInfoプラグイン
- CoreTemp plugin CoreTempプラグイン
- AudioLevel plugin AudioLevelプラグイン
- ActionTimer plugin ActionTimerプラグイン
スポンサーリンク