How would I go about changing the second line of code to avoid hitting enter?
I want to select the attribute definition automatically.
(defun C:MNO (/ str ss)
(setq str (getstring "\nYour [MAPNO] string search: ")) ;
(if (setq ss (ssget "_X" (list (cons 1 str) (cons 410 (getvar 'ctab)))))
(sssetfirst nil ss)
)
(command "justifytext" "previous" "" "mc")
)
Thanks