Help with an MS Word Descendant Outline

24 views
Skip to first unread message

ksmith8

unread,
Feb 1, 2013, 10:39:08 PM2/1/13
to geditcom-ii...@googlegroups.com
This may not be possible, but I hope someone can help me.

I have attached a screen shot of what I want to accomplish.  I want to edit the Word Descendant Outline script to:

- delete the marriage info (the + sign means they are married, which is fine for my purposes.)
- to show the birth and death by year rather than the whole date.

and now the hard part:
I want to use an outline like the one I created in the picture.  The generations are listed by bold, color coded number so that they are easily seen at a glance. The outline format that is currently used lists the number of children in each generation.  I want to see what generation they belong to.  Is there a way to write the script to use this outline format or a Word template with this format embedded?  Is it even possible to make a list of individuals by generation number, starting with the target individual as #1?

Thanks for any assistance; even partial assistance will be greatly appreciated.

Kitty in Las Vegas

Screen shot 2013-02-01 at 7.22.37 PM.png

John Nairn

unread,
Mar 3, 2013, 4:00:17 PM3/3/13
to geditcom-ii...@googlegroups.com
Hi Kitty,

This does some of what you want. In general, working with MS Word is very (very) hard. I don't think Microsoft really understood how to make AppleScript work well. To compensate they wrote about a thousand options and 800 pages of documentation. They often have four or five ways to do the same thing and some of them just dont't work. It took a lot of trial and error to find which of the ways actually worked.

I could fairly easily make these changes:

1. Change numbers to be generation number, put them in bold, and have varying colors. You can edit the script in AppleScript Editor to change the fonts and you have to set the RGB value for red, green, and blue. Each number is 0 to 65535 such as {0,0,0} for black, {65535,0,0} for red, etc. Lowering each value the same amount gets a darker verison of that color such as {32000,0,0} for dark red. Darker colors usually look better with numbers. You can use a color wheel in any application to help set the values, although it gives them on scale of 0 to 255 - multiple each by 256 fo get RGB values.

2. Spouses follow an individual with a "+" sign, rather then on a line by themselves

The "...." to start each line is harder. I assume it could be done by setting tabs with a text leader, but that means exploring all the MS Word AppleScript items, and that is not very easy.

You can put this in the ~/Libaray/Application Support/GEDitCOM II/Scripts/Reports. Then start GEDitCOM II and try it. Or if GEDitCOM II is already running, choose "Refresh Scripts? from the Script menu.

Regards,
John Nairn

Descendants Outline KS.scpt

William G. Bates

unread,
Mar 3, 2013, 5:30:05 PM3/3/13
to geditcom-ii...@googlegroups.com
Probably the easies way to get a MSWord document from GEDitCOM II would be to start with ??? to Pages then after it is complete, EXPORT that document to WORD.  Why not take advantage of your Mac's iWork inherent capabilities?  By the same token, you can IMPORT .doc document directly into Pages as well.  The only problem, so far, I have found is in Numbers to Excel where Excel defines things like column and row, along with the determination of, headings differently such that Numbers to Excel drops the definition of the headings and puts them into a plain row/column instead during the export process.

This alone is one of the reasons I try to stay with ??? to Pages Scripts while shunning those for other methodologies.

Sparkgapper
--
You received this message because you are subscribed to the Google Groups "GEDitCOM II Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geditcom-ii-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "GEDitCOM II Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geditcom-ii-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
<Screen shot 2013-02-01 at 7.22.37 PM.png>

---------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://www.cof.orst.edu/cof/wse/faculty/Nairn/
FEA/MPM Web Page: http://oregonstate.edu/~nairnj



------------
John Nairn
Genealogy Software for the Mac

<Descendants Outline KS.scpt>

William G. Bates

unread,
Mar 3, 2013, 5:34:29 PM3/3/13
to geditcom-ii...@googlegroups.com
I should have finished reading this first.  That part of doing "...." instead of indentation would be easily described by Tab Stop = "......" times the number of tab stops before printing that line and could be an opening selection to whichever would be your preference.

Sparkgapper
On Mar 3, 2013, at 2:00 PM, John Nairn wrote:

--
You received this message because you are subscribed to the Google Groups "GEDitCOM II Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geditcom-ii-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


On Feb 1, 2013, at 7:39 PM, ksmith8 wrote:

--
You received this message because you are subscribed to the Google Groups "GEDitCOM II Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geditcom-ii-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
<Screen shot 2013-02-01 at 7.22.37 PM.png>

---------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://www.cof.orst.edu/cof/wse/faculty/Nairn/
FEA/MPM Web Page: http://oregonstate.edu/~nairnj



------------
John Nairn
Genealogy Software for the Mac

<Descendants Outline KS.scpt>

John Nairn

unread,
Mar 3, 2013, 8:22:18 PM3/3/13
to geditcom-ii...@googlegroups.com
It is easy in principle and easy to do yourself. but figuring where it is done in the AppleScript documentation for MS Word can be a challenging task. In this script I used indented paragraph styles. So those would all have to be challenged to hanging indent (first line different) tab stops with leaders, etc.
Reply all
Reply to author
Forward
0 new messages