Detect if a network is presentTag(s): WinAPI/Registry
[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
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com