Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Open/Control 3rd party apps win32

by imrags (Monk)
on Mar 02, 2010 at 07:10 UTC ( #826082=perlquestion: print w/replies, xml ) Need Help??
imrags has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,
I've used Win32::OLE to control/open IE/Excel and other M$ products
I now have to open an "hp" product on Windows machine to automate certain tasks,
How do I go about doing that, which modules do I use?
Can it be done using Win32::OLE?

Replies are listed 'Best First'.
Re: Open/Control 3rd party apps win32
by Sinistral (Prior) on Mar 02, 2010 at 13:27 UTC

    To expand on Corion's answer, if your HP product provides an OLE interface, you can use Win32::OLE as seen these examples. However, to know the OLE interface, you need to have documentation from your vendor.

    If there is no OLE interface at all, perhaps because HP didn't ever intend outside programs/scripts/applications from communicating with the sofware, you can use Win32::GuiTest to directly manipulate the interface elements in an automated fashion.

    UPDATE: In trying to see if there is any way of getting OLE information without documentation, I came across a Stack Overflow OLE Automation Question. See the comment from 1800 INFORMATION.

Re: Open/Control 3rd party apps win32
by Corion (Pope) on Mar 02, 2010 at 07:51 UTC

    Read the documentation of your product.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://826082]
Approved by rovf
and the monks are mute...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2018-06-23 11:43 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.