clip.set not work every?

"diamantsus-/[email protected] [power-pro]" <[email protected]> 21 Jul 2019 15:22:19 +0000
Newsgroups gmane.comp.windows.power-pro
Message-ID <[email protected]>
I have this script in unicode ppro that fire with a keystroke with Clip.Capture("on").
It not save text in clipboad.
Also HandleFromPoint not get child class name.
long ago it worked.

function WinInfo()
    static Info
    Exec.WindowInfo
    if(Info==0) do
        Info=1
        quit(0)
    endif
    Info=0
    local w
    w=window("anywindow","under")
    Clip.Set("c="++win.class(w))
    Clip.Set(win.caption(w))
    Clip.Set("="++win.ExeName(w))
    Clip.Set("c="++win.HandleFromPoint(xmouse,ymouse).class())
EndFunction