The following script is an example of how to use a defined set of header names as the row or column header for a new table. The user is prompted to choose row or column as the header orientation, and how many rows|columns to add below|to the right of the headers.
You can easily adapt this script to work with any set of headers, by replacing the list at the top of the script with the list of headers you want to use; and editing the prompt dialog to conform with the type of headers you’re using.
It provides examples of these techniques:
Interacting with the script user (9, 15, 19)
Building a table and populating it with data from a list (52-64)
Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. MACOSXAUTOMATION.COM assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. MACOSXAUTOMATION.COM provides this only as a convenience to our users. MACOSXAUTOMATION.COM has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and MACOSXAUTOMATION.COM assumes no responsibility in this regard. Please understand that a third-party site is independent from MACOSXAUTOMATION.COM and that MACOSXAUTOMATION.COM has no control over the content on that website. Please contact the vendor for additional information.