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

code to open browser, run imacros and than close browser

Discussion in 'General Programming Chat' started by dirtystreak, Mar 30, 2016.

  1. dirtystreak

    dirtystreak Newbie

    Joined:
    Jun 15, 2014
    Messages:
    3
    Likes Received:
    0
    hi. as per title - is there any script I can use to open an chrome profile asscociated browser on a specific URL, run an imacro and than close the browser. Also will need to execute it in specific times if possible...
    not really knowladgable in programming but can learn my way if i know where to focus...
    can do the imacros part but have to run these in 10 different instances of chrome profiles and this takes tonns of my memory if i leave them all open...
     
    Last edited: Mar 30, 2016
  2. CrackFantasy

    CrackFantasy Junior Member

    Joined:
    Jun 22, 2014
    Messages:
    166
    Likes Received:
    77
    Your are looking for either Java + selenium or autoit or any other window based coding language example c# and create "on screen clicker"...
     
    • Thanks Thanks x 1
  3. dirtystreak

    dirtystreak Newbie

    Joined:
    Jun 15, 2014
    Messages:
    3
    Likes Received:
    0
    thanks m8, will look at these... dont really want to go down the route of mouse emulation as I down know what other programs will be open at any one time - i need a command base solution...
     
  4. dirtystreak

    dirtystreak Newbie

    Joined:
    Jun 15, 2014
    Messages:
    3
    Likes Received:
    0
    thanks m8, will look at these... dont really want to go down the route of mouse emulation as I down know what other programs will be open at any one time - i need a command base solution...
     
  5. immaletyoufinish

    immaletyoufinish Regular Member

    Joined:
    Mar 3, 2016
    Messages:
    219
    Likes Received:
    113
    You can accomplish by creating a bookmark for your iMacro in your browser then from the command line run open the browser giving it the iMacros bookmark as an argument so it opens it to that 'page' which will load and start the iMacro.
     
    • Thanks Thanks x 1
  6. trickster21

    trickster21 Newbie

    Joined:
    Feb 16, 2011
    Messages:
    5
    Likes Received:
    0
    Occupation:
    Fulltime developer
    You should look into Python + Selenium. I've done a couple of bots that automate actions in websites with that combination.