<div dir="ltr"><div><div>I'm not really a web person and I don't know if this would actually work, but LSL scripts have an ability to act as a simple http server [1], and I know that web pages can initiate a file dialog as I've seen them on sites which have a file upload capability. Whether the LSL server is capable enough to accomplish something like this. especially with the built-in browser in most viewers is beyond my understanding and is left as an exercise for the curious ;)<br>
<br></div>Otherwise I suspect you would need to modify a viewer with special code that could be triggered by a message sent from an script and display the dialog. Or, if the bot program were running on the same computer as the viewer, you could probably have it display the dialog and somehow modify the focus rules so it would have top-level focus.<br>
<br></div>I'd probably consider a scripted capability to open a file dialog to be somewhat of a security hole and I suspect that is one reason why such a capability is not normally available.<br><div><br>reference:<br>
[1] <a href="http://wiki.secondlife.com/wiki/LSL_HTTP_server">http://wiki.secondlife.com/wiki/LSL_HTTP_server</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 28, 2013 at 10:09 PM, Scott Overmyer <span dir="ltr"><<a href="mailto:sovermyer@nu.edu.kz" target="_blank">sovermyer@nu.edu.kz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hi all,</p><p class="MsoNormal"> </p><p class="MsoNormal">
I want to show the end user a File Open dialog box so that an avatar controlled by a user can pass a file to my bot software.  Does anyone know how to do this either via LSL or C#?  Does this capability exist?</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Best regards,</p><p class="MsoNormal">scotto…</p><p class="MsoNormal">--</p><p class="MsoNormal">Scott Overmyer, PhD</p><p class="MsoNormal">Professor, Computer Science</p><p class="MsoNormal">

Nazarbayev University</p><p class="MsoNormal">53 Kabanbay batyr Ave., </p><p class="MsoNormal">Astana, 010000</p><p class="MsoNormal">Kazakhstan</p><p class="MsoNormal">Tel: <span style="font-family:"Arial","sans-serif""><a href="tel:%2B7%20%287212%29%2070-65-68" value="+77212706568" target="_blank">+7 (7212) 70-65-68</a></span></p>

<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Email: <a href="mailto:sovermyer@nu.edu.kz" target="_blank"><span style="color:blue">sovermyer@nu.edu.kz</span></a></span></p><p class="MsoNormal">
 </p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";background:white"> </span></p><p class="MsoNormal"> </p></div></div>
<br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br></blockquote></div><br></div>