I have tried to open that file in IE6, but it gave the following error: Internet Explorer could not load the PerlScript engine. This is most likely due to the value of the "Initialize and script ActiveX controls not marked as safe" security setting of the "Local intranet" zone. PerlScript inside IE will only run on Windows XP SP2 and later if this setting is set to Enable. Setting it to Prompt doesn't seem to work.
I have set that security option to "enabled", and I restarted the browser, but it doesn't want to work. It gives the same error. I use ActivePerl 5.10.0 under Win XP SP3. In a comment in that page I read that we need to use JScript until the PerlScript will be fixed. Does PerlScript really have a bug, or I could try to do something else to make it work. I guess that if PerlScript doesn't work in that page, it won't work in a .hta file neither. Thank you. Octavian ----- Original Message ----- From: "Jan Dubois" <[email protected]> To: "'Octavian Rasnita'" <[email protected]>; <[email protected]> Sent: Wednesday, February 04, 2009 10:04 AM Subject: RE: hta > On Tue, 03 Feb 2009, Octavian Rasnita wrote: >> Well, exactly this is what I don't know. How can perl access the DOM. >> I found too little documentation about PerlScript in general, and that >> documentation and the sample files I found were very old, and most of >> the sample files don't even work. > > It's not an HTA file, but the OLE Browser I wrote almost 10 years ago > is all written in client side PerlScript inside an HTML file. Its > standard install location is: > > C:\Perl\html\lib\Win32\OLE\Browser.htm > > The main page of the browser has the same filename, but with a .html > extension instead of just .htm, but that file just defines the > frameset. > > As I wrote in my previous message, you can access the document from > PerlScript via $window->document->xxx. > > Cheers, > -Jan > _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
