Old 4th December 2005, 15:48   #1
Junior Member
Join Date: Jun 2001
Posts: 37
WinAmp Agent & Associations

In order to get the desired behavior from WinAMP when opening associated files, I had to add a /class statement to each file association (at least the assoc that I found). As you can imagine, that’s a real pain. Worse however is I fully expect WMP to take over the file assoc at its first chance. WinAMPA.exe, of course, can re-associate the files, but it won’t (afaik) add the necessary /class statement.

So, I was thinking about writing a vbscript or VB6 app that frequently searches the registry for the string “c:\program files\winamp.exe” and, if the /class statement isn’t there, replace the string to include the class statement. (I have a COM object that can do the reg search/replace).

However, rather than simple search & replace, it seems that there may be a more definitive method to find & replace the associations. Before/If I get started, can some one explain to me how winamp knows what files to associate and what key(s) the association needs to be made in? Or, where I can find this info?
bdmagee is offline   Reply With Quote
Old 4th December 2005, 15:57   #2
Join Date: Sep 2003
Posts: 27,873
it associates based on what the installed input plugins inform it are supported. the config_extlist entry in the [winamp] section of winamp.ini also includes the currently associated entries from the file types preferences page.

DrO is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump