ftp.nice.ch/pub/next/tools/workspace/CyberMan.README

This is the README for CyberMan.1.0.N.b.tar.gz [Download] [Browse] [Up]

Welcome to CyberMan!

CyberMan is a program that lets you automate other applications. One problem with programs with nice Graphical User Interfaces is that the user has to click the buttons and drag the slide knobs themselves. CyberMan is designed to do this for you. You write scripts that specify events to be sent to an application. CyberMan uses a C-like scripting language. This gives the advantage over a static journal recording that you can conditionally send events. You can also read and write the pasteboard and execute shell scripts from within a CyberMan script.

Here is a short example:

	postActivate("Stuart");
	postKeyEvent("Stuart", 0, "echo Hey! Let me do that for you.\n");
	postMouseEvent("Stuart", NX_LMOUSEDOWN, 1, -1, 530, 10, BOTTOM_LEFT);
	postMouseEvent("Stuart", DRAG_WINDOW, 0, -1, -40, -40, BOTTOM_LEFT);
	postMouseEvent("Stuart", DRAG_WINDOW, 0, -1, -50, -50, BOTTOM_LEFT);
	postMouseEvent("Stuart", NX_LMOUSEUP, 1, -1, 530, 10, BOTTOM_LEFT);
	setEventInterval(20);
	postKeyEvent("Stuart", 0, "echo S L O W L Y . . .\n");
	flushEvents();

CyberMan scripts should have the suffix ".cyber". They may also be called as service routines. For more information on how to set up Service scripts see the help information for Piper. Each script should reside in it's own directory in ~/Library/CyberMan and the script should be called script.cyber. An options file is also recognized.

Also included in the package is a modified version of Winfo which should be used to obtain the magic window numbers and (x,y) coordinates.

Sorry that there's not more help: I'm off on a weeks holiday tonight and want to get this out before I go. Future release will include more documentation. Also planned is a nice GUI to let you record and edit scripts. Please let me have feedback on what you are doing (if anything) with this program. I'm open to suggestions for improvements.

My thanks to Tim Bissel for the Icon and for help with yacc and lex.

And finally: CyberMan is Shareware! It costs $50 (75 DM, 30 pounds, 300 francs). This version will pop up a reminder panel every sixteen times you use it, when you register I will send you a version that doesn't. You can also get the source code on request. I will also send information on new updates. For information on site-licences, please contact me. 

Please register by sending your name, address (including email) and company together with cheque, money order or (preferably :-) cash to:

	Dave Griffiths
	Primitive Software Ltd.
	15 Oak Drive
	Oswestry
	Shropshire
	U.K.

My email address is: prim!dave@germany.eu.net
	

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.