allowProcessToTakeForeground method
Calls the Win32 API AllowSetForegroundWindow to allow a specific process to go to the foreground.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
![]() |
Syntax
DiagnosticsExternal.allowProcessToTakeForeground();
Parameters
This method has no parameters.
Return value
This method does not return a value.