[hcs-d] Fwd: Automation Help

Matt Di Pasquale pasquale at fas.harvard.edu
Sat Apr 25 14:48:27 EDT 2009


I'm pretty sure you can do that with selenium. it's a firefox addon...
just don't ask me how to use it... also... apple automator or apple
scripts would work too...
-matt

On Sat, Apr 25, 2009 at 2:45 PM, Aneesh Kulkarni
<aneeshvkulkarni at gmail.com> wrote:
> A related question that I've gotten stuck on.  I've used mechanize and other
> tools to automate interactions with html forms.  But that's where my
> knowledge ends.  I'm not sure how to deal with the equivalent of a browser's
> "print" and "save as" pop-up dialogs, since those are browser-dependent and
> seem to require a GUI.  How do you automate that interaction?
>
> Thanks,
> Aneesh
>
> On Sat, Apr 25, 2009 at 13:34, Matt Di Pasquale <pasquale at fas.harvard.edu>
> wrote:
>>
>> i love ruby (over python) for scraping. i use the gems: hpricot
>> (http://wiki.github.com/why/hpricot) for simple tasks and
>> (http://nokogiri.rubyforge.org/nokogiri/) for more difficult ones.
>> they're much simpler than beautiful soup.
>>
>> those links above have instructions. and here's a helpful ruby tutorial:
>> http://en.wikibooks.org/wiki/Ruby_Programming/Hello_world
>>
>> feel free to call me if you'd like to come over to the dunster house
>> comp lab for help. 617-894-0859 (c)
>>
>> -matt
>>
>> On Sat, Apr 25, 2009 at 11:29 AM, Jon Staff <staff at fas.harvard.edu> wrote:
>> > Thanks for all the advice on this.   Still haven't figured this out.
>> > If
>> > anybody would like to get paid to help me achieve this task, I would be
>> > more
>> > than willing to get some cash from the boss toward that end.
>> > Let me know if you're interested and we can either meet up and go over
>> > the
>> > additional details (not much), or I can send them to you via e-mail or
>> > chat
>> > on the phone.   From what I hear, this shouldn't be too terribly
>> > complicated, if you have any skills (which I seem not to...).
>> > Thanks,
>> > Jon
>> > 218-760-0938
>> >
>> >
>> >
>> >
>> > Begin forwarded message:
>> > From: Jon Staff <staff at fas.harvard.edu>
>> > Date: April 24, 2009 3:39PM EDT
>> > To: hcs-discuss at lists.hcs.harvard.edu
>> > Subject: Automation Help
>> > 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>
>> > Date: April 24, 2009 2:32PM EDT
>> > To: 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
>> > 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