Quote plugin 見積もりプラグイン

Plugin=QuotePlugin Retrieves a random value from one of two kinds of resources:Plugin=QuotePlugin2種類のリソースのうちの1つからランダムな値を取得します。

  • A random string value (by default a single line) from a text file.テキストファイルからのランダムな文字列値(デフォルトでは1行)。
  • A random file path and and name selected from a folder.ランダムなファイルパスとフォルダから選択された名前。

The most common uses of the plugin are to either retrieve and display a random line of text from a text file of quotes, or to retrieve and display a random image file from a folder.プラグインの最も一般的な用途は、引用符のテキストファイルからランダムなテキスト行を取得して表示すること、またはフォルダからランダムな画像ファイルを取得して表示することです。

Optionsオプション

General measure options一般的な測定オプション
All general measure options are valid.一般的な測定オプションはすべて有効です。
PathName
Path of a file or a folder.
  • If the specified path is a file, the measure value is a random part of a text file and the Separator option is valid for use.指定されたパスがファイルの場合、数値データはテキストファイルのランダムな部分であり、このSeparatorオプションは使用に有効です。
  • If the specified path is a folder, the measure value is the path and name of a random file in the folder and the Subfolders and FileFilter options are valid for use.指定されたパスがフォルダーの場合、メジャー値はフォルダー内のランダムファイルのパスと名前であり、SubfoldersFileFilterオプションは使用に有効です。
Separator Default: #CRLF#Separator デフォルト: #CRLF#
Delimiter used to separate text. By default, the delimiter is a newline (carriage return / linefeed).区切り文字はテキストを区切るために使用されます。デフォルトでは、区切り文字は改行(キャリッジリターン/ラインフィード)です。
Subfolders Default: 1Subfolders デフォルト: 1
If set to 1, subfolders of PathName are also used.に設定すると1、のサブフォルダPathNameも使用されます。
FileFilter
If specified, only file names matching a semicolon ; delimited list of filters are taken into account. The standard wildcard characters * and ? can be used.

Example: *.jpg;*.png;*.gif指定した場合、セミコロンで;区切られたフィルタのリストと一致するファイル名のみが考慮されます。標準のワイルドカード文字*?を使用できます。

例: *.jpg;*.png;*.gif

Example

[Rainmeter]
Update=1000

[MeasureRandomImage]
Measure=Plugin
Plugin=QuotePlugin
PathName=%HOMEDRIVE%%HOMEPATH%\Pictures\
Subfolders=1
FileFilter=*.jpg;*.png;*.gif
UpdateDivider=30

[MeterRandomImage]
Meter=Image
MeasureName=MeasureRandomImage
X=0
Y=0
W=200
PreserveAspectRatio=1

関連記事

スポンサーリンク

AVG関数 平均を求める

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

上に戻る