AutoCAD 2000/2000i/2002 Archive (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Write the Code for *.scr files

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
1191 Views, 2 Replies

How to Write the Code for *.scr files

Hellow!

I come to know about the script command this could be helpful for me if i could know how to write the code for script files. Any one can help me that will be more use if any *.scr file send to me then i will find out my answer very easily. Thanks for reading.
Thanks!
Asif
2 REPLIES 2
Message 2 of 3
JNOBLE12
in reply to: Anonymous

I want to start AutoCAD withuot creating a new drawing (Drawing1.dwg).
How to creat script file called CLOSE.SCR.

_CLOSE Enter


Julia
Message 3 of 3
Anonymous
in reply to: Anonymous

Try this and save it in a file called CLOSE.SCR:

(if(not(zerop(getvar"dbmod")))(command"_.CLOSE""_N")(command"_.CLOSE"))

Note: there is an empty line after the first to respresent a Return

Then at the command line, enter the SCRIPT command and select CLOSE.scr

Paul

wrote in message news:6305819@discussion.autodesk.com...
I want to start AutoCAD withuot creating a new drawing (Drawing1.dwg).
How to creat script file called CLOSE.SCR.

_CLOSE Enter


Julia

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report