I like the idea of a collaborative effort.
I don't know about ShaneH - He may be working best on his own,
but I would be happy If you and me decided to share code,
and create something beatuful together ..hmmm, what's that suppose to mean
I know that you don't intend to have a dialog in a finished version.
It will basically be the same with NxS Script Control
, but I like to
give users the ability to edit and manage scripts inside Winamp, instead of
having both Explorer and Notepad open.
NxS Script Control (new version below) detects which script engine to use
by reading the script itself. The user must place a comment at the first line
to indicate which script type it is.
'@Language = VBScript
/*@Language = JScript*/
If such a comment isn't found then it will use the file's extension to select
the engine. But this sucks since I would have to maintain a list of known
extension like vbs, js, psc (PersScript) and more.
You could also just try to parse the script using one engine after the other until
an engine parsed it successfully, but then all scripts would have to be flawless.
I will always include the source code with my plugins keeping it open-source.
Please take time reading the source for NxS Script Control
give me feedback (private message on forum or e-mail) on it. It will help me improve my
coding skills and who know, maybe you will learn something too...