Here we describe the application of the program AutoDock to the design of a focused library that was used in the "click chemistry in-situ" generation of the most potent noncovalent inhibitor of the native enzyme acetylcholinesterase (AChE) yet developed (K(d) = ~100 fM).