<br><br>
<div class="gmail_quote">On Sat, Mar 5, 2011 at 12:18 PM, Dotan Cohen <span dir="ltr"><<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Sat, Mar 5, 2011 at 19:57, Duncan <<a href="mailto:1i5t5.duncan@cox.net">1i5t5.duncan@cox.net</a>> wrote:<br>> Try the pgrep (process grep) command for your first bit. =:^)<br>><br><br></div>
Thanks.<br>
<div class="im"><br>> But for window manipulation... as it happens I just needed such a thing<br>> and thus have the perfect app for you!  wmctrl ! It handles... switching<br>> to the appropriate desktop, activating, moving/resizing, maximizing X/Y/<br>
> both, closing... more.  And since it operates with window titles or<br>> windowclasses (you can use kwin's window rules click-to-autodetect feature<br>> to find this), you shouldn't even need the pgrep step. =:^)<br>
><br><br></div>Yes!<br>
<div class="im"><br><br>> Both the above have manpages... and while the wmctrl manpage suggests<br>> zenity, a gnome dialog scripting app, for adding more interactivity<br>> (wouldn't be needed for your current use, but...), the kde alternative for<br>
> that is of course kdialog, which I've used myself.  kdialog is a bit<br>> quirky (reminds me of the MS Windows 2 era), resulting in several<br>> successive single-purpose popup windows instead of the more typical multi-<br>
> purpose dialog window, but it does get the job done, allowing you to<br>> present a UI with which to select or type things in, if that's needed.<br>><br>><br><br></div>Thanks, I will head on over to the fine manuals that you mention. Have<br>
a great week!<br><br>And I see that you are feeling better! The whole message fit on a page!<br>
<div class="im"><br>--<br>Dotan Cohen<br><br><a href="http://gibberish.co.il/" target="_blank">http://gibberish.co.il</a><br><a href="http://what-is-what.com/" target="_blank">http://what-is-what.com</a><br>___________________________________________________<br>
</div>
<div>
<div></div>
<div class="h5">This message is from the kde mailing list.<br>Account management:  <a href="https://mail.kde.org/mailman/listinfo/kde" target="_blank">https://mail.kde.org/mailman/listinfo/kde</a>.<br>Archives: <a href="http://lists.kde.org/" target="_blank">http://lists.kde.org/</a>.<br>
More info: <a href="http://www.kde.org/faq.html" target="_blank">http://www.kde.org/faq.html</a>.<br></div></div></blockquote>
<div> </div>
<div>Personally, </div>
<div>I rather have many instances of the same application,  I tend to close one</div>
<div>and loose the others with it.  Flush.  Just Like Microsoft!</div>
<div> </div>
<div> </div></div>