AutoCAD 2000/2000i/2002 Archive

Reply
Contributor
Posts: 13
Registered: ‎02-23-2005
Message 1 of 3 (235 Views)

How to Write the Code for *.scr files

235 Views, 2 Replies
02-28-2005 02:35 AM
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
New Member
Posts: 2
Registered: ‎12-16-2009
Message 2 of 3 (235 Views)

Re: How to Write the Code for *.scr files

12-16-2009 09:31 AM in reply to: asifmnm
I want to start AutoCAD withuot creating a new drawing (Drawing1.dwg).
How to creat script file called CLOSE.SCR.

_CLOSE Enter


Julia
*A+P
Message 3 of 3 (235 Views)

Re: How to Write the Code for *.scr files

12-21-2009 11:09 AM in reply to: asifmnm
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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube