Community
Hi
I have a small lisp-routine to save file to a new folder. My problem is when I add it to APPLOAD to be able to link it to a button in CUI, it allways runs the code automatically when I start ACAD. I only want to start the script when I press the button.
(defun c:savefile() (command "_saveas" "2013" (strcat "C:\\newfolder\\" (getvar "dwgname"))) ) (savefile)
Where might I've gone wrong?
Thx!
Solved! Go to Solution.
Solved by M_Hensley. Go to Solution.