HOW TO: Control WinAMP from Directory Opus

PHPBB_IMPORT_WARNING CODE_NEAR_LI

The WinAMP plugin used in this post has been lost and we're not sure which of the many similar plugins on the web are the right one.

We've removed this post from the main list of FAQs, but haven't deleted it just in case the information is still useful to someone searching the forum.

Summary : You can set up toolbar buttons that use the DDE features of Opus to control WinAMP.

It is simple to set up toolbar buttons or hotkeys within Opus to control WinAMP.

First, you need to download this DDE plug-in for WinAMP. This is a zip file - access it through Opus and copy the enclosed DLL to the WinAMP plug-in directory (usually C:\Program Files\WinAMP\Plugins). This plug-in adds DDE capability to WinAMP, allowing it to be controlled by external programs.

The next step is to create a button in a toolbar (or add a hotkey) to send a command to WinAMP.

[ul][li]Select Customize from the Settings menu.[/li]
[li]Right-click on an empty space in a toolbar, choose New Button, and then double-click on the newly created button to edit it; or, to create a hotkey, click the Keys tab and then the New button.[/li]
[li]Enter the string "WinAMP Play" for the label (or another label of your choosing).[/li]
[li]Assign a hotkey if applicable, and enter a description for the command if you wish.[/li]
[li]Click the Advanced button to switch to advanced mode.[/li]
[li]Enter the following function definition:

ddeexec [play] ddeapp WINAMP ddetopic System "C:\Program Files\WinAMP\WinAMP.exe" /dde[/li]
[li]Click OK and then Close on the Customize dialog to return to normal Opus operation.[/li][/ul]

This button will send a play command to WinAMP when clicked (or when the hotkey is pressed). You can create additional buttons to send other WinAMP commands by substituting the appropriate command for the [play] string in the function definition. A list of supported commands can be found in the readme.txt file in the gen_dde.zip plug-in.

(This plug-in was reproduced from http://www.nunzioweb.com/sawgstuff/ - Please see this site for further details.)

There is an example Opus toolbar and images for common WinAMP functions available for download here.

This HOW TO, the sample toolbar and button images were submitted by Hendrik Boekje.