The original version of this page can be found at : http://forum.makemusic.com/default.aspx?f=5&m=490294
Posted By : Motet - 12/16/2016 6:38 PM
I'm using 2014.5 in earnest now and like the new hairpins--it should be a big time-saver. But what do you all do about collisions with dynamics? Do you anchor them to the beat and then adjust the endpoint(s) by dragging, with the arrow keys, or...? I would like the adjustments to be consistent. Is there a JW plug-in that helps? Alas, there doesn't seem to be a dialog box where one could type in numbers (akin to expressions' assignment).


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/16/2016 7:12:06 PM (GMT-6)


Posted By : OCTO. - 12/17/2016 4:10 AM
This is The Way:
/editionoctoechos.wordpress.com/2016/10/24/03-compound-dynamics/


And,
I always use these = Settings: Edit: Movable Items: both de-checked.




Finale 2014.5 • OS X: Yosemite, MPB 15', 16GB RAM

Post Edited (OCTO.) : 12/17/2016 3:19:44 AM (GMT-6)


Posted By : Harpsi - 12/17/2016 4:41 AM
Octo, what does that setting do?

I use JW Change to make room for the dynamics. Look here, starting halfway down the page:
forum.makemusic.com/default.aspx?f=5&m=454029&g=454039


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : OCTO. - 12/17/2016 6:19 AM
These settings allow you to drag items only at one direction AND that the items are kept attached (anchored).

I still don't see how JW can help. If you have "subito pp"<"molto ff"
I am quicker with mouse than with programming JW. But, I might have wrong.




Finale 2014.5 • OS X: Yosemite, MPB 15', 16GB RAM


Posted By : Harpsi - 12/17/2016 6:36 AM
Thanks, that's good to know! You must mean to have them checked though, I had them unchecked antil now and I always use shift to constrain. Fantastic. I should have changed this setting years ago! Thank you again!

In your case JW might not be much of use. I work mainly with 18th century music so I rarely have anything else than just standard dynamics. I have set up macros so I really do not go into JW manually, just select and press some keys. Does it for me.


Finale 2014.5, Win 10, Korg M1, Oxygen 25

Post Edited (Harpsi) : 12/17/2016 5:46:38 AM (GMT-6)


Posted By : OCTO. - 12/17/2016 6:44 AM
Harpsi said...
Thanks, that's good to know! You must mean to have them checked though, I had them unchecked antil now and I always use shift to constrain.

Yes, I mean CHECKED, sorry for confusion.




Finale 2014.5 • OS X: Yosemite, MPB 15', 16GB RAM


Posted By : Motet - 12/17/2016 12:24 PM
You might edit your posting above--it was confusing.

But the second one is checked by default, and I always start by attaching the hairpin to the first note, so what you describe doesn't happen to me. What I seek is something like "move the start right N EVPUs for p, M EVPUs for mf, and the like, rather than just eyeballing it. I will ponder Harpsi's thread on JW Change.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Perotinus - 12/17/2016 2:00 PM
I use JWChange for something very similar. I regularly run a sequence to extend the endpoint of a bracket smartshape over a set of notes x no. of units to the right. At the moment I have to use 2 different sequences depending on whether the final stem is up or down, since I can't figure out if I can make the Change program recognize that variable (I think not). It has made a world of difference, since I can copy the shape to an analogous other place in the document and the spacing is respected. That's why I am not considering getting 25.2until the JWChange plug in is available for 64 bit. The plug in is so powerful and useful.


Perotinus

Finale 2014.5
Windows 7 Enterprise 64-bit


Posted By : Zuill - 12/17/2016 2:03 PM
JW Pattern is a useful Tool. There's even a test version for Finale 25.

Zuill


"When all is said and done, more is said than done."
 
Win 7 64bit, 2011b, 2012c, 2014d, 2014.5, 25.2
 
Favorite Forum quote: "Please, everybody, IGNORE THE TROLL!"


Posted By : CV186 - 12/17/2016 6:10 PM
Zuill said...
There's even a test version for Finale 25.
Sadly - only for Windows (since Oct 21).


2.8GHz MacBookPro11,1 | 8GB RAM | OSX10.12.1 | Fin25.2/2014.5 | MOTU Traveler1 | GPO4+5


Posted By : Harpsi - 12/18/2016 5:22 AM
A bit more.

When the p and f has been input, I select the area for the hairpin, press <-shortcut, then press shortcut for adjusting left offset, then for right offset.
The various offsets for dynamics have been setup in JW Change by using the sequence editor. In this way it is easy to make a macro for them.

See attached GIF (it is animated).

I anyone is interested, I'll be happy to post the AHK scripts.


Finale 2014.5, Win 10, Korg M1, Oxygen 25

Post Edited (Harpsi) : 12/18/2016 7:29:44 AM (GMT-6)


Posted By : Motet - 12/18/2016 11:50 AM
Yes, please! I guess screenshots of the JW Change sequences, or at least a sample, would be good, too.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : OCTO. - 12/18/2016 3:20 PM
Harpsi said...
A bit more.

When the p and f has been input, I select the area for the hairpin, press <-shortcut, then press shortcut for adjusting left offset, then for right offset.
The various offsets for dynamics have been setup in JW Change by using the sequence editor. In this way it is easy to make a macro for them.

See attached GIF (it is animated).

I anyone is interested, I'll be happy to post the AHK scripts.

It is great that you use that way, but I do the same by manually dragging.
Input and fix hairpin steps:
1. clikc-drag
2. drag
3. click-drag




Finale 2014.5 • OS X: Yosemite, MPB 15', 16GB RAM


Posted By : Harpsi - 12/18/2016 4:09 PM
I do it for consistency. And for being able to do any number of staves simultaneously.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/18/2016 4:16 PM
Absolutely. No matter how carefully you eyeball, that's not going to be consistent.

I await your scripts with bated breath.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Harpsi - 12/18/2016 5:48 PM
I wrote a bit about this at this thread forum.makemusic.com/default.aspx?f=5&m=454029&g=454039
but I will repeat it all here. Just one note, the trigger key § works well to use on my swedish keyboard. You can of course choose another one.

The hairpins

At www.jwmusic.nu/jwplugins/wiki/doku.php?id=autohotkey
there is a script that Jari Williamsson made that lets you script his plugins.

I used that, added #Hotstring ? * b0 in the start of the script and then



;Crescendo - §<
:*b0:§<::

if (openJWpluginwindow("JW", "JW Pattern", 3, 2) = 1)
{
     setJWpluginpanelvalue("JW Pattern", 1, 1)
      applyandcloseJWpluginwindow("JW Pattern")
}

return

;Diminuendo - §z

:*b0:§z::

if (openJWpluginwindow("JW", "JW Pattern", 3, 2) = 1)
{
   setJWpluginpanelvalue("JW Pattern", 1, 2)
   applyandcloseJWpluginwindow("JW Pattern")
}

return


When I press § the system waits for another keypress. §< will make a cresc, §z a dim. So in action I highlight (in Selection Tool) the place where I want the hairpin/s to go, press key combo, done.

Adjustment for dynamics

Let's take p as an example.


;piano (the column below 7)
:*b0:§u:: ;p< and p>
Send !+§ ;opens JW Change, alt shift § defined as shortcut for that in TG Tools Options
Send {Home}{NumpadSub}{NumpadAdd}{Down}{Down}{Down}
Send !a!c
return

:*b0:§j:: ;<p and >p
Send !+§
Send {Home}{NumpadSub}{NumpadAdd}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}
Send !a!c
return


So the trigger key waits for "u" to adjust the left side of the hairpin, or "j" for the right side of the hairpin. As you can see, the script is not very sophisticated. It opens JW Change and then sends a number of keystrokes to access the right sequence in the group (list) of sequences I have prepared before.

The sequence for §+u just contains one action: Hairpins/Left Offset - Horizontal: 40, Relative: No.
The sequence for §+j is: Hairpins/Right Offset - Horizontal: -40, Relative: No.

The proper numbers took some time to find out, and I guess they depend on how your dynamics are set up. These are mine:

left side
f 35
p 40
ff 55
pp/mp 65
mf 60

right side
p -40
all others -45

I hope that should get you started, let me know if it works for you.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Harpsi - 12/18/2016 5:59 PM
Many staves at once (watch the GIF):
1 Select staves
2 add hairpin
3 alt * to line up (TGTools)
4 adjust left offset

In my line of work, this is much more efficient than adjusting with the mouse and then copying to the other staves.
The advantage of drawing the haripins with the mouse is obviously that you get it at the right horizontal level at once - I almost always have to adjust that after. To each one his own.


Finale 2014.5, Win 10, Korg M1, Oxygen 25

Post Edited (Harpsi) : 12/18/2016 5:03:19 PM (GMT-6)


Posted By : OCTO. - 12/18/2016 8:23 PM
Harpsi said...
Many staves at once (watch the GIF):
1 Select staves
2 add hairpin
3 alt * to line up (TGTools)
4 adjust left offset

In my line of work, this is much more efficient than adjusting with the mouse and then copying to the other staves.
The advantage of drawing the haripins with the mouse is obviously that you get it at the right horizontal level at once - I almost always have to adjust that after. To each one his own.


Well, that is SOMETHING. Very good indeed! Thanks for sharing.




Finale 2014.5 • OS X: Yosemite, MPB 15', 16GB RAM


Posted By : Motet - 12/18/2016 8:52 PM
Most excellent, Harpsi--thanks so much.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Motet - 12/19/2016 12:16 AM
I had to modify things slightly because JW Pattern conflicted with JW Pattern Copy in the menu selection but I finally got it to work. This opens a new world of being able to invoke the JW plug-ins with hotkeys.

Why didn't you invoke JW Change via the openJWpluginwindow mechanism?


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Motet - 12/19/2016 2:46 AM
I found that this will invoke the first sequence in the first sequence group:

if (openJWpluginwindow("JW", "JW Change...", "JW Change", 1, 1) = 1)
{
   sleep 250
   applyandcloseJWpluginwindow("JW Change")
}
return

The second argument to openJWpluginwindow is something I added, so wouldn't apply to you. Or maybe you'd need it, since there's a JW Change Pitches. Let me know if so (I modified Jari's code slightly).

I tried invoking the hairpins/left offset directly, but setJWpluginpanelvalue doesn't seem to work for some things.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/19/2016 1:49:19 AM (GMT-6)


Posted By : Harpsi - 12/19/2016 3:09 AM
Octo said...
Well, that is SOMETHING. Very good indeed! Thanks for sharing.

I'm glad you see the use of it!

Motet said...
I had to modify things slightly because JW Pattern conflicted with JW Pattern Copy in the menu selection

I had this problem too, I believe I solved it by moving the JW Pattern Copy out of the JW folder.

Motet said...
Why didn't you invoke JW Change via the openJWpluginwindow mechanism?

Actually I do not remember exactly as this was some time ago. I think I tried via JWs mechanism but could not get it to work. The keypresses/sequences method works OK, but if you find a way of doing it differently with openJWpluginwindow, it would be interesting to see.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Harpsi - 12/19/2016 3:12 AM
Thanks Motet, I will try that and compare.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Harpsi - 12/19/2016 3:22 AM
Does not work for me... I get an error message if I run it exactly as you wrote it. I deleted the "JW Change" and it ran without error message, but nothing happens more than the JW Change window opening. No selection of sequences and no apply&close.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/19/2016 12:33 PM
Yes, I added an argument to openJWpluginwindow so that what appears in the menu ("JW Change..." or "JW Pattern...", e.g.) can be different from the plug-in window title ("JW Change"). This avoids conflicts between "JW Change Pitches" and "JW Change", for example. The numeric arguments also might be different, depending on how your sequences are organized.

The other problem was that JW Change has so many items in it that it was returning before the proper panel was in place. I've fixed this by adding an optional wait string argument, so the hairpin left-edge adjuster now looks like

if (openJWpluginwindow("JW", "JW Change...", "JW Change", 10, 5, "hairpin's left-side") = 1)
{
     setJWpluginpanelvalue("JW Change", 1, 30)
     setJWpluginpanelvalue("JW Change", 2, 0)
     applyandcloseJWpluginwindow("JW Change")
     return
}


If calling a sequence, you can wait for some unique string you provide in the sequence description:

if (openJWpluginwindow("JW", "JW Change...", "JW Change", 1, 1, "my hairpin sequence") = 1)
{
   applyandcloseJWpluginwindow("JW Change")
}
return


Perhaps Finale-jwplugins hasn't been used much. I think these changes are good, so maybe I'll try to get them to Jari somehow. I can attach the new version here for you if you'd like, though of course what you've been doing already works for you.

I really appreciate your pointing me to this! I opens a whole new world, as I say, and should prove a huge time saver for other JW plug-in things besides hairpins as well.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/19/2016 11:41:38 AM (GMT-6)


Posted By : Motet - 12/19/2016 12:36 PM
Harpsi said...
I...added #Hotstring ? * b0 in the start of the script... :*b0:§<::

Can you explain how the multi-character hotstrings work in Autohotkey? The documentation is poor. What's the *b0 for? Did you indeed place something at the beginning of the script as well?


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Motet - 12/19/2016 2:27 PM
Here is the revised version of JW's autohotkey file. See the comments for the added arguments to openJWpluginwindow.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Harpsi - 12/19/2016 3:24 PM
The * disables the use of an ending character like space or period to trigger the hotstring. The b0 cancels out the automatic backspace function after triggering the hotstring. The question mark is for the ability to trigger the hotstring even if you type something else just before.

I realize now that the starting line (#Hotstring...) in the script should be sufficient, no need for the repeated *b0's in the rest of the code!
To be honest, I do not know AHK very well, I just learnt enough to do the scripts I needed.

Thank you for posting your revised version! I will have a look.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/19/2016 3:35 PM
OK, thanks. I've used AHK a fair amount, but never hotstrings. I like them, because you only need to find one key not used by Finale, instead of a bunch. No section symbol on U.S. keyboard, but the backquote seems expendable for what I do, so I'm using that.

I've made tasks for crescendo, decrescendo, and adjustments for ppp through fff on the left so far. All is working.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Harpsi - 12/19/2016 5:28 PM
Really good improvement with the waitstring and the "double naming" of the plugins. I tried it out a bit, and it works well but the way I did it is very much faster, at least on my system.

First (see below): about 3 seconds
Second, adressing the sequence: 4 seconds
Third (mine), adressing sequence: just under 1 second.

Is this more or less what you get also?


+^!x::
if (openJWpluginwindow("JW", "JW Change...", "JW Change", 10, 5, "hairpin's left-side") = 1)
{
   setJWpluginpanelvalue("JW Change", 1, 30)
   setJWpluginpanelvalue("JW Change", 2, 0)
   applyandcloseJWpluginwindow("JW Change")
}
return

+^!z::
if (openJWpluginwindow("JW", "JW Change...", "JW Change", 1, 3, "piano left") = 1)
{
   applyandcloseJWpluginwindow("JW Change")
}
return

:*b0:§u:: ;x<
Send !+§
Send {Home}{NumpadSub}{NumpadAdd}{Down}{Down}{Down}
Send !a!c
return


Maybe this is because the JW routine collapses all the functions before accessing the wanted one and this takes time. As I know that my sequences are the first on the list, it does not matter if some other functions are open, so I can go straight to the one I want and that saves time. Further down the list of sequences will of course take some more time but still not as much as 4 seconds. Maybe it is just here.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/19/2016 8:59 PM
Yes, I'm sure your "pure AHK" thing's faster. The "sequence" solution on my system only takes about a second, though. I'm not sure why yours is slower.

It looks like without b0, the backspace characters erase the music--obviously not good!--but with it, the trigger characters are sent along to Finale--also not good! Any way around that?


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/19/2016 10:14:17 PM (GMT-6)


Posted By : Motet - 12/19/2016 10:20 PM
If some AHK genius can tell me how to activate hotkeys/strings only when the selection tool is in use, that would be great. I tried

#IfWinActive, ahk_class Finale
StatusBarGetText statusbartext
#If InStr(statusbartext, "SELECTION TOOL")
...

but that doesn't seem to work


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/19/2016 9:25:18 PM (GMT-6)


Posted By : Motet - 12/19/2016 10:58 PM
It occurred to me that openJWpluginwindow need not close all containers first, only enough to get to the one it wants. Also, no need to go back to the top afterwards and count down again. Instead, start at the top and collapse and move down, counting until the desired one is reached. I also changed it to allow negative container numbers, -1 being the last, -2 the next from the last, so you can start at the bottom if that's closer to the desired one.

So this should speed things up a bit. Attached below. I think that will be it for me!


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/19/2016 10:15:02 PM (GMT-6)


Posted By : Harpsi - 12/20/2016 2:35 AM
motet said...
It looks like without b0, the backspace characters erase the music--obviously not good!--but with it, the trigger characters are sent along to Finale--also not good! Any way around that?


I don't have that problem except for sometimes when it seems that AHK "misses" the first letter of the hotstring (I use trigger key plus numbers to change editing filter, and sometimes I get the explode function instead). Are you using ?, * and b0?

I found this documentation quite comprehensive:

/autohotkey.com/docs/Hotstrings.htm

Maybe you will find something there.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Harpsi - 12/20/2016 2:41 AM
...and thanks for the latest update. That's a huge speed improvement!


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/20/2016 12:10 PM
Thanks for the AHK documention pointer. I did eventually find that. I am using ?, * and b0. But if the hotstring trigger is `7, it sends ` and 7 to Finale anyway, and the latter transposes the music up a step. I can of course avoid 7, and most keystrokes are innocuous in the Selection tool, but it would be nice not to have to worry about it, and I'm kind of surprised Autohotkey doesn't have a way of not passing the keystrokes on (rather than cancelling them with backspaces).


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Motet - 12/20/2016 4:10 PM
I figured out how to have two-character triggers using the backquote character followed by any character I want (i.e., not transmitted to Finale), and how to restrict these triggers to Finale's selection tool. I'm just getting started, but `, creates a crescendo, `. a diminuendo, `7 adjusts the starting point for p, `8 for pp, and so forth. For the record, here's what I have so far. I decided to use JW Change sequences for all the endpoint adjustments, at least for now.


selection()
{
   StatusBarGetText statusbartext
   return InStr(statusbartext, "selection tool")
}
#If WinActive("ahk_class Finale") && selection()

`::
Input key,L1
if (key = "," || key = ".") {
    if (key = ",") {
        choice = 1
    } else {
        choice = 2
    }
    if (openJWpluginwindow("JW", "JW Pattern...", "JW Pattern", 3, 2, "Creates hairpin") = 1) {
        setJWpluginpanelvalue("JW Pattern", 1, choice)
        setJWpluginpanelvalue("JW Pattern", 2, "-148")
        setJWpluginpanelvalue("JW Pattern", 3, 1)
        setJWpluginpanelvalue("JW Pattern", 4, 0)
        setJWpluginpanelvalue("JW Pattern", 5, 1)
        setJWpluginpanelvalue("JW Pattern", 6, 7)
        applyandcloseJWpluginwindow("JW Pattern")
    }
} else {        ; sequences
    if (key = "4" || key = "7") {
        task = 1
        wait = p <>
    } else if (key = "3" || key = "8") {
        task = 2
        wait = pp <>
    } else if (key = "5" || key = "6") {
        task = 3
        wait = mp <>
    } else if (key = "2" || key = "9") {
        task = 4
        wait = ppp <>
    } else {
        task = 0
    }
    if (task && openJWpluginwindow("JW", "JW Change...", "JW Change", 1, task, wait)) {
        applyandcloseJWpluginwindow("JW Change")
    }
}
Return

The wait strings are things I put in my sequence descriptions.

This is going to be a huge boon to me, not only for hairpins, but for other oft-used JW plug-in tasks as well. At least I feel like I'm ending these forums on a high note, so to speak. Thanks to all.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/20/2016 5:21:11 PM (GMT-6)


Posted By : Harpsi - 12/20/2016 4:37 PM
I think you qualify for AHK Genius :-)
That's really interesting. I won't pretend that I understand all the details, but would the first few lines work with other statusbartexts too, like for instance "chord tool"? I have a bunch of hotstrings for the chord tool that I now activate and deactivate with a toggle.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Charles Lawrence - 12/20/2016 4:47 PM

Motet,

Clever coding, but what if the Status Bar is turned off, i.e. "Windows->Status Bar" unchecked?



"Anything is possible if you don't know what you are talking about!"

Windows 10 Professional (x64) (build 10586)
 
3.50 gigahertz Intel Core i7-5930K, Multi-core (6 total), Hyper-threaded (12 total)
32638 Megabytes Usable Installed Memory, 17514.37 Gigabytes Usable Hard Drive Capacity
NVIDIA GeForce GTX 980 - 4GB [Display adapter]
ASUS Rampage V Extreme motherboard, Realtek HD Audio

Finale 2014.5.6359, Finale 25.2.0.92
Garritan GPO4.02


Cakewalk SONAR X3 - (X3e build 244) - x64, Sound Forge Audio Studio 10.0, Audacity 2.1.0
Sharpeye 2.68, PhotoScore Ultimate 7.0.2, SmartScore X2 Pro 10.5.8

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell

Post Edited (Charles Lawrence) : 12/20/2016 3:54:17 PM (GMT-6)


Posted By : Motet - 12/20/2016 4:57 PM
It looks like the status bar text is still there and available to AHK even with "Windows->Status Bar" unchecked.

I don't see why a similar check for the chord tool wouldn't work.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Charles Lawrence - 12/20/2016 5:13 PM
Motet said...
It looks like the status bar text is still there and available to AHK even with "Windows->Status Bar" unchecked.
Interesting.  Good to know.  Makes your life easier! I had not gone so far as to try it.


"Anything is possible if you don't know what you are talking about!"

Windows 10 Professional (x64) (build 10586)
 
3.50 gigahertz Intel Core i7-5930K, Multi-core (6 total), Hyper-threaded (12 total)
32638 Megabytes Usable Installed Memory, 17514.37 Gigabytes Usable Hard Drive Capacity
NVIDIA GeForce GTX 980 - 4GB [Display adapter]
ASUS Rampage V Extreme motherboard, Realtek HD Audio

Finale 2014.5.6359, Finale 25.2.0.92
Garritan GPO4.02


Cakewalk SONAR X3 - (X3e build 244) - x64, Sound Forge Audio Studio 10.0, Audacity 2.1.0
Sharpeye 2.68, PhotoScore Ultimate 7.0.2, SmartScore X2 Pro 10.5.8

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell


Posted By : Motet - 12/20/2016 5:39 PM
I didn't actually try it with my stuff, but I looked with AHK's Window Spy.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Harpsi - 12/20/2016 5:59 PM
`::
Input key,L1
if (key = "," || key = ".") {
    if (key = ","} {
        choice = 1
    } else {
        choice = 2
    }


I had an error message on the fourth line. Should it be
if (key = ",") {


Or am I missing something?


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/20/2016 6:01 PM
Oops, yes, sorry. Never make a change without trying it! :-)


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart


Posted By : Harpsi - 12/20/2016 6:42 PM
The section with the sequences work very smoothly (as fast as my old script!), but I don't get the hairpins right.

setJWpluginpanelvalue("JW Pattern", 1, choice)
setJWpluginpanelvalue("JW Pattern", 2, "-148")
setJWpluginpanelvalue("JW Pattern", 3, 1)
setJWpluginpanelvalue("JW Pattern", 4, 0)
setJWpluginpanelvalue("JW Pattern", 5, 1)
setJWpluginpanelvalue("JW Pattern", 6, 7)

The second field only shows up if Vertical Position, slot 6, is already set to 7. Mine was not set up like that, so there was no place to insert -148 to. Slot 2 goes to "Only copy to music".

Not a big deal of course. I guess one could just set JW Pattern hairpin setting manually, they won't change anyway, and just omit those fields from the script.


Finale 2014.5, Win 10, Korg M1, Oxygen 25

Post Edited (Harpsi) : 12/20/2016 5:46:19 PM (GMT-6)


Posted By : Harpsi - 12/20/2016 6:59 PM
Motet said...
I don't see why a similar check for the chord tool wouldn't work.


And indeed it worked!


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/20/2016 7:38 PM
You of course may need to make adjustments for your own wishes. That -148 corresponds to my below-staff baseline--that is, it lines up with dynamics placed there. If there are low notes or stems, the dynamics are lower and so it must be aligned with TGTools' Alt-*. -148 was arrived at by trial and error; I'm not sure what Jari's units are.

You're probably right that filling in all those fields is unnecessary.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/20/2016 7:22:04 PM (GMT-6)


Posted By : Charles Lawrence - 12/20/2016 7:41 PM
Motet said...
I didn't actually try it with my stuff, but I looked with AHK's Window Spy.

I'd be interested in how you looked with Window Spy.  When I tried it, there was NEVER any text showing in the Status Bar Text area.  If the Status Bar was displayed, you could move the cursor into the Status Bar area on the screen and Window Spy would show the text in the "Control Under Mouse Position:" area, but if the Status Bar was not displayed, then obviously, you could not position the cursor in the Status Bar area.


"Anything is possible if you don't know what you are talking about!"

Windows 10 Professional (x64) (build 10586)
 
3.50 gigahertz Intel Core i7-5930K, Multi-core (6 total), Hyper-threaded (12 total)
32638 Megabytes Usable Installed Memory, 17514.37 Gigabytes Usable Hard Drive Capacity
NVIDIA GeForce GTX 980 - 4GB [Display adapter]
ASUS Rampage V Extreme motherboard, Realtek HD Audio

Finale 2014.5.6359, Finale 25.2.0.92
Garritan GPO4.02


Cakewalk SONAR X3 - (X3e build 244) - x64, Sound Forge Audio Studio 10.0, Audacity 2.1.0
Sharpeye 2.68, PhotoScore Ultimate 7.0.2, SmartScore X2 Pro 10.5.8

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell


Posted By : Motet - 12/20/2016 7:49 PM
Dunno. The Window Spy window is scrollable--are you looking at all its contents? Or maybe they've broken it with Finale 25.

--Just verified that the script still works with the status bar "window" unchecked.


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/20/2016 7:23:00 PM (GMT-6)


Posted By : Harpsi - 12/21/2016 2:35 AM
Motet said...
That -148 corresponds to my below-staff baseline--that is, it lines up with dynamics placed there.


That I did understand. I just meant that if the hairpin's Vertical Position in JWPattern has been manually set to something else than Custom before running your script, there will be no field to insert the -148 to.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Charles Lawrence - 12/21/2016 9:05 AM
Motet said...
Dunno. The Window Spy window is scrollable--are you looking at all its contents? Or maybe they've broken it with Finale 25.

--Just verified that the script still works with the status bar "window" unchecked.

I am running 1.1.24.03, which is one less than the latest 1.1.24.04.  I have run into this before where you MUST, at least on my system, W10, run all AHK scripts as an administrator.  When I do that, then the Window Spy does display the Status Bar Text in the appropriate box, whether the status bar is showing or not.  Each box/pane in the Window Spy is scrollable, but not the entire window itself.  It seems to auto size itself vertically to show all contents, at least for me.  You can drag the very thin edge of the window to increase its size both vertically and horizontally, but you cannot reduce its size beyond what it sets up originally.  No scroll bars ever appear for the window itself.
 


"Anything is possible if you don't know what you are talking about!"

Windows 10 Professional (x64) (build 10586)
 
3.50 gigahertz Intel Core i7-5930K, Multi-core (6 total), Hyper-threaded (12 total)
32638 Megabytes Usable Installed Memory, 17514.37 Gigabytes Usable Hard Drive Capacity
NVIDIA GeForce GTX 980 - 4GB [Display adapter]
ASUS Rampage V Extreme motherboard, Realtek HD Audio

Finale 2014.5.6359, Finale 25.2.0.92
Garritan GPO4.02


Cakewalk SONAR X3 - (X3e build 244) - x64, Sound Forge Audio Studio 10.0, Audacity 2.1.0
Sharpeye 2.68, PhotoScore Ultimate 7.0.2, SmartScore X2 Pro 10.5.8

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell


Posted By : Gareth Green - 12/21/2016 9:14 AM
Am I the only person who thinks that Finale should be doing all this by itself, without relying on 3rd-party scripts that require a masters degree in coding to understand and implement ... ?


Gareth J. Green

Fin25
Windows 10 (under duress ... )


Posted By : Harpsi - 12/21/2016 10:44 AM
I fully agree. But waiting for MakeMusic to implement all this might be waiting in vain.


Finale 2014.5, Win 10, Korg M1, Oxygen 25


Posted By : Motet - 12/21/2016 11:45 AM
Sibelius, and I believe Dorico, do this automatically. Though I love this sort of hacking, I agree it's rather absurd to have to resort to it. (I think I'll get back to music now!)

Harpsi, I see your point now about the vertical position--I wonder why he put the fields in a crazy order like that. But since it seems like the JW settings are sticky from session to session, probably setting everything like I did is silly.

Charles, it sounds like your problem is solved by running AHK as administrator. (As you can tell from my Window Spy, I'm running a couple-year-old version of AHK.)


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart

Post Edited (Motet) : 12/21/2016 10:54:18 AM (GMT-6)


Posted By : Motet - 12/22/2016 12:34 AM
Harpsi said...

...if the hairpin's Vertical Position in JWPattern has been manually set to something else than Custom before running your script, there will be no field to insert the -148 to.

This is gilding the lily, but I solved this by implementing negative panel item numbers, which tab backwards, so you can set Vertical Position to Custom first.

OK, now back to music!


Finale 2014.5, 2011b, 2005, TGTools
Windows 7, 32-bit
MIDI input
Finale Transposition Chart