Not normal scripts no - they have no way of interacting with dialogs. If you need to send keystrokes to a dialog then you'll need some ActiveX together with VBScripting:
Code:
(vl-load-com)
;;; Send keystrokes to the current window / dialog
(defun SendKeys (keys / ws)
(if (setq ws (vlax-get-or-create-object "WScript.Shell"))
(progn
(vl-catch-all-apply (vlax-Invoke ws 'SendKeys keys))
(vlax-release-object ws)
)
)
)
You'll call it in the SCR file like (SendKeys "keystrokes"), e.g. to send an Enter:For more info on the SendKeys method: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx