On Wed, Mar 19, 2008 at 5:00 PM, Anthony Thyssen <[EMAIL PROTECTED]>
wrote:

> "Brian Jones" on  wrote...
> | I have a script that contains the following line:
> |
> | /usr/bin/import -page 754x582+20+20 $imgname
> |
> | With ImageMagick 5.5.6 (on RedHat Enterprise Linux 3U5 x64) this does
> | exactly what I want, it brings the selected window to the foreground and
> | then captures the window, slightly resizes it, and saves it to file
> | $imgname.
> |
> | With ImageMagick 6.2.8 (on RedHat Enterprise Linux 5U1 x64) it does not
> | bring bring the selected window to the foreground.  Instead, it acts as
> if I
> | had added "-screen" to the command line, producing the undesirable
> behavior
> | of capturing parts of overlying windows.
> |
> | I couldn't find an option to force the window to the foreground.  Any
> | suggestions?
>
> A X window solution is to use   "xwit"  with the default -pop
> option, to de-iconify and rasie the window to the top of the
> window stack.
>
> I use this to resize, position iconify various windows under program
> control.  I also also used it to 'shake' a window to bring it to my
> attention.
>
>
>  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
>

Thx Anthony,

xwit did the trick.  Of course there's no rpm for RedHat so I had to compile
from source, but that's ok.  For others looking at this solution, I got the
xwit source from: http://ftp.debian.org/debian/pool/main/x/xwit/


--Brian
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to