[hcs-d] Automation Help

Andy Brody abrody at hcs.harvard.edu
Fri Apr 24 18:39:10 EDT 2009


If you want to use Python, you can use mechanize for Python 
http://wwwsearch.sourceforge.net/mechanize/. I've used imacros before, 
but they suck.

Chickenfoot looks pretty good to me.

-Andy

Aneesh Kulkarni wrote:
> The Perl module WWW::Mechanize is built on top of LWP::UserAgent, and 
> I've used it for similar tasks.
> 
> On Fri, Apr 24, 2009 at 16:49, Greg Price <gprice at post.harvard.edu 
> <mailto:gprice at post.harvard.edu>> wrote:
> 
>     Chickenfoot (http://groups.csail.mit.edu/uid/chickenfoot/) is for
>     automating stuff on the web, aims to be accessible to people who
>     haven't programmed, and seems to be good.  I've done some things like
>     this with the LWP::UserAgent library in Perl.
> 
>     If you want to use Python, httplib in the standard library will
>     probably help, but may be at a bit of a lower level so that you have
>     to handle more details yourself.  Someone else may know a better
>     suggestion.
> 
>     For myself I'd probably start by trying Chickenfoot.
> 
>     Good luck!
>     Greg
> 
> 
>     On Fri, Apr 24, 2009 at 15:39, Jon Staff <staff at fas.harvard.edu
>     <mailto:staff at fas.harvard.edu>> wrote:
>      > The photos are too big to send over the list, but you can get the
>     idea from
>      > the steps below.   Let me know if you can help me out and I can
>     send you the
>      > screenshots personally.
>      > Thanks again.
>      > Jon
>      >
>      >
>      > Begin forwarded message:
>      > From: Jon Staff <staff at fas.harvard.edu
>     <mailto:staff at fas.harvard.edu>>
>      > Date: April 24, 2009 2:32PM EDT
>      > To: hcs-discuss at lists.hcs.harvard.edu
>     <mailto:hcs-discuss at lists.hcs.harvard.edu>
>      > Subject: Automation Help
>      > Hi team,
>      > I talked to a few of you at the SOCH the other day.   I have 700
>     invoices I
>      > need to print from a web-based application that is not super
>     friendly.
>      > There are essentially three manual clicks I need to make to print
>     every
>      > invoice.  I  have attached screenshots of this process:
>      > 1) PICTURE 1 -- This is part of the list of orders (they can all be
>      > displayed on one page).  Clicking the Order ID # on the left gets
>     you to the
>      > next step in retrieving the invoice...
>      > 2) PICTURE 2 -- This is a summary of the order but not the final,
>     formatted
>      > invoice.  To get that you click "Print Invoice"
>      > 3) PICTURE 3 -- From there, the invoice pops up along with the
>     print dialog.
>      > Can anybody help me automate this process so I am not clicking
>     2100 times?
>      > Any tips / help is appreciated.  I have some basic Excel / Python
>     skills,
>      > but not real programming experience.
>      > Thank for anything you can give,
>      > Jon
>      >
>      >
>      >
>      > _______________________________________________
>      > hcs-discuss mailing list
>      > hcs-discuss at lists.hcs.harvard.edu
>     <mailto:hcs-discuss at lists.hcs.harvard.edu>
>      > http://lists.hcs.harvard.edu/mailman/listinfo/hcs-discuss
>      >
>      >
>     _______________________________________________
>     hcs-discuss mailing list
>     hcs-discuss at lists.hcs.harvard.edu
>     <mailto:hcs-discuss at lists.hcs.harvard.edu>
>     http://lists.hcs.harvard.edu/mailman/listinfo/hcs-discuss
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> hcs-discuss mailing list
> hcs-discuss at lists.hcs.harvard.edu
> http://lists.hcs.harvard.edu/mailman/listinfo/hcs-discuss


More information about the hcs-discuss mailing list