Nessie Posted March 18, 2013 Share Posted March 18, 2013 (edited) Here is another UDF Now you can very simply retrive details about the weather in a specific region, using the Yahoo Weather API.All you need is the WOEID code of the region that you want to check.If you will find any bug, have suggestion or you want other function please just let me know!What is this WOEID?A WOEID (Where on Earth IDentifier) is a unique 32 bit reference identifier assigned byYahoo! to identify any feature on Earth.How i can get this value?Now with version >= 1.1.0 you can retrive this value with the function _YWeater_Retrieval_WOEIDORYou can use this simple website to retrive your preferite WOEIDhttp://woeid.rosselliot.co.nz/You can search by city, address or zip code.Changelog;===================================================== v.1.1.0 (11/04/2013) Added _YWeater_Retrieval_WOEID ;===================================================== v.1.0.0 (18/03/2013) Initial ReleaseAll supported function:;_YWeater_Retrieval_WOEID ;_YWeater_Get_Weather ;_YWeater_Get_Forecast ;_YWeater_Get_Atmosphere ;_YWeater_Get_Astronomy ;_YWeater_Get_Wind ;_YWeater_Get_Coordinates ;_YWeater_Get_LocationHere is an example of usage:expandcollapse popup#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include "YWeather.au3" ;====================================================================================================== $iWOEID = "2459115" ;New York WOEID $iUnits = 1 ;Imperial System ;====================================================================================================== $GUI = GUICreate("YWeather v.1.0.0", 454, 421, 550, 140) $Group1 = GUICtrlCreateGroup("Current Weather", 8, 8, 433, 209) $Label1 = GUICtrlCreateLabel("Temperature:", 16, 24, 67, 17) $l_Temp = GUICtrlCreateLabel("40", 88, 24, 20, 17) $Label3 = GUICtrlCreateLabel("Weather:", 16, 48, 48, 17) $l_Weather = GUICtrlCreateLabel("", 64, 48, 276, 17) $Label19 = GUICtrlCreateLabel("Wind Chill:", 16, 72, 54, 17) $l_Chill = GUICtrlCreateLabel("", 72, 72, 18, 17) $Label21 = GUICtrlCreateLabel("Direction:", 96, 72, 49, 17) $l_Direction = GUICtrlCreateLabel("", 144, 72, 26, 17) $Label23 = GUICtrlCreateLabel("Speed:", 176, 72, 38, 17) $l_Speed = GUICtrlCreateLabel("", 216, 72, 26, 17) $Label25 = GUICtrlCreateLabel("mph", 248, 72, 24, 17) $Label26 = GUICtrlCreateLabel("Sunrise:", 16, 120, 42, 17) $l_Sunrise = GUICtrlCreateLabel("", 64, 120, 42, 17) $Label28 = GUICtrlCreateLabel("Sunset:", 112, 120, 40, 17) $l_Sunset = GUICtrlCreateLabel("", 152, 120, 42, 17) $Label30 = GUICtrlCreateLabel("Humidity:", 16, 96, 47, 17) $l_Humidity = GUICtrlCreateLabel("", 64, 96, 18, 17) $Label32 = GUICtrlCreateLabel("%", 88, 96, 12, 17) $Label33 = GUICtrlCreateLabel("Visibility:", 104, 96, 43, 17) $l_Visibility = GUICtrlCreateLabel("", 152, 96, 18, 17) $Label35 = GUICtrlCreateLabel("mi", 176, 96, 14, 17) $Label36 = GUICtrlCreateLabel("Pressure:", 192, 96, 48, 17) $l_Pressure = GUICtrlCreateLabel("", 240, 96, 26, 17) $Label38 = GUICtrlCreateLabel("Latitude:", 16, 144, 45, 17) $l_Latitude = GUICtrlCreateLabel("", 64, 144, 34, 17) $Label40 = GUICtrlCreateLabel("Longitude:", 104, 144, 54, 17) $l_Longitude = GUICtrlCreateLabel("", 160, 144, 34, 17) $Label42 = GUICtrlCreateLabel("City:", 16, 168, 24, 17) $l_City = GUICtrlCreateLabel("", 40, 168, 114, 17) $Label44 = GUICtrlCreateLabel("Region:", 168, 168, 41, 17) $l_Region = GUICtrlCreateLabel("", 216, 168, 50, 17) $Label46 = GUICtrlCreateLabel("Country:", 280, 168, 43, 17) $l_Country = GUICtrlCreateLabel("", 328, 168, 106, 17) $Label5 = GUICtrlCreateLabel("Check time:", 16, 192, 60, 17) $l_Check = GUICtrlCreateLabel("", 80, 192, 236, 17) $Label2 = GUICtrlCreateLabel("F", 112, 24, 10, 17) $Label4 = GUICtrlCreateLabel("in", 272, 96, 12, 17) $Label6 = GUICtrlCreateLabel("Rising:", 288, 96, 33, 17) $l_Rising = GUICtrlCreateLabel("", 328, 96, 68, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $Group2 = GUICtrlCreateGroup("Forecast", 8, 224, 433, 89) $Label7 = GUICtrlCreateLabel("Low Temperature:", 16, 240, 90, 17) $l_Low1 = GUICtrlCreateLabel("", 112, 240, 20, 17) $Label9 = GUICtrlCreateLabel("F", 136, 240, 10, 17) $Label11 = GUICtrlCreateLabel("High Temperature:", 16, 264, 92, 17) $l_Hi1 = GUICtrlCreateLabel("", 112, 264, 18, 17) $Label12 = GUICtrlCreateLabel("F", 136, 264, 10, 17) $Label13 = GUICtrlCreateLabel("Weather:", 16, 288, 48, 17) $l_Weather1 = GUICtrlCreateLabel("", 64, 288, 290, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $Group3 = GUICtrlCreateGroup("", 8, 320, 433, 89) $Label15 = GUICtrlCreateLabel("Low Temperature:", 16, 336, 87, 17) $Label16 = GUICtrlCreateLabel("High Temperature:", 16, 360, 89, 17) $Label17 = GUICtrlCreateLabel("Weather:", 16, 384, 48, 17) $l_Weather2 = GUICtrlCreateLabel("", 64, 384, 298, 17) $l_Low2 = GUICtrlCreateLabel("", 104, 336, 18, 17) $Label14 = GUICtrlCreateLabel("F", 128, 336, 10, 17) $l_Hi2 = GUICtrlCreateLabel("", 112, 360, 18, 17) $Label20 = GUICtrlCreateLabel("F", 136, 360, 10, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $Weather = _YWeater_Get_Weather($iWOEID, $iUnits) If Not @error Then InetGet($Weather[1], @TempDir & "\Current_Picture.gif") GUICtrlSetData($l_Weather, $Weather[0]) GUICtrlCreatePic(@TempDir & "\Current_Picture.gif", 368, 24, 60, 52) GUICtrlSetData($l_Temp, $Weather[2]) GUICtrlSetData($l_Check, $Weather[3]) EndIf $Forecast = _YWeater_Get_Forecast($iWOEID, $iUnits) If Not @error Then InetGet($Forecast[0][5], @TempDir & "\Tomorrow_Picture.gif") GUICtrlCreatePic(@TempDir & "\Tomorrow_Picture.gif", 368, 240, 60, 52) GUICtrlSetData($Group2, $Forecast[0][0] & " " & $Forecast[0][1]) GUICtrlSetData($l_Low1, $Forecast[0][2]) GUICtrlSetData($l_Hi1, $Forecast[0][3]) GUICtrlSetData($l_Weather1, $Forecast[0][4]) InetGet($Forecast[1][5], @TempDir & "\After_Tomorrow_Picture.gif") GUICtrlCreatePic(@TempDir & "\After_Tomorrow_Picture.gif", 368, 336, 60, 52) GUICtrlSetData($Group3, $Forecast[1][0] & " " & $Forecast[1][1]) GUICtrlSetData($l_Low2, $Forecast[1][2]) GUICtrlSetData($l_Hi2, $Forecast[1][3]) GUICtrlSetData($l_Weather2, $Forecast[1][4]) EndIf $Wind = _YWeater_Get_Wind($iWOEID, $iUnits) If Not @error Then GUICtrlSetData($l_Chill, $Wind[0]) GUICtrlSetData($l_Direction, $Wind[1]) GUICtrlSetData($l_Speed, $Wind[2]) EndIf $Atmosphere = _YWeater_Get_Atmosphere($iWOEID, $iUnits) If Not @error Then GUICtrlSetData($l_Humidity, $Atmosphere[0]) GUICtrlSetData($l_Visibility, $Atmosphere[1]) GUICtrlSetData($l_Pressure, $Atmosphere[2]) GUICtrlSetData($l_Rising, $Atmosphere[3]) EndIf $Astronomy = _YWeater_Get_Astronomy($iWOEID) If Not @error Then GUICtrlSetData($l_Sunrise, $Astronomy[0]) GUICtrlSetData($l_Sunset, $Astronomy[1]) EndIf $Coordinates = _YWeater_Get_Coordinates($iWOEID) If Not @error Then GUICtrlSetData($l_Latitude, $Coordinates[0]) GUICtrlSetData($l_Longitude, $Coordinates[1]) EndIf $Location = _YWeater_Get_Location($iWOEID) If Not @error Then GUICtrlSetData($l_City, $Location[0]) GUICtrlSetData($l_Region, $Location[1]) GUICtrlSetData($l_Country, $Location[2]) EndIf GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEndHi!Previous download : 39YWeather v.1.1.0.rar Edited April 11, 2013 by Nessie jaberwacky 1 My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!  My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
coffeeturtle Posted April 8, 2013 Share Posted April 8, 2013 This looks really awesome, Nessie! Please, could you include a way to query WOEID's site to make location retrieval transparent to the end-user? What I mean to say, in an AutoIt Script the user is presented with a query for a zipcode. Behind the scenes, AutoIt queries WOEID's site and comes back with a list of possible cities presenting that to the user. The user selects his city and AutoIt uses the WOEID to present the weather information from Yahoo. Please let me know what you think. Thank you! Link to comment Share on other sites More sharing options...
guinness Posted April 10, 2013 Share Posted April 10, 2013 You would need a Yahoo developer ID. Hint: http://stackoverflow.com/questions/1822650/yahoo-weather-api-woeid-retrieval UDF List:  _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Nessie Posted April 10, 2013 Author Share Posted April 10, 2013 (edited) This looks really awesome, Nessie! Please, could you include a way to query WOEID's site to make location retrieval transparent to the end-user? What I mean to say, in an AutoIt Script the user is presented with a query for a zipcode. Behind the scenes, AutoIt queries WOEID's site and comes back with a list of possible cities presenting that to the user. The user selects his city and AutoIt uses the WOEID to present the weather information from Yahoo. Please let me know what you think. Thank you! Here i am, sorry for the late answer but i wasn't at home in the last week due my job For what you want to do you don't necessary need a Yahoo developer ID. Just query your city to yahoo and it will do the job for you http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20text%3D%22york%22&format=xml Just replace york to the city that you want to search, and yahoo will retrive to you all the possibile WOEID, Hi! EDIT New versione released! Added _YWeater_Retrieval_WOEID #include <YWeather.au3> #include <Array.au3> $aResult = _YWeater_Retrieval_WOEID("york") If Not @error Then _ArrayDisplay($aResult) Else MsgBox(16, "Error", @error) EndIf Edited April 10, 2013 by Nessie My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!  My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
mesale0077 Posted April 11, 2013 Share Posted April 11, 2013 link broken http://www.autoitscript.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=39860 again new upload please Link to comment Share on other sites More sharing options...
Nessie Posted April 11, 2013 Author Share Posted April 11, 2013 Try now and let me know. Hi! My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!  My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
mikeeps2 Posted July 18, 2013 Share Posted July 18, 2013 hello , i try to download   YWeather v.1.1.0.rar   but have error 0 data , can you fix that , thanks Link to comment Share on other sites More sharing options...
Nessie Posted July 18, 2013 Author Share Posted July 18, 2013 Just checked with autoit 3.3.8.1 and work fine. If you give me some information like: Autoit Version, Operation System used, etc...we can figure out the problem. Hi! My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!  My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
BrewManNH Posted July 18, 2013 Share Posted July 18, 2013 When I ran this; I get an error using "_YWeater_Retrieval_WOEID("03064")", "YWeather.au3 (78) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:". When I run that, $aCountry has 6 entries, but $County (the array that causes the error), has this for the entries. [0]|Hillsborough [1]|Stadtkreis Cottbus [2]|Benito Juarez [3]|Sao Paulo [4]|<admin3/><locality1/><locality2/><postal type="Postal Code" woeid="12703436">03</postal><centroid><latitude>38.534409</latitude><longitude>30.721479</longitude></centroid><boundingBox><southWest><latitude>37.775780</latitude><longitude>29.679890</longitude></southWest><northEast><latitude>39.293030</latitude><longitude>31.763060</longitude></northEast></boundingBox><areaRank>9</areaRank><popRank>0</popRank></place><place xmlns="http://where.yahooapis.com/v1/schema.rng" xml:lang="en-US" yahoo:uri="http://where.yahooapis.com/v1/place/12858607"><woeid>12858607</woeid><placeTypeName code="11">Postal Code</placeTypeName><name>03-064</name><country code="PL" type="Country" woeid="23424923">Poland</country><admin1 code="PL-MZ" type="Province" woeid="12577941">Masovian</admin1><admin2 code="" type="County" woeid="12591304">Warsaw If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
Nessie Posted July 19, 2013 Author Share Posted July 19, 2013 Thanks for the report, i have spotted the problem and i will fix it tomorrow Hi! My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!  My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
BillM Posted August 10, 2013 Share Posted August 10, 2013 Nessie, I am blown away with your weather app! I am in the process of developing my own desktop widget based on your example code. I noticed that your include file function _YWeater_Get_Forecast() only provides a 2-day forecast. I was wondering if Yahoo Weather provides a 5-day forecast. If so, could I access it by simply modifying _YWeater_Get_Forecast() by increasing the array size? Keep up the GREAT WORK and thanks so MUCH for sharing! Link to comment Share on other sites More sharing options...
BillM Posted August 22, 2013 Share Posted August 22, 2013 Answered my own question: I was right that Yahoo does indeed provide the full 5-day forecast. And it was indeed a matter of extending your array by revising _YWeater_Get_Forecast(): Change the array size:    Local $aReturn[5][6] Add these additional lines at end:    $aReturn[2][0] = $aRegex[12]    $aReturn[2][1] = $aRegex[13]    $aReturn[2][2] = $aRegex[14]    $aReturn[2][3] = $aRegex[15]    $aReturn[2][4] = $aRegex[16]    $aReturn[2][5] = "http://l.yimg.com/a/i/us/we/52/" & $aRegex[17] & ".gif"    $aReturn[3][0] = $aRegex[18]    $aReturn[3][1] = $aRegex[19]    $aReturn[3][2] = $aRegex[20]    $aReturn[3][3] = $aRegex[21]    $aReturn[3][4] = $aRegex[22]    $aReturn[3][5] = "http://l.yimg.com/a/i/us/we/52/" & $aRegex[23] & ".gif"    $aReturn[4][0] = $aRegex[24]    $aReturn[4][1] = $aRegex[25]    $aReturn[4][2] = $aRegex[26]    $aReturn[4][3] = $aRegex[27]    $aReturn[4][4] = $aRegex[28]    $aReturn[4][5] = "http://l.yimg.com/a/i/us/we/52/" & $aRegex[29] & ".gif" THANKS Nessie! Link to comment Share on other sites More sharing options...
manduka Posted April 3, 2014 Share Posted April 3, 2014 hello everyone, I'm new and Italian, from creator of the script I wanted to know if it was possible to convert the code city, from New York to Italy ... I care for private purposes. no purpose programming, I saw the script and I find it very convenient and useful .. let me know, thank you in advance  Link to comment Share on other sites More sharing options...
BrewManNH Posted April 3, 2014 Share Posted April 3, 2014 The first post has what you need, you need the WOEID code for the city you want to use, and there are instructions on how to get that information. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
manduka Posted April 4, 2014 Share Posted April 4, 2014 first of all thank you so much for having responded to me, since it is a topic left, I read the instructions but I just can not figure out where to put the woeid, I looked at the source and I can not convert it. I might post an example? I'm sorry for my ignorance on the subject. but I'm not a programmer. I am going to be little in this field ... thanks in advance for a 'further response, good day Link to comment Share on other sites More sharing options...
manduka Posted April 4, 2014 Share Posted April 4, 2014 sorry ... I had not noticed that variable in the top where insert, problem solved and thanks to the availability ... Link to comment Share on other sites More sharing options...
Nations24 Posted December 20, 2020 Share Posted December 20, 2020 The website used to find the WOEID no longer works, Here is the alternative to find WOEID : Nations24 WOEID Lookup Please make this change in the forum if possible. 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