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

I'm using the Win32::OLE module to schedule tasks but I'm having difficulty tracking down all the available params.

Is there a free object inspector tool available or any further documentaion explaining the details of the task scheduler options using Win32::OLE?

Thanks

Replies are listed 'Best First'.
Re: Win32::OLE Task Scheduler Options?
by planetscape (Chancellor) on Dec 30, 2008 at 15:54 UTC

    You may have on your machine something called "OLE Browser" or "Type Library Browser" if you installed Win32-OLE-0.1403 or upgraded from that to a later version. You might find it in C:\Perl\html\OLE-Browser or C:\Perl\html\lib\site\Win32\OLE depending on your install.

    Something else I've found to be very handy indeed is West Wind Technology's GetConstants utility, which allows you to look at all those cryptic constants MS Office uses. (A short snippet of output is below.) Note that they do shuffle the links around occasionally, so it may be necessary to do some searching. :-)

    *** Constant Group: WdTableFieldSeparator #define wdSeparateByParagraphs 0 #define wdSeparateByTabs 1 #define wdSeparateByCommas 2 #define wdSeparateByDefaultListSeparator 3

    Update: You may also wish to have a look at Dr. Steven Roman's Object Model Browser Version 2.

    HTH,

    planetscape
      That's exactly what I was looking for...Thanks!
Re: Win32::OLE Task Scheduler Options?
by Bloodnok (Vicar) on Dec 30, 2008 at 17:27 UTC
    Why use Win32::OLE ? Why not use Win32::TaskScheduler ? ... apart, of course, from the sheer thrill of learning ;-)

    A user level that continues to overstate my experience :-))
      Learning is always a plus for, I was using ppm from version 5.10 and didn't see it so I'm assuming I'll need to download from CPAN and build it correct?
        Yep, assuming you have the appropriate compiler, which since you're using ActiveState, will be M$ VC++. perl -V will provide more details of the appropriate versions of VC++ etc. etc that you'll need.

        A user level that continues to overstate my experience :-))