I’m trying to catch an edge condition where an outline has had all its rows deleted. I am unable to fathom how my Applescript can add a new row. I have tried may different ways but all have failed.
Any ideas welcomed.
Here is a code snip :
– Record the position of the selected row
set tSelectedRow to last selected row of tDocument
– ‘last selected row’ will raise an error if there are zero selected rows; add the
– new rows at the top level in this case
--set tSelectedRow to make new row at (begining of every row) --**FAILS** make new row ????? end try