NoteWorthy Composer Forum

Forums => Tips & Tricks => User Tools => Topic started by: Rick G. on 2007-05-13 07:06 pm

Title: User Tools and the Registry
Post by: Rick G. on 2007-05-13 07:06 pm
NWC2 stores a wealth of information in the Registry. VBScript and JScript can read and write this information. Unfortunately, NWC2 doesn't fully update changes exept when NWC2 is opened or closed.

If NWC2 would fully update before and after running a User Tool, the capabilities of User Tools could be greatly expanded. A Tool could:


Another limit to User Tools is that the Tool doesn't know if the clip represents a selection of:
nor does it know where the cursor is.

If this info could be passed in the clip, User Tools could be more flexible in their actions.
If a Tool knows that it has the beginning of a staff, it knows it has the context (TimeSig, Key, Clef), and can do many more things with confidence.
Title: Re: User Tools and the Registry
Post by: kahman on 2007-05-13 09:51 pm
I do support these ideas, though they would cause incompatibilities with the current system, perhaps if there was something in the script saying if it was "old" or "new".
And if only the starter kit came with something other than PHP... (sigh)
Title: Re: User Tools and the Registry
Post by: Rick G. on 2007-05-13 10:12 pm
And if only the starter kit came with something other than PHP... (sigh)
VBScript and JavaScript are built into Windows with free updates from M$.
Examples are here, in the beta newsgroup and in the Scrpto.
Title: Re: User Tools and the Registry
Post by: Lawrie Pardy on 2007-05-13 10:20 pm
G'day Kahman,
I, too, support these ideas.

RE starter kit - just 'cos the kit uses php doesn't mean you are limited to using php.  Rick has many tools written in VBScript, some released here in the Forum and others in the NG.

I have many tools in my collection by many authors written in various languages:
php (of course)
vbscript
perl
even an executable... (Notewhizzy which copies articulations, rhythm, slurs, dynamics etc. from one bar to the bars after it.)


Anything that can parse text from stdin and output via stdout and stderr as a "console mode program" (they run on the command line, not via a graphical user interface) will do...
Title: Re: User Tools and the Registry
Post by: kahman on 2007-05-15 11:07 am
Read my post as:
Quote
I only know one computer language and if I'm too lazy to learn a second one, so I won't share any tools!  ;-)