Custom:Interop Actions
From Unified Remote
Contents |
Send (with class and/or title)
Performs the Windows SendMessage function using Window class name and/or title.
Extras:
- Class: window class name
- Title: window title
- Message: integer
- W: integer wparam
- L: integer lparam
Example:
<Actions>
<Action Name="foo">
<ActionRef Name="Send" Target="Interop">
<Extra Name="Class">WMPlayerApp</Extra>
<Extra Name="Title">Windows Media Player</Extra>
<Extra Name="Message">273</Extra>
<Extra Name="W">18808</Extra>
<Extra Name="L">0</Extra>
</ActionRef>
</Action>
</Actions>
The Class or Title extra can be omitted if unknown. For example, some programs have a changing title.
Send (with process)
Performs the Windows SendMessage function using process.
Extras:
- Process: process name
- Message: integer
- W: integer wparam
- L: integer lparam
Example:
<Actions>
<Action Name="foo">
<ActionRef Name="Send" Target="Interop">
<Extra Name="Process">wmplayer</Extra>
<Extra Name="Message">273</Extra>
<Extra Name="W">18808</Extra>
<Extra Name="L">0</Extra>
</ActionRef>
</Action>
</Actions>
Post (with class and/or title)
Performs the Windows PostMessage function using Window class name and/or title.
Extras:
- Class: window class name
- Title: window title
- Message: integer
- W: integer wparam
- L: integer lparam
Example:
<Actions>
<Action Name="foo">
<ActionRef Name="Post" Target="Interop">
<Extra Name="Class">WMPlayerApp</Extra>
<Extra Name="Title">Windows Media Player</Extra>
<Extra Name="Message">273</Extra>
<Extra Name="W">18808</Extra>
<Extra Name="L">0</Extra>
</ActionRef>
</Action>
</Actions>
Post (with process)
Performs the Windows PostMessage function using process.
Extras:
- Process: process name
- Message: integer
- W: integer wparam
- L: integer lparam
Example:
<Actions>
<Action Name="foo">
<ActionRef Name="Post" Target="Interop">
<Extra Name="Process">wmplayer</Extra>
<Extra Name="Message">273</Extra>
<Extra Name="W">18808</Extra>
<Extra Name="L">0</Extra>
</ActionRef>
</Action>
</Actions>