Comment #5 Sunday, June 15, 2008 2:56 PM

Comment #7 Sunday, June 15, 2008 5:41 PM
Comment #8 Sunday, June 15, 2008 6:08 PM
The only problem - ImageList doesn't work with png-files and doesn't support 32-bit color (may be this is because of Stardock that forgot to add this option)... So you'll need to draw lots of icons in *.bmp format for each of your projects if you want to use 24-bit images.
Good luck with DesktopX! �

Comment #10 Monday, June 16, 2008 11:35 AM
Hmmm... This is template widget so it hasn't any adjustments.
However you may do this manually:
1. Open widget in DesktopX Builder
2. Right click on DX Builder icon in the system tray and select List Objects. Then find the WeatherIcon object in the list, right click on it and select Edit Script.
3. Go to RegEdit and look at the value of key: HKEY_CURRENT_USER\Control Panel\International\LocaleName
4. Then open the WeatherIcon script and find this code:
Sub Object_OnScriptEnter
On Error Resume Next
Dim slc,stm
If IsNumeric("2.0") Then sep = "." Else sep = ","
wfdall = "" : wfdimp = ""
'AUTO DETECTING YOUR LOCAL SETTINGS
Set objShell = CreateObject("WScript.Shell")
slc = objShell.RegRead("HKEY_CURRENT_USER\Control Panel\International\LocaleName")
stm = objShell.RegRead("HKEY_CURRENT_USER\Control Panel\International\sTimeFormat")
Set objShell = nothing
If instr(stm,"tt") > 0 Then mode = "12" Else mode = "24"
Select Case LCase(slc)
Case "ru-ru","YOUR LANGUAGE" '<== enter your language code from the registry here
lang = "Russian|ru" : tempID = "SI" : tu = Chr(176)&"C" : pressID = "SI" : pu = "mmHg" : windID = "SI" : wu = "m/s" : du = "km"
Case "en-gb","en-uk","YOUR LANGUAGE" '<== or here...
lang = "English|gb" : tempID = "SI" : tu = Chr(176)&"C" : pressID = "SI" : pu = "mbar" : windID = "SI" : wu = "km/h" : du = "km"
Case Else
lang = "English|us" : tempID = "US/IMP" : tu = Chr(176)&"F" : pressID = "US/IMP" : pu = "inHg" : windID = "US/IMP" : wu = "mph" : du = "mi"
End Select
Set slc = nothing : Set stm = nothing
End Sub
5. After that close the script and press "Apply" button. Then save a project as a DX object (or as a widget). Now it will show your data in the metric units.
Best Regards.
P.S. As well you may tell me what is your default language. I'll add the necessary changes into the script and send you the widget by E-mail.
Comment #11 Monday, June 16, 2008 3:52 PM

Looking at your creations makes me wish I had the time and skill to create something better than a zoomer in DX.

Comment #12 Monday, June 16, 2008 8:46 PM
Comment #13 Tuesday, June 17, 2008 4:48 AM
To check this please run DesktopX Builder and create New Object.
Press "New" button.
Press "Script" tab.
Select "ActiveX Control" --> "Select control".
Look at the list of controls and try to find these three items in it:
1. Microsoft ImageList Control, version 6.0
2. Microsoft ListView Control, version 6.0
3. Microsoft TreeView Control, version 6.0
You need to update your system if you have not one of these controls!
Comment #14 Tuesday, June 17, 2008 8:46 AM

Comment #15 Tuesday, June 17, 2008 8:59 AM

Ok. I'll send e-mail for you in a minute.
Comment #16 Tuesday, June 17, 2008 9:56 AM
Comment #17 Tuesday, June 17, 2008 10:24 AM
You need to press a button in a two cases:
1. When label text is: "Get Weather Forecast"
2. When label text is: "Change Location"
In the other cases you just need to press (select) items in the lists.
Please send me the screenshot of your desktop by e-mail. I need see what happens with the widget on your computer after its loading.
Comment #18 Tuesday, June 17, 2008 12:07 PM
Comment #19 Tuesday, June 17, 2008 12:26 PM
THIS IS NOT A WIDGET FOR USING! THIS IS ONLY A SCRIPT EXAMPLE WHICH MAY REQUIRE ADJUSTMENT FOR SOME COMPUTER SYSTEMS. I MADE THIS TO HELP PEOPLE LEARN THE DESKTOPX SCRIPTING BUT NOT FOR GETTING THE WEATHER FORECAST.
If you need the Weather Forecast go here: WWW Link
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading files.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!
Comment #1 Sunday, June 15, 2008 6:48 AM