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

Making bots like GSA interact with each other

Discussion in 'General Programming Chat' started by Hinkys, Oct 15, 2012.

  1. Hinkys

    Hinkys Jr. VIP Jr. VIP

    Joined:
    Mar 3, 2012
    Messages:
    674
    Likes Received:
    547
    Location:
    Croatia
    Hello guys, I'm trying to do something with software I own but I would appreciate some advice on how to go about it.

    I'll explain what I'm trying to do with an example.

    My ultimate goal would be to make something like this that runs automatically.

    1. Read variables from a web form (keywords, URL, anchor text, etc)
    2. Open kontent machine a load some of those variables (keywords, URLs, anchor text)
    3. Export those in a format for GSA (or any other software but let's say GSA for this example).
    4. Open GSA, create a new campaign (again load variables like URLs, search keywords, etc).
    5. Import content that was just created with KM.
    6. Start the campaign
    7. After campaign is done, save the report in a file

    I think you can see where I'm going with this.

    Now I have some rather basic knowledge of C (I coded some simple scripts like "Trim to root" or "Duplicate Remover") but I like to learn and try new things. I'm guessing the part with KM & GSA could be done with some sort of macro program. AutoIt was what I've ran into while doing some research but I haven't actually used it for anything.
    Actually, if the part that makes those bots interact with each other can be done with AutoIt, then I would just need a way to automatically save variables inputed by some1 on my computer.

    Ideally I'd want to do things in C but I'm guessing that would be unnecessarily complex.
    If any1 can provide some insight on this or can directly help me, I would really appreciate it.

    Also if you see the potential in this, I'd be open for some kind of JV.

    Thx in advance.
     
  2. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    AutoIT is an option indeed it is simple to program and you can use it to download data, parse prior to reusing it on the applications and then automating clicks etc.

    You can also use the window tool (forgot the name) that comes with it to get controls name and try to interact with some controls from the application like being able to read for textbox and things like that.

    You can load and save files with it make simple GUI and more.
     
  3. Gary Becks

    Gary Becks Power Member

    Joined:
    Apr 11, 2010
    Messages:
    675
    Likes Received:
    282
    Location:
    Atl
    Home Page:
    If you've got a few bucks Winautomation would be a perfect fit, if you have a few more bucks to spend Automate 9 will do everything you need and tons more.
     
  4. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,059
    Hooks
     
  5. Hinkys

    Hinkys Jr. VIP Jr. VIP

    Joined:
    Mar 3, 2012
    Messages:
    674
    Likes Received:
    547
    Location:
    Croatia
    Yeah so I'll probably start learning AutoIt then, I figure I might as well learn that rather than pay for those 2.

    PS: A simple search for "hooking" and a read through a tutorial explaining it screams "waaaay over your league".

    Cheers guys
     
  6. collywobbles99

    collywobbles99 Junior Member

    Joined:
    Mar 22, 2009
    Messages:
    173
    Likes Received:
    21
    Location:
    UK
    Another vote for AutoIt or WinAutomation. Also some tools may have command line interfaces. I know that Sick Submitter does and also AutoContentWriter.