Results 1 to 5 of 5

Thread: Quick Question

  1. #1
    Graeme is offline Member
    Join Date
    Jan 2009
    Rep Power

    Default Quick Question

    Hi everyone, sorry if this is in the wrong forum I have no idea where else to put it.

    I am new to Java so I don't really have much of an idea how to do things and how difficult they would be to create - but I'm willing to learn through all of the online tutorials available.

    Anyway to the question - I just want to know how difficult it would be to create a program that could cycle through web pages, which are in numerical order (so it's on the same site, just a different section of it) and click on a certain button on that page.

    In total layman's terms this is what it would do:

    Enter webpage address w w w.somerandomwebpage/randomstuff/morerandom/blahblahid?=00000001
    Click Button
    Enter webpage address w w w.somerandomwebpage/randomstuff/morerandom/blahblahid?=00000002
    Click Button
    etc etc.

    It's for an application on facebook and I know it's possible as quite a few of the other players have created a script/bot that does it for them. I know it is quite sad, but I'm not here to be judged.

    Any help/advice would be greatly appreciated.

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Rep Power

    Default How new are you?

    • How new are you to Java?
    • Do you have the Java basics (methods, classes, variables, scope, etc) ?

    The reason I ask is because what your asking sounds a little complex and with the info supplied, I'm not sure if you want to go that way.
    • What does the button do? display the next web page?

    If so, there are probably easier ways to do that.

    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Rep Power


    if you're making a facebook app, i believe that they've stopped continued support for java. anyways, i'd recommend php if anything for use with facebook.

    also, i think you might be referring to javascript, not java.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    Yes Graeme, you must explain your question more clearly here. How can we know what you really want to do with this project. Seems to me don't have a design either for this.

  5. #5
    Graeme is offline Member
    Join Date
    Jan 2009
    Rep Power


    Thanks for your replies everyone.

    I am completely new to Java, I've never tried to make anything with it, so won't have the basics. The button which I want to click on is a "Request entry" button, it doesn't appear to move onto a different page at any time it just refreshes the current one.

    The process I'm physically doing at the moment is entering a web address into the address bar; scrolling down; click on the request entry button; go back up to the address bar and replace the last digit with the next one in the sequence and repeating the process. As you can imagine it is quite boring and tedious hence why I want to create something to do it for me.

    I realise it will take a while to create, but I am willing to put in the time as I've always wanted to learn how to use Java - I've just never had a project in mind, so have never bothered to try until now. This is why I ask how difficult it would be, because if it is way too advanced for a learner then there's not much point in me attempting it.

    However, I think emceenugget is right and I may be talking about Javascript rather than Java? Just to clear things up though, I'm not creating an application for facebook. And php doesn't work, as the application throws you off every couple of minutes.

    Hope this helps clear things up.

Similar Threads

  1. Quick Question
    By Spenc in forum New To Java
    Replies: 3
    Last Post: 09-22-2008, 02:26 PM
  2. quick easy question
    By jmHoekst in forum New To Java
    Replies: 1
    Last Post: 06-19-2008, 03:28 PM
  3. Quick question about sorting
    By nbd223 in forum New To Java
    Replies: 10
    Last Post: 04-28-2008, 09:11 AM
  4. Quick Java question/help
    By Zedy in forum New To Java
    Replies: 6
    Last Post: 04-22-2008, 03:40 AM
  5. Quick Stupid Question
    By bluekswing in forum New To Java
    Replies: 7
    Last Post: 01-08-2008, 06:35 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