I have found a solution with the StopUntil() function. Now I'm waiting until someone click a node. Then the window is closed, and I know the sURL variable
... I have proved to be serious and professional Excuse me , Antonio . I don't have that in mind . Simply I was collided that other solutions , like StopUntil in this situation , are working in other manier - loops and etc and it was eating mem . But that in earliers clipper + vb times . Excuse me ...
the window remains opened because it belongs to the operating system, not to the PRG :-) Try this: local lExit := .F. ... ACTIVATE WINDOW oWnd StopUntil( { || lExit } ) From the window, change lExit to .T. to finally exit. Wwoooowwww ! And that is working ! :D Very fine ! So all power of script ...