Re: How do I get the window ID of the frontmost window in X11
Re: How do I get the window ID of the frontmost window in X11
- Subject: Re: How do I get the window ID of the frontmost window in X11
- From: "Thomas 'Tom' R. Treadway III" <email@hidden>
- Date: Mon, 14 Jul 2003 13:32:02 -0700
Try "xprop", maybe something like:
xprop -root|grep "_NET_CLIENT_LIST_STACKING(WINDOW): window id"|cut -d\
-f 5
trt
I need to do an automatic dump of the frontmost X window of commercial
application to a printer. I thought about using xwd which has an
option -id <Window-ID>. But how do I get the window id of the
frontmost window without modifying the running applications? Is there
a commandline tool to do this? Can anybody help me?
Thanks
Sven
Enjoy work. Be happy!
Sven
Winmail.dat is not sexy: See:
http://www.modemhelp.net/newsletter/email/winmaildat.shtml
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback:
http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
--
Thomas R. Treadway
Computer Scientist
Lawrence Livermore Nat'l Lab
7000 East Avenue, L-365
Livermore, CA 94550-0611
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.