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

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?

Comment on Open/Control 3rd party apps win32
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2015-11-28 10:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls