Use AU3_Spy.exe to fund the ahk_class and contol ClassNN, then replace all notepad and edti1 elements and change to
A_EventInfo!=0
I found the ahk_class and control ClassNN, and replaced notepad as follows:
#Persistent
Run C:\Program Files (x86)\TextShield Fusion\TextShield.exe
Return
OnClipBoardChange:
If (!WinExist("ahk_class TextShield32") || A_EventInfo!=0)
Return
KeyWait, LCtrl
KeyWait, RCtrl
ControlFocus,Edit1,ahk_class TextShield32
ControlSend,Edit1,{CtrlDown}v{CtrlUp},ahk_class TextShield32
Return
I did not know where control ClassNN went, and while this runs TextShield when the script is run, it does not copy anything to it. I am missing something (as usual!).