We use cookies to collect and analyze information on site performance and usage,
to provide social media features and to enhance and customize content and advertisements.
[external function declaration]
FUNCTION Integer GetSystemMetrics (Integer nIndex) LIBRARY "user32.dll"
[powerscript]
integer SM_NETWORK = 63
IF GetSystemMetrics(SM_NETWORK) > 0 THEN
MessageBox("", "Network is up")
END IF