fong1sky Posted February 20, 2007 Share Posted February 20, 2007 Can anyone list out the functions provided in active winamp? Thank you Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted February 20, 2007 Author Moderators Share Posted February 20, 2007 Can anyone list out the functions provided in active winamp?Thank youLook in your "C:\Program Files\Winamp\Plugins\" folder for the "gen_activewa.chm" file. That contains all the currently available functions. Link to comment Share on other sites More sharing options...
fong1sky Posted June 9, 2007 Share Posted June 9, 2007 Thanks. But I still not quite sure how to use it. Can you please tell me how can I specify WinAMP to play songs? Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 11, 2007 Author Moderators Share Posted June 11, 2007 Thanks. But I still not quite sure how to use it.Can you please tell me how can I specify WinAMP to play songs?Did you try the example in the first post? Link to comment Share on other sites More sharing options...
ZoScr Posted June 30, 2008 Share Posted June 30, 2008 I want to write a song logger for Winamp. Basically, to have Winamp append to a log file every time Winamp starts playing a new track. I've already seen the sample VBS code at the ActiveWinamp site that basically does this. And I understand how the AutoIt code here works. Here's the thing: I want this to work even if I'm running multiple copies of Winamp. The way the approach here works, it attaches to one copy of Winamp. What happens if there are 5 copies running? Can one, or many, scripts be run, to react to the changed event across multiple Winamps? Or, is this a limitation of ActiveWinamp, and only one ActiveWinamp.Application object ever exists? Any ideas? Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 30, 2008 Author Moderators Share Posted June 30, 2008 I want to write a song logger for Winamp. Basically, to have Winamp append to a log file every time Winamp starts playing a new track.I've already seen the sample VBS code at the ActiveWinamp site that basically does this. And I understand how the AutoIt code here works.Here's the thing: I want this to work even if I'm running multiple copies of Winamp. The way the approach here works, it attaches to one copy of Winamp. What happens if there are 5 copies running? Can one, or many, scripts be run, to react to the changed event across multiple Winamps? Or, is this a limitation of ActiveWinamp, and only one ActiveWinamp.Application object ever exists?Any ideas?I do not have time to research it at this time, but if you do the footwork I'll answer any question I can. I'm guessing the approach IE.au3 and Word.au3 take to attach to existing documents would be a good starting point. Link to comment Share on other sites More sharing options...
weaponx Posted June 30, 2008 Share Posted June 30, 2008 I want to write a song logger for Winamp. Basically, to have Winamp append to a log file every time Winamp starts playing a new track.I've already seen the sample VBS code at the ActiveWinamp site that basically does this. And I understand how the AutoIt code here works.Here's the thing: I want this to work even if I'm running multiple copies of Winamp. The way the approach here works, it attaches to one copy of Winamp. What happens if there are 5 copies running? Can one, or many, scripts be run, to react to the changed event across multiple Winamps? Or, is this a limitation of ActiveWinamp, and only one ActiveWinamp.Application object ever exists?Any ideas?Why don't you just refer to the Media Library History? It tracks every file and play count. Settings can be found in Preferences > Media Library > History Link to comment Share on other sites More sharing options...
ZoScr Posted July 1, 2008 Share Posted July 1, 2008 I'm guessing the approach IE.au3 and Word.au3 take to attach to existing documents would be a good starting point.Thanks for the suggestion. That seems to work for attaching to various windows within a single application's MDI. But in the Winamp case, each Winamp process is separate, so the ObjGet call would just attach to one process. Link to comment Share on other sites More sharing options...
ZoScr Posted July 1, 2008 Share Posted July 1, 2008 Why don't you just refer to the Media Library History? It tracks every file and play count. Settings can be found in Preferences > Media Library > HistoryThanks for that idea. But, I'm looking to write my plays to a log file (or, in some other way, send info on each new track play outside of Winamp). This has to be used inside of Winamp. And the history file (recent.dat and recent.idx) is a proprietary format.Is there a way to get this info via automation? Of course, I'm then back to the same problem: How can I attach to multiple processes which are all generating track change info? Link to comment Share on other sites More sharing options...
ZoScr Posted July 1, 2008 Share Posted July 1, 2008 I want to write a song logger for Winamp. Basically, to have Winamp append to a log file every time Winamp starts playing a new track.I've already seen the sample VBS code at the ActiveWinamp site that basically does this. And I understand how the AutoIt code here works.Here's the thing: I want this to work even if I'm running multiple copies of Winamp. The way the approach here works, it attaches to one copy of Winamp. What happens if there are 5 copies running? Can one, or many, scripts be run, to react to the changed event across multiple Winamps? Or, is this a limitation of ActiveWinamp, and only one ActiveWinamp.Application object ever exists?Never mind! I just did more ActiveWinamp RTFM (actually, I Used The Source), and realized that if you name a script startup_*.vbs, it'll automatically run it when Winamp launches. So, I tweaked the included logsong.vbs to not hold the log file open between writes, and I've got exactly what I want now!Thanks everyone. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now