Skip to main content
Topic: Courtesy Accidentals (Read 5368 times) previous topic - next topic

Courtesy Accidentals

Update: Don't use the links below, use http://opagust.wordpress.com/my-user-tools/ instead and click on the name of the tool to download (changing the extension into '.js').


http://opagust.wordpress.com/courtesyaccidentals-js/

With this tool you can create courtesy accidentals according to the Key Signature. It acts on a selection, if present, or on the whole active staff.

The courtesy accidentals are inserted as text items,
 - with the font StaffSymbols(normal size) or StaffCueSymbols(small size);
 -  with or without parentheses;
 - repeated or not if the same note occurs more than once within a measure.

If you choose 'Undo', all 'texted' accidentals are removed, regardless of the choices on size, parentheses or repeats.

To download the tool from the link above :
- Select and copy all the text within the frame
- Open a text editor like Wordpad or a Java Script Editor and past the copied text
- Click on the name of the tool
- Save as ’CourtesyAccidentals.js' in YourScriptFolder

To Install in NoteWorthy:
- Open a NoteWorthy File
- Choose ‘Tools’, ‘User Tool…’ or enter Alt-F8
- Click ‘New…’
-  Enter the name of the tool and choose a group or enter the name of a new group
-  Command Line: "Wscript YourScriptsFolder\CourtesyAccidentals.js <PROMPT:Action:=|Create_CourtesyAccidentals|Undo|Help> <PROMPT:Parenthesize?=|Yes|No> <PROMPT:Repeat in same measure?=|Yes|No> <PROMPT:Size:=|Normal|Small>"
-  Input Type: Clip Text
-  Under 'Options: Uncheck 'Returns File Text'

P.S.I also modified the tool http://opagust.wordpress.com/changeclef-js/ to also move the courtesy accidentals, inserted by CourtesyAccidentals.js.
Always look on the bright side of life!

Re: Courtesy Accidentals

Reply #1
Thank you Opagust for the tools and extensive instructions.

The following needs a bit of correction:

- Save as’ in YourScriptFolder

Re: Courtesy Accidentals

Reply #2
The following needs a bit of correction:

- Save as’ in YourScriptFolder

Thanks, Haymo.

I corrected the instructions a bit.
Always look on the bright side of life!

 

Re: Courtesy Accidentals

Reply #3
There seemed to be some problems with my website, where I had copied the code of my tools as text in specifiic webpages.

So now I've changed my method: I uploaded all tools in my website (with extension '.doc') and provided  links to these files, instead of pages with the copied code.

You can download them on http://opagust.wordpress.com/my-user-tools/
Always look on the bright side of life!