Identifying the Selected Table

Editing existing tables usually requires the initial step of identifying the table(s) to be edited. A script can search every slide of a document looking for a particular table whose property values match specific criteria, such as name, or cell|row|column count. Most often however, scripts run by users are executed on the currently selected table in a document.

The following script can function as a template for scripts you write that target a selected table. The script includes checks for an open document, and for a selected table. To use, open a copy in the AppleScript Editor, and place your table editing statements where indicated in the script. Enjoy!

IMPORTANT TIP: Learn how to save and run your favorite scripts using the system-wide Script Menu.

TOP | CONTINUE