Write pro - event handling method

Hello,
We can use 4D events with a WritePro zone. But we cannot filter events.
We can use a 4D event handling method but it runs in a separate process.
Is it possible with Writepro to get the same command as « wr on event » ?