CAD Forums > CAD General
running a script on startup
ELOQUINTET:
hey i wanna a script to run on startup but the help info isn't clear to me. what do i need to do for this to happen?
Keith™:
(command "script" "scriptfile.scr")
Put it in the Acad.lsp, acaddoc.lsp or acad200xdoc.lsp. alternatively, you can write it to it's own file, name it a lisp, then add that lisp to the startup suite.
hendie:
or
--- Quote ---The /b switch designates a script to run after AutoCAD starts. To invoke a script when you start AutoCAD, use the following syntax:
acad [drawing file] /b script
The script file must be listed after the /b switch on the command line; an SCR file type is assumed. If AutoCAD can't find the script file, it reports that it can't open the file.
Scripts can be used to set up drawing parameters in a new drawing file. For example, the following command creates a new drawing called widget and runs the script called setup.scr:
acad widget /b setup
When the script has finished, the Command prompt is displayed.
--- End quote ---
ELOQUINTET:
ok that works fine for me but is there anyway to have it run on everyone's machine without sitting down at each station and setting it up? that's what i really wonder?
Keith™:
NOPE
Navigation
[0] Message Index
[#] Next page
Go to full version