CAD Forums > CAD General

Repeat Macro

(1/1)

M-dub:
Hey All,
   Besides adding an asterisk at the beginning of the macro, is there any other way to get it to repeat?  The asterisk doesn't work for me... :(

Example of macro I'd like to repeat.


--- Code: ---^C^C(load"O:/Drawings/Menus-Blocks/LISP/CHText.lsp") cht;\\;j;ml;\
--- End code ---


Thanks

MikePerry:
Hi

The following works for me when tested at this end (until the "ESQ" key is pressed, command cancelled) -

*^C^C_.JustifyText;\;_ML;

OR

^C^C_.Multiple;_.JustifyText;

I believe the issue is related to using * (or the AutoCAD command Multiple) in conjunction with a LISP routine; that's my understanding from reading the AutoCAD Online Help File on this subject.

ID: TS19356 - Repeat AutoCADŽ command

Have a good one, Mike

M-dub:
Thanks Mike,
I like the Text Justify command because it doesn't move the text...just the insertion point.
Other times, I like to use the old CHText routine because it DOES move the text...and leaves the insertion point in place.
Thanks again ;)
Mike

Navigation

[0] Message Index

Go to full version