Skip to main content
Topic: Printout of Songs (Read 4228 times) previous topic - next topic

Printout of Songs

I have several songs in my noteworthy file. How can I get a printout of what is in there?

 

Re: Printout of Songs

Reply #1
If you put the attached file into your top level folder where you store your Noteworthy files.
You will need to rename it as mf.bat (this forum will not allow me to post batch files - to rename, highlight the name, press F2 and then change .txt to .bat ).

When you have renamed it,  double click it. It will create a file called dir1.txt which will contain details of all of your Noteworthy files in that folder and any folder sitting underneath.
You can then print out this file.

(There are other ways - but this is quite easy)

Rich.


Rich.

Re: Printout of Songs

Reply #2

I was wondering what lighthouse meant with that.
I see Rich interpreted it as "in my noteworthy directory".

Rich, your dir command lists only the file names. Not the best even for the files from the scripto! ;-)

I was instead thinking about NWCINFO.
The problem is that the latest version I have is the 2.02.14 of the 2007 and it's unable to parse the newer files.
I made a search in the NWC site but I obtained 0 matches. Apparently that tool is discontinued.
Is it there an alternative way? I can't find it.

Re: Printout of Songs

Reply #3
I Apparently that tool is discontinued.
Is it there an alternative way? I can't find it.

Yes, it is discontinued I think and yes, there is an alternative way.

But I did say

(There are other ways - but this is quite easy)

I didn't want to get into more complex areas without knowing exactly what "lighthouse" meant.

However, since you have now asked, you can use NWC-CONV

If you use this with the following parameters
nwc-conv.exe  nwcfilename info

it will give you the file information including Title, Author, Lyricist, Copyright fields, play time, fonts used, NWC Version and the ANSI code page.

If you want to use it with the beta files, then you also have to include the parameter     -t . Note that this will only work if you have the beta installed.

Now - that will give you the info for one file. If you want to do all of the files in a folder, then you need to get into the realms of dos batch files with for / next loops which gets more complex and as I said earlier, the method I suggested was quite easy - This could get complex for a folder/subfolders.

nwc-conv.exe is installed into the nwc2 program directory when you install the licenced version of Noteworthy.

HTH




Rich.


Re: Printout of Songs

Reply #5
Ha! I tried it but I was fooled by the NWC-CONV  help.
It says nothing about the "info" option!

Quote
nwc-conv: version 2.5
This program is a front end command to the file convert options
available in the main NoteWorthy Composer 2 program.

Usage: nwc-conv IN_FMT OUT_FMT [-h|-v|-t|-0|-1]

IN_FMT
    This specifies the input file or format that will be used.
    This can be the name of a *.nwc or *.nwctxt file, or if
    STDIN is used, it should indicate "NWC" or "NWCTXT".

OUT_FMT
    This specifies the output file or format that will be used.
    The format can be one of NWC, NWCTXT, MID, or INFO, but may
    not be the same as the IN_FMT. This can be the name of the
    intended output file, or just the the format name if STDOUT
    is used.

-h  Shows this help message
-v  Shows the program name and version
-t  Conversion process will use "NWC2Test" program
-0  Use type 0 when converting to MIDI
-1  Use type 1 when converting to MIDI

Example: nwc-conv NWCTXT "out\test.mid" -1
    This creates a Type 1 MIDI file using the NWCTXT text
    provided on standard input (STDIN)

Example: nwc-conv "in\test.nwc" NWCTXT > "out\test.nwctxt"
    This converts the test.nwc file into NWCTXT which is sent
    via standard output (STDOUT) to a test.nwctxt file

NWC2 Instance: C:\PROGRA~1\NOTEWO~1\nwc2.exe

Re: Printout of Songs

Reply #6
Yes it does !

Quote
OUT_FMT
    This specifies the output file or format that will be used.
    The format can be one of NWC, NWCTXT, MID, or INFO, but may
    not be the same as the IN_FMT. This can be the name of the
    intended output file, or just the format name if STDOUT
    is used.
Rich.

Re: Printout of Songs

Reply #7
Yuk!
Apparently my brain is on holidays.
Thank you, Rich.

A quote from the Decamerone: "This pebble is magic. Put it under your tongue and nobody will see you where you're not..." :-)