1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What language am I looking for? (Scrape web, manipuate .exe application, send email)

Discussion in 'General Programming Chat' started by rnc505, Jan 15, 2011.

  1. rnc505

    rnc505 Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    229
    Likes Received:
    109
    Hey Guys,

    I'm looking to program an application that will (start automatically when opened):

    1) Go to website and regex scrape it (then copy onto clipboard).
    2) Go to an .exe, click a button with the application, click another button, application will run, when complete running (detect completion? take picture of the corner of the window and OCR and look for "0"?), click another button, save a file (and remember file name - use currentdate/time for gaurunteed uniqueness).
    3) Go to new website, login into a admin area, upload file, and click another button to send a mass email.
    4) Quit application once confirmed.

    It will be set off by twitter updates, so if someone can suggest an twitter notifyer that can call another application .exe, that would be awesome.

    I realize that this means a lot of work, but I'm willing to put in the time.

    Thank all :)

    PS: I heard Ruby's good... just saying idk.
     
  2. sirgold

    sirgold Supreme Member

    Joined:
    Jun 25, 2010
    Messages:
    1,260
    Likes Received:
    645
    Occupation:
    Busy proving the Pareto principle right
    Location:
    A hot one
    c#, c++, vbs + imacro: they all should get the work done fine.
     
  3. blakamia

    blakamia Junior Member

    Joined:
    Jan 25, 2010
    Messages:
    162
    Likes Received:
    343
    C# with WatiN can do all the web stuff easily. Sikuli can do all the .exe manipulation easily. And its all free ;)
     
  4. rnc505

    rnc505 Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    229
    Likes Received:
    109
    Sikuli is python based - is it possible to do everything in python (and maybe Imacros for the web stuff?) ?

    Thanks
    Rnc505

    EDIT: Better yet, i don't even need to learn python, just sikuli and imacros a we are all done.
     
    Last edited: Jan 16, 2011
  5. blakamia

    blakamia Junior Member

    Joined:
    Jan 25, 2010
    Messages:
    162
    Likes Received:
    343
    There you go :) Sikuli is awesome, hope you enjoy it as much as I did!
     
  6. docbother

    docbother Newbie

    Joined:
    Feb 10, 2010
    Messages:
    9
    Likes Received:
    13
    WatiN will drive you crazy because certain things just fail to work correctly - especially with AJAX site (95% of wall web20 sites).

    Selenium is a similar in function and is much more reliable than WatiN and you won't pull your hair out figuring out why a given command simply refuses to work. Like WatiN, Selenium is free open source.

    The downside with selenium is set up is more complicated. But it can be made to run script remotely on multiple systems. Great if you want to organize a scrape farm :).
     
  7. blakamia

    blakamia Junior Member

    Joined:
    Jan 25, 2010
    Messages:
    162
    Likes Received:
    343
    I found the exact opposite to be true. Watin was stable where Selenium consistently failed on stuff. Have your tried WatiN 2.0?

    -blakamia
     
  8. rnc505

    rnc505 Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    229
    Likes Received:
    109
    I find sikuli is a CPU resource hog.

    Is there anything similar or just as intuitive for exe manipulation?