Is it possible to change the revlet embed html?

Mark Wieder mwieder at ahsoftware.net
Thu Dec 3 16:22:25 EST 2009


Bill-

Thursday, December 3, 2009, 1:03:52 PM, you wrote:

> I don't do much mucking around in the IDE, but I wonder what that custom
> property might be. Could the OP write a stack for his students which says
> something like, "set the revHTMLtemplate of stack such-and-such to myHTML"?
> These stacks aren't "saved" when you quit Rev, are they? If I'm right about
> both of these, couldn't his students double-click that stack, use his custom
> template, and quit without making permanent changes to revMedia? I could see
> some benefit to adjusting this template, perhaps I'll bring it up as a
> feature request for future versions. In the meantime, have you sleuthed down
> the name of that custom property?

The way things are right now, yes, you do have to make a permanent
change to a rev IDE stack in order to do this before the html page is
created - it's not like changing an object template. The script that
creates the web page from the custom property is protected, for
obvious reasons. While it would certainly be possible to write a
script that saves the custom prop, replaces it with a different one,
invokes the standalone builder, and restores the original prop I don't
see that this gives any advantage over modifying the html page after
creation. And has the distinct possibility of screwing up the original
to the point where revlet web pages can no longer be created. It's a
tech support issue I wouldn't want on my plate.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list