View Single Post
Old 15th April 2006, 23:30   #362
Major Dude
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 1,193
@breakhead: getselection is broken for the latest versions of Winamp. Be sure to use the .dll from the CVS for the fixes to this and other problems. You can, and should, exit a script with 'Quit'. You can see the running scripts through the preferences window of the plugin.

Sub Application_ChangedTrack

is an event function, it gets called everytime the track changes. You have the script run at startup, and by having this event function, AW will automatically call your function every time the track changes. Call 'quit' to exit the script.

Alternatively, you can have a 'script:/' entry in your playlist, which will actually call a script file when winamp gets to it in your playlist, which is probably a better solution.
shaneh is offline   Reply With Quote