Notifications
Clear all

[Closed] HTML Frontend for maxscripts

HI,

I would like to use an activex ie as a frontend for some scripts i have done.

I just cant find anything in the mxsdocs regarding getting userdefined events from the ax into maxscript, i imagine that some sort of connection could be made using javascript – just dunno how.

/Thanks

11 Replies
1 Reply
 PEN
(@pen)
Joined: 11 months ago

Posts: 0

Have you searched for activeX in the docs? ActiveX is supported and used alot. You can have a look at my PEN Rigging Utils on my site and see how I have worked with it if you like.

Hey Paul,

Thanks…
Maybe my question wasnt very clear…Im looking for a way to control my scripts (calling functions) from the internet explorer active x component via javascript.

I did not find such thing in your brilliant rigging utils, nor in the docs – am i missing something?

For those interested, check the discreet board…

OK – the first version is all done.

Provides methods to run max commands from an ActiveX HTML page.
Also, provides simple methods to write back to the page.
Example uses:

[ul]
[li]Run MaxScript commands as part of a help system[/li][li]Build a custom UI using HTML[/li][/ul]Get it here: http://www.davestewart.co.uk/maxscript/maxscripts/MaxHtml

Cheers,
Dave

wow, that’s really great
It opens a lot of doors for a designer to make a cool interface.

Dave thankyou very much for your work in this area, I would never have been able to accomplish this myself. But when ‘standing on your shoulders’ my goal is within reach.

Thanks

2 X thumbs up

No problem Jan!
I was glad to help, and it was an interesting challenge. The struct could do with a few more functions, and I’m not sure if the name is perfect, but the basics are there.

Whatcha gonna do with it?

Dave

Hi Dave,

Originally I was planning to use it for a html frontend for some scripts to better spice up the userexperience.

And maybe it could be used to do something similar to the xsi browser, where you actually have a dynamic webpage introducing new features – wich links directly into the program. Personally I miss that feature in max.

I think your struct will be the first milestone in changing the way we use and percieve maxscripts and other custommade functionality.

btw: I tried to do to a $scripts like this:
local urlForm = (“$scripts\maxhtml\html-demo.html”)
But somehow it wasnt accepted by the ‘lateron’ parsing…I wouldent call it a bug, rather a nice-to-have feature.

Thankyou again for your efforts

Hi Jan,
I’ll take a look and post back. Cheers,
Dave

Hi Dave,

I’ve tried your script and works excellent! But I’m in a bit of trouble with the way I’m trying to use it. I have an interface that displays a table with some thumbnails hyperlinked to their respective .max files in our library. To be able to drag and drop them in the scene without having the download dialog popping up I’ve added onClick = “Return False;” to the body tag which now doesn’t return anything through BeforeNavigate2…

Any ideas on how can I go around this?

Thanks,
Anton

Page 1 / 2