keith6500 Posted May 18, 2012 Share Posted May 18, 2012 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 Link to comment Share on other sites More sharing options...
water Posted May 18, 2012 Share Posted May 18, 2012 There are already some weather applications available on the forum. They might give you an idea how to retrieve the data.One of them is You'll find more if you search for "weather wind" etc. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
AoRaToS Posted May 18, 2012 Share Posted May 18, 2012 You can make an Edit box read only, search for $ES_READONLY s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now