re-Hi again,

2009/6/22 Giovanni Gherdovich <[email protected]>:
>
> My goal during this analysis was to understand how to feed the
> 'x:windows-id' argument, I mean how to find which is the windows-id
> of the window I want to capture (clicking with the mouse is
> not what I would like).
>
> Could you please save me some time and give me an explaination
> on how to compute this ID?
> Is there some X11 conventions that is obvious to "insiders" but unknown to me?

Ah-ah!

I got it.

I can use the xwininfo program from the shell, like this:

-------------------8<----------------------------------
bash-3.2$ xwininfo -root -tree | grep "em...@workstation"
        0x4200059 "em...@workstation": ("emacs" "Emacs")  1600x1127+0+23  +0+48
-------------------8<----------------------------------

The first column of the output is the ID I'm looking for.

Regards,
GGhh

PS: Credits to Giuseppe!
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to