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

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?
Raghu

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

    Read the documentation of your product.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://826082]
Approved by rovf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-20 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls