Jump to content

keith6500

Members
  • Posts

    1
  • Joined

  • Last visited

keith6500's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, I have written a script which gets the wind speed and direction from a web page once every minute (or 30 seconds). I then want to display it in a window which displays all the previous readings and updates accordingly. This should be easy I'm sure. But I've tried a few different methods of which none are satisfactory: 1) Writing the data into an untitled - Notepad window. This works fine as long as I'm not using the pc for anything else. In other words, if I am working in another application and typing away, as the script switches to the notepad application, the two get mixed. 2) Using msgBox commands every minute which time out after 50 seconds and are then replaced by a new updated one. But eventually, this becomes too big for the screen. 3) Using SplashText - but this is a fixed size window with no scroll and fills up after less than 20 readings. 4) I've looked at (but not tried) using an 'edit' box in a GUI control but I don't want the box being typed into. The data that has been collected is just stored in one string. So easy to send to whatever the right display method might be. It just needs to come up on the screen in a scrollable window that can't be edited. Below is an example of the data scraped: (Wind Speed is in km/h) 1 - 21:31:54 CalmCalmHigh Gu 2 - 22:08:56 CalmCalmHigh Gu 3 - 22:09:29 SSW 8 4 - 22:10:02 SSW 8 5 - 22:10:34 SSW 5 6 - 22:11:08 SSW 5 7 - 22:11:41 SSW 5 8 - 22:12:14 SSW 5 9 - 22:12:46 SW 11 10 - 22:13:19 SW 11 11 - 22:13:52 WSW 8 12 - 22:14:25 WSW 11 13 - 22:14:58 WSW 11 14 - 22:15:30 WSW 8 15 - 22:16:03 WSW 8 16 - 22:16:36 WSW 8 17 - 22:17:09 WSW 8 There is probably an incredibly simple solution and I'd be very grateful for some pointers in the right direction. Keith
×
×
  • Create New...