Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

How to start Outlook express from a perl script?

by dxxd116 (Beadle)
on Feb 02, 2009 at 12:46 UTC ( #740678=perlquestion: print w/replies, xml ) Need Help??
dxxd116 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, Monks: I am trying to design an automation task with Microsoft outlook express. I went to Win32::OLE and want to use it to start outlook express. However, I can not figure out what the class ID or program ID it is for "Microsoft outlook express". Could anyone here help me figure it out? Thanks in advance.
  • Comment on How to start Outlook express from a perl script?

Replies are listed 'Best First'.
Re: How to start Outlook express from a perl script?
by Corion (Pope) on Feb 02, 2009 at 12:52 UTC

    You didn't find any, because Microsoft Outlook Express has no OLE interface and thus cannot be automated using OLE or Win32::OLE. Expect may be of use, otherwise ...

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://740678]
Approved by ww
[Corion]: Option a) would mean launching cmd.exe /k c:\path\to\ batchfile- launching-perl- script.cmd. Option b) would be to add pause as the last line of said batch file.
[LanX]: First day after holidays ... and already stressed by the fact that colleagues changed stuff without communication ... apparently I'm the only one trying to fight entropy
[Corion]: LanX: The command is always in the history if you typed it in before. If you didn't type the command into the command line, it will not be there. I think there is doskey which can stuff command lines into the history
LanX damns the cult of CB ;-)
[LanX]: please forget my last 3 posts
[LanX]: Yeah option a doesn't go into history
[LanX]: probably I need to teach the app to restart after C-c Kill
[Corion]: LanX: Maybe have an infinite-loop cmd file? Much easier than trying to manage that from within Perl IMO
[Corion]: Alternatively, relaunch the application from cron (or a Windows cron) every minute

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2017-03-27 15:50 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.