Is there an autohotkey solution to copy the end punctuation from the source and insert it at the end of a target segment?

Hello, I'm new to autohotkey but have created various solutions thanks to Nora Diaz's wonderful webinar. 

It seems it should be simple to write a script to copy end punctuation from source and insert it in target, but for some reason I can't figure it out. Part of the problem seems to be the behavior of F6 to switch from source to target.

Does anyone have a script?

Thanks!

Maria Danielson

ATA-certified Dutch > English Translator