Scripting Error Problem
Wednesday, January 4, 2006 by Sranshaft | Discussion: DesktopX
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.
Reply #2 Saturday, January 7, 2006 8:19 AM
If you send the index value to pass on to the array to a text object, does give you the value you need for it?
Reply #3 Tuesday, January 10, 2006 3:29 AM
I'll have to give that a try and I'll let you know what happens. This is the second time DesktopX has fallen short when given something that wasn't a weather object or a clock.
Reply #4 Tuesday, January 10, 2006 6:16 PM
| This is the second time DesktopX has fallen short when given something that wasn't a weather object or a clock. |
This issue isn't restricted to DX, I've experienced similar issues writing Wscript for SysStats (a docklet mechanism for OD+).
So far I haven't found a consistent reason or method of dealing with it.
I'm wondering if it has something to do with the way the host application (i.e DX or SysStats) provides the 'environment' for the script to run in?
Or maybe it's a function of the version of script host between the host application and the PC's installed version? I don't really know enough about this to make any further suggestions... Hopefully a knowledgable person can comment?
Reply #5 Friday, January 13, 2006 4:53 PM
| I'm wondering if it has something to do with the way the host application (i.e DX or SysStats) provides the 'environment' for the script to run in? |
That is what I'm wondering as well and it seems to be along the right track from what I can gather. Funny thing is, I was able to pass the information from the array to a text object using the variable as thomassen suggested; so, perhaps it has to do with the way DesktopX goes about creating menus?
Also, on an unrelated topic (and perhaps someone from the DesktopX development team can answer this) will there be any updates to the way DesktopX creates forms? The way it is now is very 'Win98' in its application. I would love to see greater control with the addition of tabs, edit boxes which can hold information and images! Things you can natively do with the Microsoft Forms ActiveX control. I would use these but I haven't been able to find an ActiveX control to create the titlebars (none that are free/royalty-free at least).
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 skins.
- 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!







Reply #1 Saturday, January 7, 2006 7:40 AM