Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Screen capture

Skip to first unread message

Frank Hauer

unread,
Jan 25, 2002, 12:00:06 AM1/25/02
to
hallo


OS : SCO 5.0.5

i dont know how can i make an screen capture on any remote PC´s. The xwd
command need any mousbutton to execute the screencapture. This is realy
complicated . I will make only an screenshot on any remote pc´s with an
script ( rcmd pc2 "screenshot" )
and will send the display to my Server PC, how can i make it ?


Matt Schalit

unread,
Jan 25, 2002, 1:47:02 AM1/25/02
to


Well looking for a solution to this made for some interesting
reading about TCL and expect.

It looks like you have two options:

1) Use xwd's -id switch, as decribed by man 1 xwd.

'-id id This option indicates that the window with the
specified resource id should be selected for
the window dump, without requiring the user
to select a window with the pointer.'

If your xwd doesn't have that, you'll want to compile
the newer version. I read up on this at xfree86.org.

2) Android. That's a scripting program that can replicate
exactly what you do in X, down to the speed at which you
perform various actions. You can create the script from
scratch or automatically. To click mouse 1 at a certain
position, this is what they described in an article I
ripped from Dr. Dobbs, linked on the Android site:

exec /usr/X11R6/bin/xwd -silent -out snapshot.tmp &
after 3000
send_xevents @596,305 click 1


You can find Android at the Wild Open Source site:

http://www.wildopensource.com/larry-projects/android.html


Good Luck,
Matt

0 new messages