Announcement

Collapse
No announcement yet.

Airport Delay Discussion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Airport Delay Discussion

    The airport delay is a good idea and got my interest. My airports had no delays and the script needed some limit checking for the Mid function when removing the CR. In all cases my NextPos index = 0 which is not liked by Mid.

    #2
    Does any one have a fix for this . I like this script since I do alot of traveling. this is the error I get in HS log. It no longer updates since 7/15/03

    7/25/2003 10:34:32 PM~!~Error~!~Script error in file: airport_status.txt: 5:Invalid procedure call or argument: 'Mid' in line 91
    HS2 Environment
    Zotac 1.83 GHz Quadcore
    HomeSeer Way2Call
    Netiom-Xap board
    opnode 1-wire 1.2.7
    Plug-In's
    WeatherXML 1.0.0.32
    Pwr Link USB 1.0.0.13
    mcsTemp V6.2.0.14
    mcsXap V3.0.0.0/3.0.0.20
    IM Connector 4.87.2.5
    Sip Connector 2.56.2.4
    RFXCOM 15.0.0.22
    Odroid X2
    Asterisk 11.5.1
    FreePBX 2.11.0.42
    WebMin 1.720
    Xap Switchboard by Mi4

    There is no place Like 127.0.0.1

    Comment


      #3
      The FAA changed their URL. An update is posted here.

      Comment


        #4
        That Did it !!!
        HS2 Environment
        Zotac 1.83 GHz Quadcore
        HomeSeer Way2Call
        Netiom-Xap board
        opnode 1-wire 1.2.7
        Plug-In's
        WeatherXML 1.0.0.32
        Pwr Link USB 1.0.0.13
        mcsTemp V6.2.0.14
        mcsXap V3.0.0.0/3.0.0.20
        IM Connector 4.87.2.5
        Sip Connector 2.56.2.4
        RFXCOM 15.0.0.22
        Odroid X2
        Asterisk 11.5.1
        FreePBX 2.11.0.42
        WebMin 1.720
        Xap Switchboard by Mi4

        There is no place Like 127.0.0.1

        Comment


          #5
          Thanks for the fix, it took me a while to find it.

          I did one little hack to change the Airport designation to a clickable link

          <pre class="ip-ubbcode-code-pre">

          Airport = "&lt;a href=""http://www.fly.faa.gov/flyfaa/flyfaaindex.jsp?ARPT=" & Airport & "&p=0""&gt;" & Airport & "&lt;/a&gt;"



          If i&gt;=0 Then
          Set file = fso.OpenTextFile(filename, OpenFileForAppending, True)
          file.WriteLine("&lt;tr&gt;&lt;td&gt;" & airport & "&lt;/td&gt;&lt;td&gt;" & destDelays & "&lt;/td&gt;&lt;td&gt;" & genDepartureDelays & "&lt;/td&gt;&lt;td&gt;" & genArrivalDelays & "&lt;/td&gt;&lt;/tr&gt;")
          file.Close
          'store information for sending via email later
          msgBody = msgBody & airport & Chr(10) & destDelays & Chr(10)& genDepartureDelays & Chr(10) & genArrivalDelays & Chr(10) & Chr(10)
          End if


          </pre>

          Comment

          Working...
          X