Scripting support is done through the following files, where xxx is the name of the script:
The item appears in the “scripts” context menu for the playlist.
The item appears in the “sendto” context menu for the playlist and within the media library.
The script will run when winamp first starts.
Items in the playlist named “script:\ will invoke the script specified from within the scripts directory, with the argument “-pos=x” where x is the position in the playlist that it was invoked from. You may pass other arguments too. eg:
script:\timeout_pausex.vbs -timeout=10000
will invoke the script “timeout_pausex.vbs” with the arguments “-timeout=1000 -pos=x”. See the argument parsing example for more help.
Remember to “quit” your scripts when they are done. ActiveWinamp will leave your script in a running state otherwise, so that it can respond to events if necessary.