Script Files

Scripting support is done through the following files, where xxx is the name of the script:

playlist_xxx.vbs

The item appears in the “scripts” context menu for the playlist.

sendto_xxx.vbs

The item appears in the “sendto” context menu for the playlist and within the media library.

startup_xxx.vbs

The script will run when winamp first starts.

Script:

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.

Events

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.

 
activewinamp/notes.txt · Last modified: 2006/11/06 06:44
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Music Plugins