***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***



Bill,

I share the frustration of trying to automate and integrate software in a world full of interfaces that can only be driven by a mouse ... or can they? There are actually several packages out there now for driving GUIs from the command line.

For unix, X Send Events (xse) has been around for a long time, but I highly recommend the "xautomation" programs, which are much easier to figure out.
http://hoopajoo.net/projects/xautomation.html

This is not only good for circumventing GUIs, but it is also good for GUI developers to design systematic tests procedures for their interfaces.


For Windoze, there are fewer options and no comprehensive CLI->GUI interfaces that I am aware of, but there is a good package:
http://www.interq.or.jp/japan/s-imai/tcltk/cwind.html
This is a TCL package, so you will have to install (Active)TCL on the Windoze box, and then copy the cwind directory into C:\tcl\lib, but then you are ready to start sending mouse clicks and keystrokes. I have written a little TCL program that offers up the cwind command set over a TCP socket interface. I can send it to anyone who is interested, but I warn you not to install it on anything directly accessible from the internet. The ability to send keystrokes and mouse clicks from a socket is a very powerful feature, and is, therefore, a major security hole. I use this program to remotely administer all the Windoze machines at my beamline (after ssh-ing through the firewall). It is very convenient to be able to just telnet to a misbehaving Windoze box and type "::cwind::send |RET|" to close an unwanted dialog box or type "::cwind::send |CTRL+| |ESC| |CTRL-| u r |RET|" to reboot it. Or, better yet, write a script to do it.

-James Holton
MAD Scientist

William Scott wrote:

***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Hi folks:

We have an Raxis IV that is driven by a PC on which a windows-based piece of software, called CrystalClear(TM), resides.

The fact that this requires me to maintain a windows 2000 installation is annoying.

I have two questions:

1.  Has anyone had any luck running CrystalClear(TM) in wine on Linux?

2. Is there a (preferably open-source) unix/linux-based alternative to CrystalClear for driving an Raxis IV? I hate guis, so a nice lowbrow CLI is perfectly acceptable, as long as I can collect data.

Thanks.

Bill Scott







Reply via email to