<html><head></head><body>Hi Chris<div><br></div><div>If I remember correctly, this could be a problem of Finale 2014d. After programmatically switching to another app and than back, Finale doesn’t get the focus back (it can’t find the menu, document, etc.). I had the same thing with a Keyboard Meastro macro. There is no fix except manually switching to Finale. I think it’s solved in Finale 25 (haven’t run into the problem) but I haven’t tested it.</div><div><br></div><div>Cheers,</div><div><br></div><div>Bart</div><div><br></div><div><br> <br><div class="bloop_sign"></div> <p class="gmail_quote" style="color:#000;">Op 28 november 2017 om 13:03:53, Simon Leclerc (<a href="mailto:simon@prodsl.ca">simon@prodsl.ca</a>) schreef:</p> <blockquote type="cite" class="gmail_quote"><span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div></div><div>



<title></title>


Hi Chris,
<div class=""><br class=""></div>
<div class="">I’m on a Mac (and I speak french).</div>
<div class="">Do you want to send me your script so that I can
check on my side if I see something wrong?</div>
<div class=""><br class=""></div>
<div class="">I experimented a lot with FCDocuments and path
recently…</div>
<div class=""><br class=""></div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 28, 2017, at 2:47 AM, Chris <<a href="mailto:marcel.denio@gmail.com" class="">marcel.denio@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">

<div text="#000000" bgcolor="#FFFFFF" class="">Hello Jari and
all<br class="">
<br class="">
<span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class="">A user tells me about a problem of one of my
scripts on MAC with the French version 2014d.<br class=""></span></span> <span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">I
could see that this comes from the function "GetPath"
(FCDocument).<br class="">
<br class=""></span></span></span></span> T<span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">hat's what happens :<br class="">
- L</span></span></span></span></span></span><span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">oading a document in Finale<br class="">
-
S</span></span></span></span></span></span></span></span><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">cript execution (no problem)<br class="">
-</span></span> <span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">Switch to another
application<br class="">
- B</span></span><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">ack to Finale<br class=""></span></span> <span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">-
S</span></span></span></span></span></span></span></span><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">cript execution :</span></span> <span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">"GetPath"
return "Untitled (id=1)"</span></span></span></span> <span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class="">but we have access to the document<br class="">
<br class=""></span></span> <span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class="">Unfortunately
according to the user,<br class="">
this does not happen every time and working on PC, I can't do more
tests.<br class="">
<br class="">
Best regards<br class="">
<br class="">
Chris<br class=""></span></span> <span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"></span><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"></span><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"></span><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"></span><span id="result_box" class="" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"><span class=""><span id="result_box" class="short_text" tabindex="-1" lang="en" xml:lang="en"></span></span></span></span></span></span></span></div>
_______________________________________________<br class="">
JWLua mailing list<br class="">
<a href="mailto:JWLua@jwmusic.nu" class="">JWLua@jwmusic.nu</a><br class="">
http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu<br class=""></div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
<br class="Apple-interchange-newline">
<br class=""></span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
<br class=""></span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
<br class=""></span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
Simon Leclerc</span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
60, Mirabelle</span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
Ste-Agathe-des-Monts, Québec</span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
J8C 0W9</span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
<a href="mailto:simon@prodsl.ca" class="">simon@prodsl.ca</a></span></div>
<div class=""><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">
<br class=""></span></div>
</div>
<br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">

<br class="Apple-interchange-newline"></div>
<br class=""></div>


_______________________________________________
<br>JWLua mailing list
<br>JWLua@jwmusic.nu
<br>http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
<br></div></div></span></blockquote>

</div></body></html>