Field-bound scripts won't run when filled with a macro

When I use macros, scripts that would trigger if I fill a field manually, won’t activate (both with type and sendKeys).Is there a workaround for this?

This is a general limitation of the DOM-based automation tools. Solutions: