<br><br><div><span class="gmail_quote">On 6/2/07, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 06/01/2007 08:34 PM, hendrixski wrote:<br>&gt; I was thinking about doing something similar with a program that&#39;s<br>&gt; written in python, and I started going down the path of learning how to<br>&gt; embed python in C++ so that I could then make a plugin... but it&#39;s way
<br>&gt; more work than is worth it for something that just I would be using.<br>&gt; I&#39;m on the verge of giving up.<br>&gt;<br>&gt; Your idea is much more feasible for me, to just call the application<br>&gt; from exec() or fork() and just have it launch separately!
<br>&gt;<br><br>You can use EXEC in the menu theme.&nbsp;&nbsp;Just make sure your app/script<br>exits if you want Myth to be usable in the meantime (i.e. have Myth call<br>a script that call your app and then the script exits).&nbsp;&nbsp;If you prefer
<br>to block use of Myth, don&#39;t exit.<br><br>Mike</blockquote><div><br>Yeah, EXEC is all fine and working but I was thinking to add more functionality to those buttons (like restoring a previously minimized application). For example change mythmenu to execute this commands while pressing the same button:
<br>first press- if not started, do an EXEC&amp;.<br>Next presses - if visible (or not minimized) minimize (we can use the apps controlls for this as well),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if not visible (or minimized) restore as the topmost window.
<br><br>Therefore the developers list question :)<br>Thanks.<br>Florin<br></div><br></div><br>