NoteWorthy Composer Forum

Forums => Tips & Tricks => User Tools => Topic started by: Rick G. on 2011-01-09 08:47 pm

Title: rg_Info.php - Tool to show version of current song
Post by: Rick G. on 2011-01-09 08:47 pm
Sometimes it is useful to know what version of NWC was used to create a file.
This little tool may help.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Richard Woodroffe on 2011-01-09 09:21 pm
Thanks Rick.

All working well.  Good to have this, rather than dropping into command mode to run nwc-conv.

Cheers
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Haymo on 2011-01-10 06:57 am
Rick,
this can be very useful.

For a dumb bloke like me,
please spell out, step by slow step,
how it is to be used.

Thank you.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Rick G. on 2011-01-10 09:59 pm
please spell out, step by slow step, how it is to be used.
You must be using NWC 2.5 (http://my.noteworthysoftware.com/?topic=7323.0)
NWC 2.5 is available in the Back Stage area in this forum (https://forum.noteworthycomposer.com/?topic=5483.0).

Download the code from <here> (http://my.noteworthysoftware.com/?topic=7621.0).
Save it to your User Tool scripts folder as: rg_Info.php

Open (http://ntworthy.com/nwc2/help/MNU_FILEOPEN.htm) a song into NWC 2.5
Do not use the Open Samples Command (http://ntworthy.com/nwc2/help/MNU_FILESAMPLES.htm).

Press ALT+F8, click on 'New...'
For 'Name:', I simply called it 'Info'
Click on 'Browse...' and open rg_Info.php from the list.
Under 'Input Type', select 'File Text'
Leave the 'Options' unchecked.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Rick G. on 2011-06-03 01:52 pm
Updated to version 1.22
'Options: Compress Input' supported (no speed advantage to this).
'Options: Long Task Handling' may be needed with large files on slow machines.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Rick G. on 2011-06-03 09:39 pm
It seems that some problems resulted from a mangled forum download. I have replaced the open code with an attachment. Anyone with an old copy of rg_Info.php should replace it with the attachment at the top of this topic.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: NoteWorthy Online on 2011-06-03 10:47 pm
The forum mangling problem with code downloads should now be fixed.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Haymo on 2011-11-15 07:14 pm
Rick,
Thanks for your installation instructions.
My apologies for taking so long.

I installed the latest rg_Info.php,
(but did NOT understand all the options available nowadays)
opened a file in NWC 2.5 Beta Preview 26
ran rg_Info as a user tool

and the output was to Stdout,
showing NWC and SMF playing times.
Title: Re: rg_Info.php - Tool to show version of current song
Post by: Rick G. on 2011-11-15 08:24 pm
Were you expecting the output to go somewhere else?

showing NWC and SMF playing times.
For a new song (or a song opened via the Open Samples Command (http://ntworthy.com/nwc2/help/MNU_FILESAMPLES.htm)), this is the info that is available. The 'Title:' will also be displayed if it is not empty.

To get more info, use the Open Command (http://ntworthy.com/nwc2/help/MNU_FILEOPEN.htm) or the History Commands (http://ntworthy.com/nwc2/help/MNU_FILEHISTORY.htm). The version will appear in the Tool output.