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 ( [id://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

Replies are listed 'Best First'.
Re: Open/Control 3rd party apps win32
by Sinistral (Monsignor) 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 (Patriarch) on Mar 02, 2010 at 07:51 UTC

    Read the documentation of your product.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-25 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found