Old Script not working after last GEDitCOM II upgrade

52 views
Skip to first unread message

Sparkgapper

unread,
Oct 5, 2012, 2:28:39 PM10/5/12
to GEDitCOM II Discussions
I just tried to use my old Generational script to Pages and it gives
the following error just a few seconds after I click Run:
"Apple Script Error
Pages got an error: Can't get document 1. Invalid index."

This script was working perfectly before the upgrade and is the one I
modified to show Burial information while also showing the spousal
information. This one is also one of the one that does not show on
the "System Scripts" menu that I reported some time back after going
to newest full upgrade.

Sparkgapper

Sparkgapper

unread,
Oct 5, 2012, 2:43:19 PM10/5/12
to GEDitCOM II Discussions
Found the problem. I had "Noted" the "Make Document" command and
after restoring it to normal it works properly now. Plus, it now only
opens one page instead of one for "Make Document" and one for
"Activate" which was the reason for the "Noted" command to begin with.

Sparkgapper

John Nairn

unread,
Oct 5, 2012, 5:19:49 PM10/5/12
to geditcom-ii...@googlegroups.com
That script has not changed, but it sounds like the problem in in Pages and not GEDitCOM II. What MacOS are you using and what version of Pages? Also try to start Pages before running the script to see if that changes anything.

The system scripts for GEDitCOM II have three scripts that send Reports to Pages. If you are using a custom script of your own, I might need to see the script to find the problem. Your own scripts should be in the User Scripts section (i.e., not in the System Scripts menu). Furthermore, a few versions ago, the System folder had to be moved (due to new Apple restrictions). It is possible your copy got left in the old system folder, which should still be there in the root hard disk Library/Application Support folder instead of your user directory Library folder.

William G. Bates

unread,
Oct 5, 2012, 6:29:13 PM10/5/12
to geditcom-ii...@googlegroups.com
First, the script is a SLIGHT modification of your Generation report in the report to pages folder and the ONLY change between a couple of weeks ago and today was the GEDitCOM II update that generated several problem reports. I have made ABSOLUTELY no updates to either my OS or PAGES because of the necessary retention of use of AppleWorks Graphics capability that I aleuded to before. I am still back on Snow Leopard .8 (as stated before) and using Pages 08 as I have been doing since 09 came out and its architechual date referenceing calculation which destroyed several of my genealogical spreadsheets.

As can be seen by my update to the original post, I fixed the problem but am totally unable to say WHY the reinstatement of the "Make Document" statement fixed the problem including why there is now only one sheet generated vice the two that were being generated just two weeks ago with the second being the one actually being used.

Sparkgapper

John Nairn

unread,
Oct 5, 2012, 6:53:57 PM10/5/12
to geditcom-ii...@googlegroups.com
Glad its working. The creation of documents is an idiosyncrasy of the way Pages responds to scripting and not something done by GEDitCOM II.
Reply all
Reply to author
Forward
0 new messages