Creating a macro for linetypes with spaces in their names

I’m trying to create macros for keyboard shortcuts and toolbar buttons to set linetypes.

This works fine when linetype names are all one word:

-SetLinetype
Dashed
Enter Enter

And if need be, I can make my linetype names one word by jamming them together, eg “SmallDashDot”.

But I can’t make “By Layer” one word

so how do I do a -setlinetype macro that reverts the linetype to “By Layer”?

Does this work?

_-SetLinetype _Pause "By Layer"

– Dale

Yup. Thanks!