Jump to content
Sign in to follow this  
RWells

Script

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×