Jump to content

panter

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by panter

  1. I chceck the firewall before you wrote your post and you got right. It blocked the program and thats why it returned @error 4. I didn't thought firewall will block program becouse when i was entering IP in ping it worked O.K. Thanks for help And sorry for problems
  2. Hi, Im new in Autoit, Im writing a program which checks if server is Online. But IP of server which i need changes everytime when serwer go Offline. I got only www adres but ping function doesn't work with it (It return @error 4 even if serwer is online), so i need a function which will check what is the current IP of serwer. :"> global $Paused Do $var = Ping("217.82.52.176",250);need to get this IP from "mell.dyn.pl" If $var Then Msgbox(0,"Status","Serwer Online - Time:" & $var,5) Else Msgbox(0,"Status","Error numer: " & @error, 1) EndIf HotKeySet("{UP}", "TogglePause") HotKeySet("{Down}", "Out") until 1=2 Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('PAUSE',0,0) WEnd ToolTip("") EndFunc Func Out() Exit 0 EndFunc Got any ideas how to do that? I would be grateful for any help Sorry for my bad english
×
×
  • Create New...