12261980 has asked for the wisdom of the Perl Monks concerning the following question:

How do I run a Visual Studio macro from Perl?

Replies are listed 'Best First'.
Re: Perl and Visual Studio
by jplindstrom (Monsignor) on Jun 17, 2001 at 00:05 UTC
    If the target Windows program can act as an OLE server, use Win32::OLE to drive it.

    Use Win32::ActAcc and/or Win32::GuiTest to drive any Windows program.

    There might also be a way to send DDE messages to the application using Win32::DDE (get the PPM from ActiveState I think). I donīt think it is possible in this case though.

    /J

Re: Perl and Visual Studio
by malloc (Pilgrim) on Jun 15, 2001 at 23:55 UTC
    Now, I am going out on a limb here, since i use neither WinPerl or M\$ Visual Studio, but i believe if you could find how to run it from the command line, then your problem would be solved.

    -malloc

    Update: WTF? I am simply trying to illustrate that this is not a Perl problem, if someone wants to prove me wrong, good for them and the concerned party, but what's with the downvoting?!?!
      FWIW, driving other programs, including MS Office or Studio programs, is an interesting (for me) use of Perl.
        Sir,
        I completely respect that. I implied that this poster was no John M. Dlugosz from his post, and tried to offer a lateral approach. I believe every problem can be a perl problem, if desired. Sorry if I offended.
        End of Thread.

        -malloc