[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Add Parentheses to Existing Text
Tip# 2147 By Jim Cunningham On 01-Sep-2006
1
Rated By 1 users Downloaded : 236
Categories : Notes/Text
Software type : AutoCAD
Rename File To : Tip 2147: Parenth.lsp
Utility lets you supply an optional text addition that is appended to all the existing text before the closing parenthesis is added.

Add Parentheses to Existing Text (Tip #2147) from Jim Cunningham is a power text editor. After loading the LSP into AutoCAD, type the command Jparenth to activate. Select the text to be edited (you can use a window because the selection is filtered for text objects only) and press Enter. At this point, you can supply an optional text addition that is appended to all the existing text before the closing parenthesis is added. Just press Enter with no entry if you don't want to add anything to the text except for the parentheses. Nice job, this is a great example for those wanting to build power text editor tools and is very useful.

 

 

Average Rating:
1


User comments