Create an Object from a Simple HTML Page

http://www.starbase47.com/rum_calc.html

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

3,301 views 6 replies
Reply #1 Top

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.

Reply #2 Top

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 Top

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 Top

But now I need to create a border so I can control the object easier.
End of quote

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 Top

Download Zubaz's browser central above, import it and see what all can be done.
End of quote
Seeing you reference my object instead of showing a better way is amazingly flattering.  Thanks.

Reply #6 Top

Seeing you reference my object instead of showing a better way is amazingly flattering. Thanks.
End of quote

 

ok, his head is going to get so big he is going to start thinking that he can actually CODE!

LOL