<div dir="ltr">Thanks, I will try this!<div>Hope you enjoyed the vids. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 16, 2022 at 10:41 AM David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Jan 15, 2022 at 10:45:21PM -0500, David O'Toole wrote:<br>
> Here you go, I made some demo vids with the progress bar and sounds :)<br>
> <a href="https://www.youtube.com/watch?v=I4adAAyYWO8" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=I4adAAyYWO8</a><br>
> <a href="https://www.youtube.com/watch?v=Y-LNlHgOFeQ" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=Y-LNlHgOFeQ</a><br>
> <br>
<br>
Hi David,<br>
<br>
Here's an idea I thought of while watching the videos. If you want to<br>
pre-populate the "Scheme executable" field in your Mosaic Instance Manager,<br>
and you know that you're looking for a program called 'snd', then you<br>
could use an OSProcess hack like this:<br>
<br>
<br>
pathToExecutable: programName<br>
        "Answer path to the a program, or empty string if not found"<br>
        |rs|<br>
        rs := (OSProcess outputOf: 'type ', programName) readStream.<br>
        [rs atEnd or: [rs peek = FileDirectory pathNameDelimiter]]<br>
                whileFalse: [rs next]. "skip leading verbiage"<br>
        ^ rs upTo: Character lf. "and trim trailing <lf>"<br>
<br>
Dave<br>
<br>
<br>
</blockquote></div>