Results 1 to 5 of 5
  1. #1
    Diangostar is offline Member
    Join Date
    Apr 2011
    Posts
    1
    Rep Power
    0

    Default How do I write code to automaticly perform a copy and paste operation 10,000 times

    I want to be able to copy and paste text from one browser, to another, like 10,000 times : D.

    There are pages present on both browsers. After each copy and paste operation between the broswers a button has to be clicked on both pages to go to the next page. Is there any way that Java can handle this for me ? Thank you so much for your help guys. I'd hate to do this myself 10,000 times.

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,236
    Rep Power
    7

    Default

    Suggestion removed.

    As others have mentioned both here and at http://www.coderanch.com/t/534849/ja...form-automatic where is was cross posted, this is not a good design and smells fishy.
    Last edited by camickr; 04-19-2011 at 06:32 AM.

  3. #3
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    I've done this type of thing before by writing an HTML client rather than trying to interact with a browser. Java makes the writing of HTML clients (or basic servers for that matter) fairly trivial. The awt.Robot is another option that can work if you have a human in the loop to get things set up properly at first.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,238
    Rep Power
    19

    Default

    Sounds terribly like a spamming plan to me.

    db

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,238
    Rep Power
    19

Similar Threads

  1. My buttons all perform their action like 100 times
    By 711groove in forum New To Java
    Replies: 0
    Last Post: 12-13-2009, 10:49 AM
  2. Copy, Cut and Paste Problems!
    By bones in forum New To Java
    Replies: 4
    Last Post: 07-17-2009, 10:18 AM
  3. Replies: 6
    Last Post: 04-20-2009, 01:46 AM
  4. Cut, copy and Paste in JTextPane
    By Gudradain in forum AWT / Swing
    Replies: 1
    Last Post: 01-03-2009, 06:43 AM
  5. Problems with copy paste
    By fredand44 in forum Eclipse
    Replies: 0
    Last Post: 12-17-2008, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •