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.
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
On Oct 5, 12:28 pm, Sparkgapper <wg...@elp.rr.com> wrote:
> 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.
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.
> 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.
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
On Oct 5, 2012, at 3:19 PM, John Nairn wrote:
> 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.
> On Oct 5, 2012, at 11:28 AM, Sparkgapper wrote:
>> 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.
> 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
> On Oct 5, 2012, at 3:19 PM, John Nairn wrote:
>> 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.
>> On Oct 5, 2012, at 11:28 AM, Sparkgapper wrote:
>>> 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.