HTML View Ctrl?

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

HTML View Ctrl? // Archive: Tech Forum

1  |  

Post by trueBlue // Apr 29, 2006, 5:40pm

trueBlue
Total Posts: 1761
pic
Could someone write an example on how to use the HTML View Control?

I have been able to open an HTML file on the Web in the Link Editor starting with a jScript object. But it only opens once and then stops working. I have tried the Show automatically but it does not work. As soon as you enter a different aspect my html link does not work. I was also curious how to use the Document option.

Post by trueBlue // May 9, 2006, 11:55am

trueBlue
Total Posts: 1761
pic
Here is an example using the trueSpace HTML control. Merlin is a Microsoft Agent character that ships with Windows. Turn on your speakers to hear the monologue. I was thinking the developers would get a kick out of the Banana song.

Post by stan // May 9, 2006, 1:07pm

stan
Total Posts: 1240
pic
very cool trueBlue..that wizard works great..:)

Post by Mike // May 9, 2006, 5:42pm

Mike
Total Posts: 121
pic
That's pretty darn cute!

:)

Post by Délé // May 9, 2006, 11:23pm

Délé
Total Posts: 1374
pic
That's pretty neat trueBlue. :) That actually made me laugh pretty good. I have a friend that I've known since kindergarten. One of his vocal chords has always been paralyzed. He talks fine now, but when we were kids he sounded like a robot. We've always light heartedly teased him about it. Anyway, I was typing in things that he would say. rofl. Sounds just like he used to. I'll have to play that for him sometime. He'll get a laugh out of it. :)

Post by SteveBe // May 10, 2006, 10:50am

SteveBe
Total Posts: 282
pic
I did some testing with and found I could drag and drop shortcuts to
files on my harddrive as well as web link shortcuts.

Try the attached record file in truePlay, when the jScript.object window
opens, drag and drop the internet shortcut. Works with PDF and HTML
files on my drive too.

This could be good for tutorial or help files you want to include with a
recording.

Post by trueBlue // May 10, 2006, 1:11pm

trueBlue
Total Posts: 1761
pic
How about an Address bar with a drop down list for tutorials?
Or trueSpace7.1 documents from with in Link Editor.
When you are using the explorer with a web link in the address bar you can drag and drop jpg,gif,swf,avi and links to view as well.

I updated this control and seperated links from files into seperate aspects.

Post by trueBlue // May 10, 2006, 5:16pm

trueBlue
Total Posts: 1761
pic
That's pretty neat trueBlue. :) That actually made me laugh pretty good. I have a friend that I've known since kindergarten. One of his vocal chords has always been paralyzed. He talks fine now, but when we were kids he sounded like a robot. We've always light heartedly teased him about it. Anyway, I was typing in things that he would say. rofl. Sounds just like he used to. I'll have to play that for him sometime. He'll get a laugh out of it. :)

Thanks Dele: If you know how to edit Html you could change the animations, MoveTo, and monologue to suite yourself. Also if you right click the character you can open the Advance Character Options. What's neat about this control is that it is a Document and not a URL. So the Html is within the control and not a link on the Web.

Post by 3dvisuals dude // Aug 22, 2007, 5:44am

3dvisuals dude
Total Posts: 1703
pic
How about an Address bar with a drop down list for tutorials?
Or trueSpace7.1 documents from with in Link Editor.
When you are using the explorer with a web link in the address bar you can drag and drop jpg,gif,swf,avi and links to view as well.

I updated this control and seperated links from files into seperate aspects.

Hi tB,

I just got access this morning for the first time here to this "Scriptorium" area of the forums which Norm has now (thank God) made available for the rest of us here to explore.

I wasn't ten minutes into exploring these ten months worth of threads before I discovered your "trueExplorer.rsscn" file and it was almost exactly what I have been looking for for months.

I want to create an internet browser window object within realtime shared space rather than just within the LE. What you have created there is AWESOME and I love it, I just want to bring it to shared space for us all for some very important reasons.

Last night, if we had such a realtime browser object in trueServe's trueplace meetingroom we could have all been listening to a video from Dele and each of us would have had no audio problems at all since the audio would have been streaming from it's own source (not a stressed out Caligari server but a Dele file online somewhere else) directly to each of us via our own OS capabilities, rather than via trueServe's capabilities. Trueserve would be "out of the loop" in that regard, hence no issues.

Makes sense?

If we can think of a way, and I'm already looking hard at it, to get an object inside trueSpace Workspace to serve as a browser window object this should be do-able. It would have helped Gord enormously last night and each of us as well.

What do you think about the idea?

-Mark / 3dvisuals dude

Post by trueBlue // Aug 22, 2007, 6:21am

trueBlue
Total Posts: 1761
pic
Have tried to open this in truePlay?

Post by 3dvisuals dude // Aug 22, 2007, 6:38am

3dvisuals dude
Total Posts: 1703
pic
Have tried to open this in truePlay?

I have now....;)


Nope... it won't open in truePlay1.3 at all. I even tried that after logging in and going to truePlace then trying to open it while logged in, no luck.

Seems to me this should be possible though, probably if it is an RsObJ rather than an RsScn, since then it could just be opened right in the default truePlay startup environment to test it out.

I have a ton of BASIC Code pertaining to browser objects and had been thinking of making one possible within shared space for months for the reasons I stated above but had no clue really where to begin until I discovered this LE browser object of yours.

If I fumble with this long enough alone I will probably figure it out, but I'm not looking to put feathers in my own cap here I'm trying to just get there the fastest way possible for the sake of us all. Last night, for instance, would have been the perfect time to introduce such a server-sparing method.

So since you are the guy who took this already to the brink of having it live online it made sense to take the issue right to you rather than play with it alone any longer. Seems like a few tweaks to what you already have here should accomplish it, rather than me trying to re-invent the wheel.

What do you think?

- Mark / 3dvisuals dude

Post by trueBlue // Aug 22, 2007, 7:26am

trueBlue
Total Posts: 1761
pic
You are right this RsScn file does not open in tPlay. This was created in tS7.0. This is what I did: I opened the RsScn file in tS7.5.1. I selected the menu "top left corner" of the trueExplorer panel and selected Detach. Now I can drag that panel around tS7 and dock it too. So now I can see it outside the LE. I then made a 3D recording of this scene and Exported it as a RsRcd file. Here is the RsRcd file. Try this in tPlay.

Norm: We need RsRcd for attachments here.

Post by 3dvisuals dude // Aug 22, 2007, 9:15am

3dvisuals dude
Total Posts: 1703
pic
You are right this RsScn file does not open in tPlay. This was created in tS7.0. This is what I did: I opened the RsScn file in tS7.5.1. I selected the menu "top left corner" of the trueExplorer panel and selected Detach. Now I can drag that panel around tS7 and dock it too. So now I can see it outside the LE. I then made a 3D recording of this scene and Exported it as a RsRcd file. Here is the RsRcd file. Try this in tPlay.

Norm: We need RsRcd for attachments here.

Excellent!

Thanks TrueBlue.

This could well solve a lot of issues (not just audio) for online meetings since it effectively bypasses the server in cases where the source files (audio, video, webpages, documents) are located on a Server different from that of the live meetings themselves.

As a result, unless I am mistaken in some way, this should reduce the strain on the live meeting server software (trueServe) as well as the server hardware to a very significant degree if it's used as the primary nexus in providing simultaneous content to large groups in an online meeting, assuming the content source files exist on a different server.

If I'm right about that and it is used extensively at a large online truePlaces gathering it should also have the side effect of making the meeting itself more accessible to those of us with dialup connections worldwide.

This is a significant thing here trueBlue, thank you for putting this together here for us all. Who knows.... maybe even this Thursday we may all actually hear every word Roman has to say to us all because of this.:D

Now that the most important part of this has been accomplished by you here maybe I can focus somewhere down the road on finding a way to pop this as a texture to an object screen, but for right now this is exactly what we all needed right away.

Way to go!:D

Mark / 3dvisuals dude

Post by Norm // Aug 22, 2007, 9:34am

Norm
Total Posts: 862
pic
I changed the rcd extension we had to rsrcd, so they can be uploaded now.

Post by trueBlue // Aug 22, 2007, 10:23am

trueBlue
Total Posts: 1761
pic
Thanks Norm!

3DV: I will update the trueExplorer in near future. Also do look at previous post #2.

Myself I would like to see Microsoft Agents used with trueSpace7 and truePlay. All Window users have the Merlin character already. So many possibilities with this technology. Imagen a 2D character that could be dragged around on top of trueSpace7 that can recognize your voice and run tS commands or to chat with other trueSpace7 users while you are using trueSpace7 modeling something. We already have Text to speech in trueSpace7 and that is part of the MS Agents technology.
:cool: Who knows maybe a developer could make them 3D Avatars running around inside trueSpace7.

Post by 3dvisuals dude // Aug 22, 2007, 11:22am

3dvisuals dude
Total Posts: 1703
pic
Thanks Norm!

3DV: I will update the trueExplorer in near future. Also do look at previous post #2.

Myself I would like to see Microsoft Agents used with trueSpace7 and truePlay. All Window users have the Merlin character already. So many possibilities with this technology. Imagen a 2D character that could be dragged around on top of trueSpace7 that can recognize your voice and run tS commands or to chat with other trueSpace7 users while you are using trueSpace7 modeling something. We already have Text to speech in trueSpace7 and that is part of the MS Agents technology.
:cool: Who knows maybe a developer could make them 3D Avatars running around inside trueSpace7.

Wow.

This would be incredible if we could feed the agent into an avatar in shared space!!!!!

What a trip that would be!!!! Hahahahaha!!!! I love it!!!!:banana:

I thought I was the guy with all the wild ideas around here but I guess not!!!

It's nice to know I'm not alone in that!!!

Let's go kidnap some of the Dev's here and do it!:D

Mark / 3dvisuals dude

Post by 3dvisuals dude // Aug 22, 2007, 11:49am

3dvisuals dude
Total Posts: 1703
pic
Thanks Norm!

3DV: I will update the trueExplorer in near future. Also do look at previous post #2.

Myself I would like to see Microsoft Agents used with trueSpace7 and truePlay. All Window users have the Merlin character already. So many possibilities with this technology. Imagen a 2D character that could be dragged around on top of trueSpace7 that can recognize your voice and run tS commands or to chat with other trueSpace7 users while you are using trueSpace7 modeling something. We already have Text to speech in trueSpace7 and that is part of the MS Agents technology.
:cool: Who knows maybe a developer could make them 3D Avatars running around inside trueSpace7.

You're absolutely right, there certainly are "So many possibilities with this technology."

I've been sitting here just absorbing a few of them myself.

I had an idea a while back that just may interest you in regard to using this technology in innovative ways... "Virtual Guides."

You are a truePlay visitor inside an online shared space which is filled with hundreds of items which interest you... and that's why you're there. In the place there are small items with images on them depicting some aspect of each item, like a book with an image on it of a scene in the story it contains, or a photo on the wall of some historic event you are interested in...

So you hit a hotkey and truePlay fires up a "Virtual Guide" who instantly starts telling you all about the specific item you are closest to in that environment.

Such "Virtual Guides" would definitely be a viable business commodity too when combined with a shared space you could design yourself and sell.;)

Many possibilities for sure!

Mark / 3dvisuals dude

Post by trueBlue // Aug 22, 2007, 12:27pm

trueBlue
Total Posts: 1761
pic
Well if you are interested in MS Agents as Virtual Guides I would suggest you get MASH, a Microsoft Agent Scripting Helper, and soon you will be creating HTML pages in no time. Once you have the HTML just copy and paste it into the HTML View Ctrl example I created in Post #2.
You could even have MS Agents control a Power Point presentation automatically.

Post by 3dvisuals dude // Aug 22, 2007, 12:38pm

3dvisuals dude
Total Posts: 1703
pic
Well if you are interested in MS Agents as Virtual Guides I would suggest you get MASH, a Microsoft Agent Scripting Helper, and soon you will be creating HTML pages in no time. Once you have the HTML just copy and paste it into the HTML View Ctrl example I created in Post #2.
You could even have MS Agents control a Power Point presentation automatically.

Cool, I'll do that, thanks!

With text to speech in trueSpace there's lots of interesting ways it could be used.

Mark / 3dvisuals dude

Post by 3dvisuals dude // Aug 22, 2007, 11:31pm

3dvisuals dude
Total Posts: 1703
pic
You are right this RsScn file does not open in tPlay. This was created in tS7.0. This is what I did: I opened the RsScn file in tS7.5.1. I selected the menu "top left corner" of the trueExplorer panel and selected Detach. Now I can drag that panel around tS7 and dock it too. So now I can see it outside the LE. I then made a 3D recording of this scene and Exported it as a RsRcd file. Here is the RsRcd file. Try this in tPlay.

Norm: We need RsRcd for attachments here.

Hi trueBlue.

I've been trying to figure out enough about tPlayBrowser to hack it so that any browser will work with it, but even though I can already write programs for WindowsXP in BASIC Code I still have no idea at all what I'm doing with code snippets in trueSpace7.51.:o

That said, I have learned a few things already... but very few. :p

One of them (which I learned from another of your scripts) for instance, is that there does already exist a method within trueSpace to utilize a VBScript to have the user's Operating System seek out and open the user's Default Web Browser like so:

Sub Execute(params)
RsTool.OpenWebPage(www.whatever.com/videofiles/playnumber1.htm (http://www.whatever.com/videofiles/playnumber1.htm))
EndSub

Rather than calling and specifying Internet Explorer within a script directly, this method simply utilizes whatever Default Web Browser exists. The only other difference being that this method opens in a New Window rather than a truePlay Child Window, and that's not as elegant as tPlayBrowser now is.

If tPlayBrowser can be modified to use the method above though, and still retain it's current elegance of loading the browser into a truePlay Child Window, it should work perfectly for Opera users, Firefox users, or whatever, just as it now works perfectly for Internet Explorer users.

When I looked at this in the LE from the standpoint of trying to do that modification myself though, I don't see exactly how to do it there, nor do I see the method you currently employ to get the browser to open within a truePlay Child Window.

What you have here is very elegant and extremely useful already, I'm just trying to see a way to make it work for non-Internet Explorer users too.:)

:confused: <- (This is me)

Post by trueBlue // Aug 23, 2007, 6:44am

trueBlue
Total Posts: 1761
pic
The trueExplorer I made is an example how to use the HTML View Ctrl.
I do not know the difference of opening html from Firefox or IE.
Maybe you could do this with HTML.

Post by Norm // Aug 23, 2007, 6:47am

Norm
Total Posts: 862
pic
well unless I am mistaken, the call goes through the ms scripting host and it will call default browser.

Post by 3dvisuals dude // Aug 23, 2007, 7:00am

3dvisuals dude
Total Posts: 1703
pic
Excellent!

Since it says "Internet Explorer" right in the white text of the "trueExplorer" truePlay child window (to the left of the dialog entry window displaying the target URL file) I assumed it was "hard wired" so to speak into the program code itself to use Internet Explorer as opposed to an alternative another user may have set as their Default Browser.

If the call is a generic browser call we're golden! That should open any default browser like Opera or Firefox just fine!

That's great news!:)

Sorry, it just didn't appear to be that way and I had no way of testing it without installing another browser, which is something I definitely don't want to go through!

It works excellent for me and I love it! I just wanted to be sure that if we start using it as a tool for the online meetings as described in Frotee's Tuesday Meeting thread that it would work for other browsers too.

Great then!

Thanks guys... this will get a lot of use just the way it is then!

Mark / 3dvisuals dude
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn