David Welden wrote:
> Thanks for the swift reply. WSH 2.0 is exactly what I
> have in mind. Any suggestions/pointers/redirects to other
> resources on the process?

the resource: http://msdn.microsoft.com/scripting

basically, in WSH 2.0 you create a file, say named
script.wsf and put in:

    <Job id="sample">
    <script language="PerlScript" runat="Server">
        use Win32::GUI;
        sub CreateWindows {
            # ...put all your stuff here
        );
    </script>
    <script language="JScript" runat="Server">
        CreateWindows();
    </script>
    </Job>

the available samples do not show if, and how, you
can share variables between scripting engines, or
how you can call a Perl function in another package
(eg. MyPackage::CreateWindows).
I will eventually make some testing here and let
you know...

cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;




Reply via email to