On Tue, 03 Feb 2009, Octavian Rasnita wrote:
> Well, the browser can interpret PerlScript if perl is installed. Does
> it work only in common html files and Web Scripting Host but not in
> .hta files?

> > Can perlscript be used to create .hta applications like the example
> > below which uses VBScript?
> >
> > I have tried to make some replacements like: txtFruit.Focus ->
> > $txtFruit->Focus();

PerlScript should work just fine inside HTA applications.  You may need to 
access
the HTML elements through the DOM though, with something like 
$window->document->...

Sorry, can't be more specific, as I don't use HTAs myself.  I found several 
examples
of HTAs mixing PerlScript and Jscript or VBScript in a single file, so I think 
it
does work, even if you can't directly access each other's global variables.

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to