WindowMessage plugin WindowMessageプラグイン
Plugin=WindowMessagePlugin
can be used to send and receive information from other applications. It can send window messages to other applications and show the result. For example, the plugin can be used to control WinAmp or some similar media players.Plugin=WindowMessagePlugin
他のアプリケーションと情報を送受信するために使用できます。ウィンドウメッセージを他のアプリケーションに送信して結果を表示することができます。たとえば、このプラグインを使用してWinAmpなどのメディアプレーヤーを制御できます。
Optionsオプション
- General measure options一般的な測定オプション
- All general measure options are valid.一般的な測定オプションはすべて有効です。
WindowName
-
The name of the window. This is used to identify the window. It's not necessary to set this if the
WindowClass
is set.ウィンドウの名前 これはウィンドウを識別するために使用されます。が設定されている場合WindowClass
は設定する必要はありません。 WindowClass
-
The class of the window. This is used to identify the window. It's not necessary to set this if the
WindowName
is set.ウィンドウのクラス これはウィンドウを識別するために使用されます。が設定されている場合WindowName
は設定する必要はありません。 WindowMessage
-
This is the message to be send to the window. You need to define 3 parameters to where the first one is the
message
and the next ones arewParam
andlParam
. Both wParam and lParam are unsigned decimal integers. The measure returns the value returned by the SendMessage API function. If theWindowMessage
is not given, the measure returns the window's current title.これはウィンドウに送信されるメッセージです。最初のものがmessage
で、次のものがwParam
and であるところに3つのパラメータを定義する必要がありlParam
ます。wParamとlParamはどちらも符号なし10進整数です。このメジャーは、SendMessage API関数によって返された値を返します。WindowMessage
が与えられていない場合、メジャーはウィンドウの現在のタイトルを返します。
Bangs前髪
Messages can also be sent on demand with the !CommandMeasure bang. The arguments are similar that of the WindowMessage
option. !CommandMeasure "MeasureName" "SendMessage Msg wParam lParam"
!CommandMeasure bangを使用して、メッセージをオンデマンドで送信することもできます。引数はWindowMessage
オプションのものと似ています。!CommandMeasure "MeasureName" "SendMessage Msg wParam lParam"
Examples例
The following example returns the name of the song that is playing in WinAmp.次の例では、WinAmpで再生している曲の名前を返します。
[MeasureWinamp] |
Check if Winamp is playing, or not. The following example returns 0
if it's not playing, 1
if it is playing, and 3
if it's paused.Winampが遊んでいるかどうか確認してください。次の例は0
、再生されていない1
場合、再生されている3
場合、および一時停止されている場合に返されます。
[MeasureWinampPlaying] |
Show song progress. In the following example, the [MeasureWinampDuration]
will return the current song position as a value between 0
and 1
. Then you can use the Bar meter to display the value.曲の進行状況を表示します。次の例では、[MeasureWinampDuration]
との間の値と現在の曲の位置が返されます0
とを1
。その後、バーメーターを使用して値を表示できます。
[MeasureWinampFull] |
関連記事
- Redirect to measures 対策へのリダイレクト
- UsageMonitor plugin UsageMonitorプラグイン
- Redirect to measures 対策へのリダイレクト
- Deprecated plugins 廃止予定のプラグイン
- 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プラグイン
- FileView plugin FileViewプラグイン
- CoreTemp plugin CoreTempプラグイン
- AudioLevel plugin AudioLevelプラグイン
- ActionTimer plugin ActionTimerプラグイン
スポンサーリンク