	MODELESS.MAC macro library
	(C)1992 by Pascal Dornier
	--------------------------------------------------------------------

	[This macro library was first published as an article in Personal
	Engineering magazine]
	
	OrCAD's basic user interface can be a drag on productivity. For
	example, to place a wire, you first have to get out of the current
	menu (which can require several mouse clicks), then select PLACE from
	the main menu, then WIRE from the PLACE menu, then BEGIN from the WIRE
	menu. Doing this with the mouse takes up a lot of time and detracts
	from the work at hand.

	A better way to use OrCAD is to use each input device for what it does
	best. One hand operates the mouse, which is very good at pointing.
	The other hand gives the commands on the keyboard. To place a wire,
	first go to the main menu, then enter P W B on the keyboard.

	Even this takes too long. To improve entry speed, the user can create a
	keyboard macro file. For example, function key F1 could be defined as
	place wire, and so on. Samples for this approach can be found in the
	OrCAD TUTOR directory. These macro files have two basic problems.

	First, function keys are inherently hard to remember: did you ever
	try to use WordPerfect ? The accelerator keys in Microsoft Windows
	are much easier to remember, because their names are an abbreviation
	of the full command. For example, File Save is usually Alt-F S.

	Second, the OrCAD interface is still modal. The meaning of 'P W B'
	depends on the current menu. If it is the wrong one, results can be
	unpredictable. The user constantly has to press ESC or the right mouse
	button to return to the main menu. This can be distracting or even
	stressful.

	This macro library solves these problems and can greatly improve
	schematic capture productivity. For OrCAD 4.x, install it as follows:

	Copy MODELESS.MAC to the \ORCAD directory (base directory for all
	designs). Start OrCAD for the TEMPLATE or the current design. Go
	to the Configure Schematic Tools screen, then page down to Macro
	Options. Set the draft macro file to:	
	
	  \ORCAD\MODELESS.MAC

	and the Draft Initial Macro to

	  \0

	The initial macro is run automatically when Draft is started, and
	will set the following options:

	- Disable the error bell.
	- Enable dragging of buses.
	- Set left button yes. This saves one mouse click per line segment.

	This library is modeless, i.e. each command works no matter what
	menu you are in. Each macro simply enters ESC four times to get
	out of the deepest possible menu (you definitely want the error
	bell off for this !).

	To draw a wire, position the cursor at the start of the wire, then
	press Control-W (^W). Draw the wire as usual, and end with the
	right mouse button. Press Alt-G (\G) to get a device.

	MODELESS.MAC commands
	
	The Control commands are used to place elements. The commands marked
	with * will place the item at the current cursor position.

	* Ctrl-B	Place Bus		
	* Ctrl-D	Place Junction		
	  Ctrl-E	Place Entry
	* Ctrl-J	Place Junction		
	  Ctrl-L	Place Label
	* Ctrl-N	Place No-Connect	
	  Ctrl-P	Place Module port
	  Ctrl-T	Place Text
	* Ctrl-W	Place Wire		

	The Alt commands are used to manipulate the drawing. To use the
	block commands, point to the first corner, then enter the command 
	and click on the second corner.

	* Alt-B		Block Drag		
	  Alt-C	  	Zoom Center		
	* Alt-D		Delete Object
	* Alt-E		Edit			
	  Alt-F		Find
	  Alt-G		Get
	  Alt-I		Zoom In			
	  Alt-L		Library
	* Alt-M		Block Move
	  Alt-O	  	Zoom Out			
	  Alt-R		Repeat
	  Alt-S		Save file
	  Alt-U		Delete Undo
	  Alt-X		Exit WITHOUT save. Alt-X will prompt if the file has 
	  		been changed. To save and exit, type Alt-S A.

