>How can I reference active window as object?.
>There's a function (ASELOBJ) that references .vcx open for edition as an object. I want to do the same but with .prg open with MODIFY COMMAND.
In short, you cannot. You can use editor functions from Foxtolls.fll to work with editor windows.
--sb--