This script is designed for teachers, or others, who require the keeping of an attendance record for a group of people, listed in the user’s Contacts application.
It provides examples of these techniques:
Construction of a new table (95-96)
The import of data from another application (19-59)
The use of assigned data formats for cells (132)
The use of contextual formulas (144)
The use of the sort command (150)
Here’s the script:
Create an Attendance Table for a Chosen Contact Group
01
try
02
tellapplicationid "com.apple.iWork.Numbers"
03
activate
04
05
if not (existsdocument 1) then errornumber 1000
06
07
display dialog "This script will create a new table for tracking " & ¬
08
"the attendance of the people in a chosen Contacts group." & ¬
09
return & return & ¬
10
"Should the table include Saturdays and Sundays?" buttons ¬
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.