Four13 Designs
The official site of Four13 Designs offering downloads for DesktopX. New email address!!! four13designs@hotmail.com Please adjust your comments and questions accordingly. Thankyou.
View
Search

Jan 5, 2006 3:07 AM by Discussion: DesktopX
Is there a difference in the way DesktopX uses VBscript? I've tried the same code using both Wscript (ie, creating a simple .vbs file and running directly through Windows) and the other with DesktopX. While the one used with Windows directly works the way it should - i create an array of available playlists with WMP and call them one item at a time - when used in DesktopX I constantly receive a scripting error of (null) at the line of said code.

Now I can get the code to work in DesktopX if I hard code the item number but I would like to use a variable instead as I do not know how many items will be available at a given time. Can DesktopX not handle variables such as Long? For such a 'powerful' program it really seems to be falling short unless ones making a simple weather object...

I find this very frustrating and there has to be a reason - one though I can not for the life of me figure out. If anyone could help me out it would greatly appreciately.
5 Replies Reply 6 Referrals

Dec 16, 2005 10:08 AM by Discussion: DesktopX
Any chance of adding Tab support to forms creation? And possibly allowing images and dividers/seperators as well? I feel this much needed and further entice program developers to DesktopX if they could create 'professional' looking preference panels. As it is right now, they just don't look polished enough and this would add that needed style.
0 Replies Reply 4 Referrals

Dec 14, 2005 9:00 AM by Discussion: DesktopX
Is there any way to change the systray icon of gadgets on the fly through scripting? The documentation on it is sparse at best...for such an 'amazing developement tool' the documentation to go along with it is leaves something to desire. One case in point: the SetFontName call...I can't for the life of me get it to change the font name even though I've followed what the guide says.

If anyone can respond to this question I'd be most appreciative. Though whether anyone does or not...still trying to get help using ConnectObject which doesn't seem to work either though the script is correct. DesktopX keeps spitting back garbage at me.
4 Replies Reply 5 Referrals

Nov 2, 2005 2:37 PM by Discussion: DesktopX

I've been trying to use ConnectObject in order to sink my gadget with MSN Messenger. It works or I should say SHOULD work but it keeps throwing a 'Type Mismatch' Error at me. I've set it up correctly following the guidelines at MSDN but...

Anyone have any ideas? Could it possibly be an error with DesktopX itself? Any help would be greatly appreciated as this will be an excited and dare I say wanted gadget when it is done.

Preview here -- Link

[CODE]

Set app = CreateObject("Messenger.UIAutomation.1")
ConnectObject app, "DMessengerEvents_"

Sub DMessengerEvents_OnContactStatusChange(contact ,status)
Object_OnTimer2
End Sub

Sub DMessengerEvents_OnContactFriendlyNameChange(res, contact ,name)
Object_OnTimer2
End Sub

[/CODE]
0 Replies Reply 4 Referrals

MSN Messenger Contact Viewer

Nov 1, 2005 2:49 PM by Discussion: New Releases
[IMG]http://ic1.deviantart.com/fs8/i/2005/300/2/6/MSNstatus_by_laushung.png[/IMG]

MSNstatus - Beta Preview
-----------------------------

For those of us that use MSN Messenger but have away wanted the desktop display of the contacts that Miranda offers, I present to you MSNstatus. Display all of your contacts on the desktop and never have to open Messenger again to see who's online.

Featuring the same functionality you get when using the native Messenger window, you'll never want to open it either. Change your online status, start a conversation, adjust your preferences straight from the desktop. If you only want to see who is online, no problem - simply hide your offline contacts. This will even automatically update every 10 minutes to keep your contact list update or you can refresh the list at any time by selecting from the menu. Also as is a standard on all Four13 Design products, choose from either a dark or light text color so you'll always be able to read what's displayed.

What's planned for the final release
-----------------------------

- User skinning of Status Icons and Background graphic
- Full menu support
- Scrolling through contacts

Known Issues
-----------------------------

- List can extend beyond screen height if you have too many contacts
- Menu isn't fully programmed

Screenshots
-----------------------------

- Showing both built-in skins (MSN and Adium): [URL=http://www.deviantart.com/view/24583993/]Here[/URL]
- Showing Windowless Contact List w/ Adium icons: [URL=http://www.deviantart.com/view/24584083/]Here[/URL]
- Showing Windowless Contact List w/ MSN icons: [URL=http://www.deviantart.com/view/24584161/]Here[/URL]

Regarding Skins
-----------------------------

Currently you can skin the background window and status icon only. I've been having limited success with the changing of text colors using the .ini file therefore I've added a menu item for that. You can select between 'Dark' and 'Light'.

Please use the provided skin as a template for creating your own skins. The dimensions should remain the same for each graphic as there might be alignment issues if you deviate from them.

Modify your MSNstatus_skin.ini by opening it in Notepad and entering the correct location (ie SkinFolder\SkinPart.png). Do this for each part or your skin will have errors.

To skin MSNstatus, simply copy your modified MSNstatus_skin.ini file to the same folder as the MSNstatus.exe file. You can keep a copy of this file in the skin's folder if you wish (I recommended you do this).

Change Log
-----------------------------

Version 0.96 Beta (11.01.05)

- Added Skin feature and included a seperate skin (Milk) as a template to create your own

Version 0.95 Beta (11.01.05)

- Added Display Picture (will only display correct picture after changing through MSNstatus - cannot get picture through Messenger to begin with)
- Added Unread mail featuer (if you have an email account other than Hotmail or MSN it will read as N/A)
- FIXED!!! Offline contacts from not begin displayed on refresh!!
- FIXED!!! Listing of online contacts! It will nopw display the proper amount of online contacts below 20 (if you have over 20 online contacts then this is the limit for now)
- More menu items now work

Version 0.92 Beta (10.30.05)

- Fixed background status display showing while in windowless mode
- Added disabling of offline contacts during refresh of list
- Added Adium-esque skin with icons

Version 0.91 Beta (10.29.05)

- Added background feature
- Set limit to 20 contacts visible at a time

Version 0.9 Beta (10.28.05)

- Fixed an issue with the FriendlyName not updating to match your current screen name. It should now work!

-----------------------------

NOTE: Please be sure to have MSN Messenger running BEFORE you start this application. You will encounter problems if you do not!!

I hope you enjoy this application and please leave your suggestions on improvements for future updates!

Download from [URL=http://www.deviantart.com/view/24538702/]DeviantArt[/URL] and help with the Beta Test!

Four13 Designs © 2005. All Rights Reserved. Not for redistribution without written consent from the author of this program.
0 Replies Reply 7 Referrals

MSN Messenger Contact Viewer

Nov 1, 2005 2:45 PM by Discussion: OS Customization


MSNstatus - Beta Preview
-----------------------------

For those of us that use MSN Messenger but have away wanted the desktop display of the contacts that Miranda offers, I present to you MSNstatus. Display all of your contacts on the desktop and never have to open Messenger again to see who's online.

Featuring the same functionality you get when using the native Messenger window, you'll never want to open it either. Change your online status, start a conversation, adjust your preferences straight from the desktop. If you only want to see who is online, no problem - simply hide your offline contacts. This will even automatically update every 10 minutes to keep your contact list update or you can refresh the list at any time by selecting from the menu. Also as is a standard on all Four13 Design products, choose from either a dark or light text color so you'll always be able to read what's displayed.

What's planned for the final release
-----------------------------

- User skinning of Status Icons and Background graphic
- Full menu support
- Scrolling through contacts

Known Issues
-----------------------------

- List can extend beyond screen height if you have too many contacts
- Menu isn't fully programmed

Screenshots
-----------------------------

- Showing both built-in skins (MSN and Adium): [URL=http://www.deviantart.com/view/24583993/]Here[/URL]
- Showing Windowless Contact List w/ Adium icons: [URL=http://www.deviantart.com/view/24584083/]Here[/URL]
- Showing Windowless Contact List w/ MSN icons: [URL=http://www.deviantart.com/view/24584161/]Here[/URL]

Regarding Skins
-----------------------------

Currently you can skin the background window and status icon only. I've been having limited success with the changing of text colors using the .ini file therefore I've added a menu item for that. You can select between 'Dark' and 'Light'.

Please use the provided skin as a template for creating your own skins. The dimensions should remain the same for each graphic as there might be alignment issues if you deviate from them.

Modify your MSNstatus_skin.ini by opening it in Notepad and entering the correct location (ie SkinFolder\SkinPart.png). Do this for each part or your skin will have errors.

To skin MSNstatus, simply copy your modified MSNstatus_skin.ini file to the same folder as the MSNstatus.exe file. You can keep a copy of this file in the skin's folder if you wish (I recommended you do this).

Change Log
-----------------------------

Version 0.96 Beta (11.01.05)

- Added Skin feature and included a seperate skin (Milk) as a template to create your own

Version 0.95 Beta (11.01.05)

- Added Display Picture (will only display correct picture after changing through MSNstatus - cannot get picture through Messenger to begin with)
- Added Unread mail featuer (if you have an email account other than Hotmail or MSN it will read as N/A)
- FIXED!!! Offline contacts from not begin displayed on refresh!!
- FIXED!!! Listing of online contacts! It will nopw display the proper amount of online contacts below 20 (if you have over 20 online contacts then this is the limit for now)
- More menu items now work

Version 0.92 Beta (10.30.05)

- Fixed background status display showing while in windowless mode
- Added disabling of offline contacts during refresh of list
- Added Adium-esque skin with icons

Version 0.91 Beta (10.29.05)

- Added background feature
- Set limit to 20 contacts visible at a time

Version 0.9 Beta (10.28.05)

- Fixed an issue with the FriendlyName not updating to match your current screen name. It should now work!

-----------------------------

NOTE: Please be sure to have MSN Messenger running BEFORE you start this application. You will encounter problems if you do not!!

I hope you enjoy this application and please leave your suggestions on improvements for future updates!

Download from [URL=http://www.deviantart.com/view/24538702/]DeviantArt[/URL] and help with the Beta Test!

Four13 Designs © 2005. All Rights Reserved. Not for redistribution without written consent from the author of this program.
1 Reply Reply 3 Referrals

Oct 29, 2005 9:27 PM by Discussion: DesktopX
I've been trying to use ConnectObject in order to sink my gadget with MSN Messenger. It works or I should say SHOULD work but it keeps throwing a 'Mismatched Type' Error at me. I've set it up correctly following the guidelines at MSDN but...

Anyone have any ideas? Could it possibly be an error with DesktopX itself? Any help would be greatly appreciated as this will be an excited and dare I say wanted gadget when it is done.

Preview here -- Link

[CODE]

Set app = CreateObject("Messenger.UIAutomation.1")
ConnectObject app, "DMessengerEvents_"

Sub DMessengerEvents_OnContactStatusChange(contact ,status)
Object_OnTimer2
End Sub

Sub DMessengerEvents_OnContactFriendlyNameChange(res, contact ,name)
Object_OnTimer2
End Sub

[/CODE]

2 Replies Reply 6 Referrals

May 31, 2005 10:33 AM by Discussion: DesktopX
I'm working on a Yellow Pages widgets and have been able to get info from the website but now I'm having trouble getting multiple entries to display. I've tried looking at the newsfeed widget which helped me get this far but as the results aren't in XML i can't use the xmlstripper function.

Any help would be much appreciated. Thankyou.

[code]

Sub Object_OnScriptEnter
Object.SetTimer 568,600000

'Clean widget for startup
DesktopX.Object("widget_phonebook_name").Text = "---"
DesktopX.Object("widget_phonebook_number").Text = ""
DesktopX.Object("widget_phonebook_address").Text = ""

DesktopX.Object("widget_phonebook_name2").Text = "---"
DesktopX.Object("widget_phonebook_number2").Text = ""
DesktopX.Object("widget_phonebook_address2").Text = ""

DesktopX.Object("widget_phonebook_name3").Text = "---"
DesktopX.Object("widget_phonebook_number3").Text = ""
DesktopX.Object("widget_phonebook_address3").Text = ""

DesktopX.Object("widget_phonebook_listingno").Text = "- of -"

Object_OnTimer568
End Sub

Sub Object_OnTimer568
If System.InternetConnected Then

postcode = DesktopX.Object("widget_phonebook_postcode").Text
businessname = DesktopX.ScriptObject("widget_phonebook_businessname").Control.Text

Set http = CreateObject("Microsoft.XmlHttp")
http.Open "GET", "http://www.yellowpages.com.au/search/postSearchEntry.do?businessType=&businessName=" & businessname & "&locationClue=" & postcode & "&serviceArea=true", False
http.send ""

phonedata = http.responseText
phonedata = Replace(phonedata, Chr(34), "")
phonedata = Replace(phonedata, "&", "&")
phonedata = Replace(phonedata, "'", "'")
htmlstring = ""

'----

'Strips the searched business info from webpage
If InStr(phonedata, "listingDets") > 0 Then
phoneinfo = Mid(phonedata, InStr(phonedata, "listingNotes"), 1000)
End If

'Calls business name
If InStr(phonedata, "namefree") > 0 Then
phonename = Mid(phoneinfo, InStr(phoneinfo, "namefree"),500)

'Gets length of searched business
tempname = InStr(10, phonename, "<")
namelen = Len(tempname)

'Sets business name
phonename = Mid(phonename, 10, tempname - 10)

If Len(phonename) > 15 Then
phonename = Mid(phonename, 1, 15) & " ..."
End If

DesktopX.Object("widget_phonebook_name").Text = phonename
End If

'----

'Calls business number
If InStr(phonedata, "ph:") > 0 Then
phonenumber = Mid(phonedata, InStr(phonedata, "ph:"),50)

'Gets length of business number
tempnumber = InStr(5, phonenumber, " ")
numberlen = Len(tempnumber)

'Sets business number
phonenumber = Mid(phonenumber, 5, tempnumber - 5)
DesktopX.Object("widget_phonebook_number").Text = phonenumber
End If

'----

'Send business address
If InStr(phonedata, "listingInfo") > 0 Then
phoneaddress = Mid(phonedata, InStr(phonedata, "listingInfo"),100)

'Gets length of business address
tempaddress = InStr(13, phoneaddress, "<")

'Sets business address
phoneaddress = Mid(phoneaddress, 13, tempaddress - 13)
DesktopX.Object("widget_phonebook_address").Text = phoneaddress
End If

'Sends number of business listings
If InStr(phonedata, "listingCount") > 0 Then
phonecount = Mid(phonedata, InStr(phonedata, "listingCount"),100)

'Gets length of business address
tempcount = InStr(14, phonecount, "<")

'Sets business address
phonecount = Mid(phonecount, 14, tempcount - 14)
DesktopX.Object("widget_phonebook_listingno").Text = phonecount
End If

End If

End Sub

'Called when the script is terminated
Sub Object_OnScriptExit

End Sub

[/code]
0 Replies Reply 4 Referrals

Error: Mismatched Type

May 15, 2005 10:05 AM by Discussion: DesktopX
Tried using the code here:

[code]

134 If Len(track) > TrackChar Then
135 Track = Left(Track, TrackChar)
136 DesktopX.Object("widget_itunes_track").Text = Track

[/code]

The code keeps coming back as an error though

Type Mismatch: "Left"
Line: 135
Code: (not available)

What could be causing this error? I checked the VBScript website at Microsoft and I am using the function correctly.

Any ideas?
4 Replies Reply 8 Referrals

Daylight savings time

Apr 27, 2005 3:07 AM by Discussion: DesktopX
As the title suggests, I'm having difficulty with my World Clock adjusting to Daylight Savings Time. Below is the code I'm using which works fine but does not take into account the loss or gain of an hour depending on which city is selected. I've tried having it look to see what month we are in and adjusting from there but it didn't seem to work.

[code]

Dim GMT

'Called when the script is executed
Sub Object_OnScriptEnter
GMT = 15
Control.BackColor = RGB(252,252,252)
Control.ForeColor = RGB(42,42,42)
Control.SelectionBackColor = RGB(128,140,155)
Control.SelectionForeColor = RGB(252,252,252)
Control.AddItem "Midway Island"
Control.AddItem "Honolulu"
Control.AddItem "Los Angelos"
Control.AddItem "Seattle"
Control.AddItem "Albuquerque"
Control.AddItem "Dallas"
Control.AddItem "Mexico City"
Control.AddItem "New York"
Control.AddItem "Philadelphia"
Control.AddItem "Washington, DC"
Control.AddItem "Miami"
Control.AddItem "Buenos Aires"
Control.AddItem "Dublin"
Control.AddItem "London"
Control.AddItem "Lisbon"
Control.AddItem "Berlin"
Control.AddItem "Amsterdam"
Control.AddItem "Rome"
Control.AddItem "Paris"
Control.AddItem "Madrid"
Control.AddItem "Warsaw"
Control.AddItem "Athens"
Control.AddItem "Instanbul"
Control.AddItem "Bucharest"
Control.AddItem "Cairo"
Control.AddItem "Helsinki"
Control.AddItem "Jerusalem"
Control.AddItem "Baghdad"
Control.AddItem "Riyadh"
Control.AddItem "Moscow"
Control.AddItem "St. Petersburg"
Control.AddItem "Nairobi"
Control.AddItem "Bangkok"
Control.AddItem "Jakarta"
Control.AddItem "Beijing"
Control.AddItem "Hong Kong"
Control.AddItem "Singapore"
Control.AddItem "Kuala Lumpur"
Control.AddItem "Perth"
Control.AddItem "Taipei"
Control.AddItem "Tokyo"
Control.AddItem "Seoul"
Control.AddItem "Brisbane"
Control.AddItem "Melbourne"
Control.AddItem "Werribee"
Control.AddItem "Sydney"
Control.AddItem "Canberra"
Control.AddItem "Guam"
Control.AddItem "Auckland"
Control.AddItem "Fiji"
Control.ListIndex = 0
End Sub

Sub Control_OnSelect(item, string)

If Control.Text = "Midway Island" Then
DesktopX.Object("anaLocation1").Text = "MIDWAY ISLAND"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 11
ElseIf Control.Text = "Honolulu" Then
DesktopX.Object("anaLocation1").Text = "HONOLULU"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 10
ElseIf Control.Text = "Los Angelos" Then
DesktopX.Object("anaLocation1").Text = "LOS ANGELOS"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 8
ElseIf Control.Text = "Seattle" Then
DesktopX.Object("anaLocation1").Text = "SEATTLE"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 8
ElseIf Control.Text = "Albuquerque" Then
DesktopX.Object("anaLocation1").Text = "ALBUQUERQUE"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 7
ElseIf Control.Text = "Dallas" Then
DesktopX.Object("anaLocation1").Text = "DALLAS"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 6
ElseIf Control.Text = "Mexico City" Then
DesktopX.Object("anaLocation1").Text = "MEXICO CITY"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 6
ElseIf Control.Text = "New York" Then
DesktopX.Object("anaLocation1").Text = "NEW YORK"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 5
ElseIf Control.Text = "Philadelphia" Then
DesktopX.Object("anaLocation1").Text = "PHILADELPHIA"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 5
ElseIf Control.Text = "Washington, DC" Then
DesktopX.Object("anaLocation1").Text = "WASHINGTON, DC"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 5
ElseIf Control.Text = "Miami" Then
DesktopX.Object("anaLocation1").Text = "MIAMI"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 5
ElseIf Control.Text = "Buenos Aires" Then
DesktopX.Object("anaLocation1").Text = "BUENOS AIRES"
DesktopX.ScriptObject("anaHour1").Offset = GMT - 3
ElseIf Control.Text = "Dublin" Then
DesktopX.Object("anaLocation1").Text = "DUBLIN"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 0
ElseIf Control.Text = "London" Then
DesktopX.Object("anaLocation1").Text = "LONDON"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 0
ElseIf Control.Text = "Lisbon" Then
DesktopX.Object("anaLocation1").Text = "LISBON"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 0
ElseIf Control.Text = "Berlin" Then
DesktopX.Object("anaLocation1").Text = "BERLIN"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 1
ElseIf Control.Text = "Amsterdam" Then
DesktopX.Object("anaLocation1").Text = "AMSTERDAM"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 1
ElseIf Control.Text = "Rome" Then
DesktopX.Object("anaLocation1").Text = "ROME"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 1
ElseIf Control.Text = "Paris" Then
DesktopX.Object("anaLocation1").Text = "PARIS"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 1
ElseIf Control.Text = "Madrid" Then
DesktopX.Object("anaLocation1").Text = "MADRID"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 1
ElseIf Control.Text = "Warsaw" Then
DesktopX.Object("anaLocation1").Text = "WARSAW"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 1
ElseIf Control.Text = "Athens" Then
DesktopX.Object("anaLocation1").Text = "ATHENS"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 2
ElseIf Control.Text = "Istanbul" Then
DesktopX.Object("anaLocation1").Text = "ISTANBUL"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 2
ElseIf Control.Text = "Bucharest" Then
DesktopX.Object("anaLocation1").Text = "BUCHAREST"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 2
ElseIf Control.Text = "Cairo" Then
DesktopX.Object("anaLocation1").Text = "CARIO"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 2
ElseIf Control.Text = "Helsinki" Then
DesktopX.Object("anaLocation1").Text = "HELSINKI"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 2
ElseIf Control.Text = "Jerusalem" Then
DesktopX.Object("anaLocation1").Text = "JERUSALEM"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 2
ElseIf Control.Text = "Baghdad" Then
DesktopX.Object("anaLocation1").Text = "BAGHDAD"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 3
ElseIf Control.Text = "Riyahd" Then
DesktopX.Object("anaLocation1").Text = "RIYAHD"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 3
ElseIf Control.Text = "Moscow" Then
DesktopX.Object("anaLocation1").Text = "MOSCOW"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 3
ElseIf Control.Text = "St. Petersburg" Then
DesktopX.Object("anaLocation1").Text = "ST. PETERSBURG"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 3
ElseIf Control.Text = "Bangkok" Then
DesktopX.Object("anaLocation1").Text = "BANGKOK"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 7
ElseIf Control.Text = "Jakarta" Then
DesktopX.Object("anaLocation1").Text = "JAKARTA"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 7
ElseIf Control.Text = "Beijing" Then
DesktopX.Object("anaLocation1").Text = "BEIJING"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 8
ElseIf Control.Text = "Hong Kong" Then
DesktopX.Object("anaLocation1").Text = "HONG KONG"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 8
ElseIf Control.Text = "Singapore" Then
DesktopX.Object("anaLocation1").Text = "SINGAPORE"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 8
ElseIf Control.Text = "Kuala Lumpur" Then
DesktopX.Object("anaLocation1").Text = "KUALA LAMPUR"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 8
ElseIf Control.Text = "Perth" Then
DesktopX.Object("anaLocation1").Text = "PERTH"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 8
ElseIf Control.Text = "Taipei" Then
DesktopX.Object("anaLocation1").Text = "TAIPEI"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 8
ElseIf Control.Text = "Tokyo" Then
DesktopX.Object("anaLocation1").Text = "TOKYO"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 9
ElseIf Control.Text = "Seoul" Then
DesktopX.Object("anaLocation1").Text = "SEOUL"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 9
ElseIf Control.Text = "Brisbane" Then
DesktopX.Object("anaLocation1").Text = "BRISBANE"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 10
ElseIf Control.Text = "Melbourne" Then
DesktopX.Object("anaLocation1").Text = "MELBOURNE"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 12
ElseIf Control.Text = "Werribee" Then
DesktopX.Object("anaLocation1").Text = "WERRIBEE"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 12
ElseIf Control.Text = "Sydney" Then
DesktopX.Object("anaLocation1").Text = "SYDNEY"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 12
ElseIf Control.Text = "Canberra" Then
DesktopX.Object("anaLocation1").Text = "CANBERRA"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 12
ElseIf Control.Text = "Guam" Then
DesktopX.Object("anaLocation1").Text = "GUAM"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 10
ElseIf Control.Text = "Auckland" Then
DesktopX.Object("anaLocation1").Text = "AUCKLAND"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 12
ElseIf Control.Text = "Fiji" Then
DesktopX.Object("anaLocation1").Text = "FIJI"
DesktopX.ScriptObject("anaHour1").Offset = GMT + 12
End If
End Sub

[/code]

Anyone have any ideas???
3 Replies Reply 4 Referrals

 
Page 1 of 2