Jump to content


Script


  • You cannot reply to this topic
No replies to this topic

#1 RWells

  • Members
  • 34 posts

Posted 07 February 2010 - 01:02 PM

I have been trying to get TMG and newFamiySearch to work together. I can get this to happen but with several manual steps. With some suggestions I am trying a script that will work when only one button is pushed.

Hopefully some of you more expreienced users can offer some suggestions either for TMG or the script.

This is the script. The main effort is to create a gedcom of one person who is the current focused person.

Where I am having a problem is where I have to make a selection on the export what people screen. I have tried to click the radio button using the small button spot, the description etc with no good success.

Some possible solutions that i can think of is to somehow have TMG default to current focus person, or somehow making the script hit the right spot. Maybe there is something within TMG or the script that I am missing. What I need is a one button that will create a gedcom of the current focus person.


WinWait, RWells__.PJC - The Master Genealogist,
IfWinNotActive, RWells__.PJC - The Master Genealogist, , WinActivate, RWells__.PJC - The Master Genealogist,
WinWaitActive, RWells__.PJC - The Master Genealogist,
MouseClick, left, 447, 11
Sleep, 100
Send, {ALTDOWN}f{ALTUP}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{EN
TER}{ALTDOWN}n{ALTUP}{ALTDOWN}n{ALTUP}
Sleep, 100
Send, {ALTDOWN}y{ALTUP}
Sleep, 100
MouseClick, left, 465, 544 <----- Problem line...
Sleep, 100
Send, {ALTDOWN}n{ALTUP}
Send, {ALTDOWN}n{ALTUP}
Send, {ALTDOWN}n{ALTUP}
Send, {ALTDOWN}n{ALTUP}
Send, {ALTDOWN}n{ALTUP}
Send, {ALTDOWN}f{ALTUP}
return

This is a autohotkey script.

Thanks
Roger
iMac; iPad
OSx; vmFusion; Windows 7 32 Bit
TMG 7; Gensmarts; FamilyInsight
FamViewer; GedViewer





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users