Copy All Function or API Macro Names to Clipboard
CodeWright® - API Macro - Royalty Free -
Copy All Function or API Macro Names to Clipboard.
This function runs the Routines( ) function against the current buffer. It detects if the output from Routines( ) contains API macros or functions. It then scans for the macro or function name on each line of the Routines( ) output.
When one is found the macro or function name is copied to the clipboard. The result is that at completion the clipboard will contain the name of every macro or function that is defined in the buffer.
After executing this function, position to the location of your choice and paste the list of name using a Paste (ctrl-V) command.
A log is created and returned based on the paramater you select. If you select "Edit" it is returned as a new edit buffer. If you select "Output" it is returned in the Output window Search 1 pane. (Note that the "Output" option requires CodeWright 7.5.1 or higher.)
The log has the following format:
In addition, the clipboard will contain the extracted names (in this case the seven names listed between the two delimiters in the log).
This function calls tlaError.
Current version verified under:
CodeWright for .NET Restriction
This function requires the Compact display capable in CodeWright that is not available in CodeWright for .NET.
There are three primary methods for installing this macro on your system. Method A uses the tlaMDE tool available for purchase from this website. Method B manipulates the macro repository directly. Method C uses the API Macro... tool provided in every copy of CodeWright (but not CodeWright for .NET).
Method A - tlaMDE - CodeWright or CodeWright for .NET
Method B - Copy to Repository - CodeWright or CodeWright for .NET
Method C - API Macro ... - CodeWright Only
tlaTools is a Dynamic Link Library that contains most of the API macros on this website in a single easy to install package. The tlaTools DLL can be purchased by selecting the Buy button on this page.
tlaGetNames is not included as a function in tlaTools.
tlaNames is included as a function in tlaTools.
Copyright © 1993-2005 Thom Little Associates, Ltd. revised
One Central Square, Keene, NH 03431-3787 phone 603-357-7567