[magick-users] is the "import" program available through the Magick++ library?

Giovanni Gherdovich g.gherdovich at gmail.com
Mon Jun 22 10:06:48 PDT 2009


re-Hi again,

2009/6/22 Giovanni Gherdovich <g.gherdovich at gmail.com>:
>
> 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 "emacs at workstation"
        0x4200059 "emacs at 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!


More information about the Magick-users mailing list