O
olson_ord
Hi,
I am interested in learning Windows Automation using perl i.e.
Win32::OLE I have downloaded Active State Perl - and also taken a
look at its documentation, but I did not understand anything. I want to
know if there is something I can read up to understand how to start.
I know a bit of C++ and Java. I liked the documentation system in Java
where each of the functions of a class are clearly mentioned. Is there
anyway to get something similar for Win32::OLE?
For e.g. I was trying to click a button on a webpage - but this
button does not have a name. (This can be accessed by going to
http://mail.yahoo.com/)
<p class="yreglgsb"><input type="submit" value="Sign In"></p>
I can probably do something like
my $oIE = Win32::OLE->new('InternetExplorer.Application');
..... Some code to start IE
$oIE->Document->form_name->submit();
where form_name is the form where this button exists. However this does
not work. So I want to know about the hierarchy of Document. In java
this would simply require me to look at the java documentation.
I have taken a look at what cspan has for Win32-OLE - but that does
not help. Also I have looked at the active state OLE documentation -
but I really don't know where to look.
I hope someone has some idea.
O.O.
I am interested in learning Windows Automation using perl i.e.
Win32::OLE I have downloaded Active State Perl - and also taken a
look at its documentation, but I did not understand anything. I want to
know if there is something I can read up to understand how to start.
I know a bit of C++ and Java. I liked the documentation system in Java
where each of the functions of a class are clearly mentioned. Is there
anyway to get something similar for Win32::OLE?
For e.g. I was trying to click a button on a webpage - but this
button does not have a name. (This can be accessed by going to
http://mail.yahoo.com/)
<p class="yreglgsb"><input type="submit" value="Sign In"></p>
I can probably do something like
my $oIE = Win32::OLE->new('InternetExplorer.Application');
..... Some code to start IE
$oIE->Document->form_name->submit();
where form_name is the form where this button exists. However this does
not work. So I want to know about the hierarchy of Document. In java
this would simply require me to look at the java documentation.
I have taken a look at what cspan has for Win32-OLE - but that does
not help. Also I have looked at the active state OLE documentation -
but I really don't know where to look.
I hope someone has some idea.
O.O.