Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoCAD LT 2008 run named script from macro??

Status
Not open for further replies.

cresbydotcom

Technical User
May 22, 2006
234
0
0
I found how to work a macro that did most of what I wanted which disappeared when the Administrator changed our network.
Legacy scripts run as they always did but dont translate automatically to a macro. I want a single click to: run a named macro or the translation of this code
It is to save and purge in a safe plot-ready state for the next user (me usually).
Code:
tilemode 0
zoom
_extents
pspace 
zoom
_extents
purge All * N
qsave
any ideas (while my membership of the official Autodesk forum is being sorted?) TIA


there is a tide in the affairs of man that you Cnut ignore.................
 
This seems to do it, if there are better ways my addled brain can't be bothered to investigate. 10 years is a long time in the apps/versions game!

Code:
zoom e
tilemode 0
_.PSPACE;
zoom e
-purge All * N
qsave


there is a tide in the affairs of man that you Cnut ignore.................
 
slight correction - until this proves wrong (no I don't know why one works then and not now).
Code:
_zoom e
tilemode 0
_.PSPACE;
_zoom e
-purge All * N
qsave

there is a tide in the affairs of man that you Cnut ignore.................
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top