Hello,
I am working on my script files for plotting. I am in the process of creating the various scripts for various plotters, paper size etc.
Now I want to have a lisp routine that gets loaded and defines various keystrokes to a set an individual script routine.
Here is my lisp to call the scripts:
(defun c:x1 ()
(command "script" "i:\standards\Retail\ClientA\Plot\30x42 pdf.scr")
)
(defun c:x2 ()
(command "script" "i:\standards\Retail\ClientA\Plot\30x42 Bond Tryplot1.scr")
)
(defun c:x3 ()
(command "script" "i:\standards\Retail\ClientA\Plot\1.scr")
)
now when this is loaded, it says
Command: x3 script
Enter script file name <I:\STANDARDS\retail\Drawing1.scr>:
i:standardsRetailClientaPlot.scr
"i:standardsRetailClientaPlot.scr": Invalid file name.
I don't know if the spaces are allowed or not?
i:\standards\retail\clienta\plot\ is where my script files are located.
The reason why I am not just initiating the script from a button is that not all my users like buttons. I will also create buttons that will call the 2 digit keystroke. I think that is the most well rounded way to go about this.
let me know what is wrong if you can tell...
pieter