View Single Post
Old 5th October 2004, 00:58   #111
Major Dude
Join Date: Jan 2004
Location: Brisbane, Australia
Posts: 1,193

Added Arguments and Description(rw) properties to SiteManager.

Description allows you to set/get the text used in the running scripts dialog.

Arguments allows you to obtain the arguments passed by 'RunScript', which now takes an 'arguments' paramater.

The running scripts dialog lets you pass arguments to opened scripts.

Allows you to run scripts from the playlist through 'script:\' items. You can also pass arguments, check out the pause and closewinamp examples to see what I mean.

(scripts run in this manner will get a "-pos=x" argument indicating the position in the playlist it was run from. You should use this instead of playlist.position because it is threaded and may have changed by the time you read it in).

Un-done some thread fixes which werent needed.

Fixed 'Quit' a bit more, plus some problems with scripts with errors not quitting properly.

A few more example scripts.
Attached Files
File Type: zip (98.3 KB, 1088 views)
shaneh is offline   Reply With Quote