Saber si un link está activo

Discusión sobre NeoBook en español

Moderator: Neosoft Support

Locked
Palamar
Posts: 161
Joined: Wed Apr 06, 2005 4:34 pm

Saber si un link está activo

Post by Palamar »

Hola gente, habrá algún script que permita saber si un link esta activo?. No hablo de un archivo, sino de un link. Digamos una acción que permita ver si un link (TRUE o FALSE) responde o no...

Gracias!.
djmarkes
Posts: 193
Joined: Thu May 26, 2011 5:08 pm

Re: Saber si un link está activo

Post by djmarkes »

Haz un simple ping usando la línea de comandos.

También puedes usar el comando nplsHostAlive, del plugin npUtil de David Esperalta.

Saludos.
Diseño gráfico y Web profesional
http://www.jm-style.net
Palamar
Posts: 161
Joined: Wed Apr 06, 2005 4:34 pm

Re: Saber si un link está activo

Post by Palamar »

Muchas gracias!
mishem
Posts: 581
Joined: Mon Oct 08, 2012 1:51 pm

Re: Saber si un link está activo

Post by mishem »

Code: Select all

    Run "PING.EXE" "ya.ru" "RunOnce+Wait+Hidden" "" "[AppID]"
    If "[AppID.ExitCode]" "=" "1"
         Link does not work.
    EndIf
    If "[AppID.ExitCode]" "=" "0"
         Link works.
    EndIf
Locked