Hi, no, I meant sendkey. Here is a sample I use for ESC:(defun SENDKEY (strKeys / oWScript) (if (setq oWScript (vlax-create-object "WScript.Shell")) (progn (vlax-invoke-method oWScript 'Sendkeys strKeys) (vlax-release-object oWScript) ); progn ); if); SENDKEY (SENDKEY "{ESC}") Regards, Fred
In that situation (Sendkey "{ESC}") would be efficient?