Create an Object from a Simple HTML Page
Monday, June 1, 2009 by Einstein | Discussion: DesktopX
I have tried creating DX objects a long time ago, and I thought I would get crazy and try it again. Is there an easy way to use a web page (DHTML) as a starting point for an object/widget? My needs are huge, I have a simple page that helps me in calculations for an online game (see the link). But instead of having to have my browser open in a different window, I would love to just have a DX Object or Widget on my desktop that would provide the same functionality.
My problem is I have no clue how to start. DX seems to be very clock and weather centric. Is there a way I can use a web page as a starting point?
Thanks in advance.
Einstein
Reply #2 Monday, June 1, 2009 9:10 PM
You want quick and dirty?
Creata new DX object.
Create a script for it.
In the script editor Click Script and then choose activeX control
Then scroll down and select Microsoft Web Browser
Bac in the editor, paste in
Control.navigate2 "http://www.starbase47.com/rum_calc.html"
Apply.
Ctrl-click on the object and resize it.
Done.
You can get more fancy from there. Take a look at my first published objects so see a bit more fancy: http://zubaz.wincustomize.com/skins.aspx?skinid=3941&libid=3
Also, see here: https://www.stardock.com/products/desktopx/help/ (it's available by right-clicking on the DX icon in the systray.)
Reply #3 Friday, June 5, 2009 6:20 PM
Zubaz - that is quick and dirty, thanks!
But now I need to create a border so I can control the object easier. Plus, I want to export it as a Widget and without a border I can't do ANYTHING with it (not even close it). That is seriously quick and dirty.
However, I do thank you for getting me on the right path. Sometimes it just takes a simple nudge to start.
Reply #4 Saturday, June 6, 2009 12:11 AM
You'll need to create a background object, then r-click on the browser and set the parent to the background object.
Download Zubaz's browser central above, import it and see what all can be done.
Reply #5 Saturday, June 6, 2009 11:33 AM
Reply #6 Friday, June 12, 2009 7:53 AM
ok, his head is going to get so big he is going to start thinking that he can actually CODE!
LOL
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 Monday, June 1, 2009 7:24 PM
I have been trying to figure this out myself, but for applications like finetune and such. You cab make a DX webrowser (IE based) and size it to whatever size you want. I wouldn't know how or if you can 'lock' the page onto just what you want to see though. Someone did something similar
here for Pandora radio. I have tried to take it apart, but have had no luck in what I want to use it for.
Just to reassure, DX is extemely versatile and goes beyond clocks and weather widgets. An understanding of scripting even if it's just basic is a big help. The WIncustomize Wiki site has a good section on DX tutorials.