Skip to main content
Topic: NWC2 User Tools V1.11 (Read 6161 times) previous topic - next topic

NWC2 User Tools V1.11

Oh, my sweet redeemer, I am blessed.  I just discovered the "Adp" (parts) script in User Tools.  I don't know how to give my thanks to the author except for hoping he'll read this message here.  If he does, THANK YOU.

And the NoteWorthy Composer team, THANK YOU for including the user tools!  This looks like it's a wonderful addition with its several helpful scripts.

(Heh, just FYI, I've put in a significant number of songs in two versions--one formatted for print, and one with each part separated for playing.  Guess how I separated all the parts on these 10's and 100's of songs?  Yup!  Copy each staff to another and delete each unneeded note one at a time!)

Re: NWC2 User Tools V1.11

Reply #1
I'll double that endorsement. Separating piano chords for SATB harmony just got its pain factor reduced.

Re: NWC2 User Tools V1.11

Reply #2
I have tried to use some of the tools (i.e., I double click on a *.php file), but all I get is a small black window.  Nothing happens.  I can type words such as "help", "run", or "exit" followed by Enter, but still nothing happens.  I am using XP Professional version.

Although I have several scripts written for macro processing in a text editor, they would me more useful in php if I can ever get it off the ground.  TIA
Since 1998


Re: NWC2 User Tools V1.11

Reply #4
Thank you.  That cleared it up.  Now to try to transcribe my Semware tools.

Re: NWC2 User Tools V1.11

Reply #5
What? You don't say! You use TSE? And what tools have you written? Please share!
Rob.

Re: NWC2 User Tools V1.11

Reply #6
What limited tools I have are
here.  The one which removes all digits from the clipboard I've used for years to line up text in choral works.  I make the measure number part of the syllable every so often.  If the text lines up in measure 25 but not in measure 30, I just have to check those five measures for missing hyphens, words, slurs, etc.  Another fixes triplets from imported midi files and the other one adds measure numbers as text (but it needs to do it after the bar line.

Re: NWC2 User Tools V1.11

Reply #7
Eric told me about developer instructions being here, but can anyone add to that list?  No reason for everyone to reinvent the wheel.

TIA

Re: NWC2 User Tools V1.11

Reply #8
Is there some instruction that goes with these new user tools?  I can't make head nor tail out of what they are or what they can do. The dialogue in this thread is like a foreign language to me. I have downloaded the starter kit and can access the tools - options - user tool command, but thats where it ends for me. Any suggestions?

Re: NWC2 User Tools V1.11

Reply #9
> can anyone add to that list?

The link to the user tool help does not contain any sort of list.

Users are free to create their own tools, and add them to the user tool list using the New button. You can also add scripts written by others, but you should make sure that you know what a tool does before installing it.

Re: NWC2 User Tools V1.11

Reply #10
Kevin P said: "Oh, my sweet redeemer, I am blessed. I just discovered the "Adp" (parts) script in User Tools. I don't know how to give my thanks to the author except for hoping he'll read this message here. If he does, THANK YOU."

My pleasure, Kevin. Which particular user tool "did it" for you? :)

Hi Robert. Glad the parts thingy did the job.

Warren, do your semware tools try and interpret NWC files? What a huge amount of work must have gone into that.

If I interpret your question (about not reinventing the wheel) and also DGF's question. Can I refer you both to the Scriptorium's new nwc2script page?

Several people of different 'thinking models' to myself have asked for better documentation. I do hope to provide it sometime in the future, but haven't yet found the time to devote to it. Hopefully if you think differently to me you can remodel your thinking so that my documentation will be helpful. :-)

Regards,
A

Re: NWC2 User Tools V1.11

Reply #11
I don't try to interpret NWC files, just what is copied to the clipboard.  Once done, the entire edit space needs to be copied back to the clipboard and copied back onto the NWC staff currently being worked on.  That is automatic in my "remove digits" macro, but must be done "by hand" on the others.

Re: NWC2 User Tools V1.11

Reply #12
I don't know if I can pick up the adp language or not;  it takes a lot of time I'm kinda short of.  I'm in a mass choir doing the Verdi Requiem at Carnagie on June 7 so will be out of pocket for a while.

Looked at changing the arpeggio script to not do the top note.  It works for three note or more chords but not for two when the beaming instructions wouldn't be needed.

One request for a new script though, something to hide every rest which has not been moved.  This would be helpful for layered staves or a tempo track.

I've some ideas for a pentuplet script, but it's not ready yet.

Re: NWC2 User Tools V1.11

Reply #13
A VBScript version for you. Save the file as "HideUnmovedRests.vbs" in scripts\

'Name:    Hide Unmoved Rests
'Command: wscript scripts\HideUnmovedRests.vbs

Set StdErr = WScript.StdErr
Set StdIn = WScript.StdIn
Set StdOut = WScript.StdOut

While Not StdIn.AtEndOfStream
LineIn = StdIn.ReadLine
If Left(LineIn,6) = "|Rest|" then
LinePos = InStr(LineIn, "VertOffset")
If LinePos = 0 then
Count = Count + 1
LinePos = InStr(LineIn, "Visibility")
If LinePos = 0 then
LineIn = LineIn & "|Visibility:Never"
else
Select Case mid(LineIn, LinePos + 11, 1)
Case "A"
LineIn = Replace(LineIn, "Always", "Never")
Case "T"
LineIn = Replace(LineIn, "TopStaff", "Never")
Case "N"
'Already hidden
End Select
End If
End If
End If
StdOut.WriteLine LineIn
Wend
MsgBox Count & " unmoved dynamics now hidden"

 

Re: NWC2 User Tools V1.11

Reply #14
Hi Peter,
neat!  I like the message box too.  A bit of feedback is always welcome.

For those who have the current version of Andrews' Global_Mod the following syntax will do the same thing:

php\php.exe scripts\adp_GlobalMod.php Rest,!Opts.VertOffset Visibility=Never

Lawrie