<p dir="ltr">Thanks Bert.  From what I was seeing that is what i was thinking too.  The file launch seems to be the simple solution.  It also has the benefit that I don't need to change the launch handler.</p>
<p dir="ltr">Ron</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 31, 2017, 12:22 PM Bert Freudenberg <<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">On Fri, Mar 31, 2017 at 5:45 PM, Ron Teitelbaum <span dir="ltr" class="gmail_msg"><<a href="mailto:ron@usmedrec.com" class="gmail_msg" target="_blank">ron@usmedrec.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi All,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Hopefully a quick question.  If I set RunSingleApp to 1 and I launch with a registered file that file will be delivered to the running instance.  We have that working now.  I'm registering a URI protocol to launch with parameters and that works fine.  Is there any way to get the parameters into the running instance when launched through a URI or do I need to run from a file to have that work?  In other words, if I launch using squeak:run=test&program=foo, or something like that and squeak is already running and RunSingleApp is set to 1 are the parameters sent to the running VM?  The URI handler essentially calls squeak.exe run=test&program=foo.  </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The object is to have a link that sends the parameters from a browser to launch a client squeak instance or modify a running squeak instance (through the URI handler).  If not I suppose I could create a handler which creates a file and launches using that instead.  </div></div></blockquote><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg">This really should be answered by someone who actually knows the Windows VM ... but my understanding is that currently this would not be possible. The second VM launch normally creates a file drop event for the first VM, but if there is no file I don't think it would do anything. You probably could modify the VM to send a message into the other VM (I'm not sure how it fakes the drop event, using <span style="color:rgb(0,0,0);font-family:consolas,courier,monospace;font-size:14px;white-space:pre-wrap" class="gmail_msg">SendMessage </span>maybe?), and then pass that message as an event into the image. But it might be simpler, as you say, to just create a temp file with whatever command you want to pass and use the already implemented mechanism.</div></div></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">- Bert -</div></div></div></div></blockquote></div>