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.
- General measure options
- All general measure options are valid.
The name of the window. This is used to identify the window. It's not necessary to set this if the
The class of the window. This is used to identify the window. It's not necessary to set this if the
This is the message to be send to the window. You need to define 3 parameters to where the first one is the
messageand the next ones are
lParam. Both wParam and lParam are unsigned decimal integers. The measure returns the value returned by the SendMessage API function. If the
WindowMessageis not given, the measure returns the window's current title.
Messages can also be sent on demand with the !CommandMeasure bang. The arguments are similar that of the
!CommandMeasure "MeasureName" "SendMessage Msg wParam lParam"
The following example returns the name of the song that is playing in WinAmp.
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.
Show song progress. In the following example, the
[MeasureWinampDuration] will return the current song position as a value between
1. Then you can use the Bar meter to display the value.