Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28: Customizing Toolbars, Menus,... > Opening an Expanded Text Box for the...

Opening an Expanded Text Box for the Macro Option

As you become more expert at creating macros, you may find the line provided in the Macro option too small for your needs. Fortunately, you can open an expanded text box in which to write longer macros. For example, suppose you want to include the following macro in a tool:

(defun c:breakat ()

(command "break" pause "f" pause "@")

)

breakat

This example shows the Breakat AutoLISP macro. Everything in this segment is entered just as it would be from the keyboard at the Command prompt. You may find it a bit cumbersome to try to enter this macro in the text box provided by the Macro option in the Properties group of the Customize User Interface dialog box, but if you click the Macro text box, a Browse button appears to the right (Figure 28-21).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial