School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,380 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,527 people online right now. Registration is fast and FREE... Join Now!




Coding a Macroer in Java?

 

Coding a Macroer in Java?

TheBest

25 May, 2009 - 03:24 PM
Post #1

New D.I.C Head
*

Joined: 24 Mar, 2009
Posts: 4


My Contributions
Hello everyone,

I would like to learn how to program autoers that can go onto websites and do things automatically such as make accounts, click on ads, etc. A good example of something like this is Multiclicker, if you don't know what I'm talking about go to autoclickers.org, it is a program that clicks on ads on PTC sites for you.
I would really love to know how to write a program that could log onto a website, enter user-name and password, interact with web-pages.
If someone would be so kind as to point me towards some reference that could give me guidance in this subject I would be forever grateful.
Also, I would prefer if the reference was for Java, because it is the language that I have the best understanding of.

Thanks alot guys. cool.gif

User is offlineProfile CardPM
+Quote Post


Gasper

RE: Coding A Macroer In Java?

29 May, 2009 - 07:31 AM
Post #2

D.I.C Head
**

Joined: 29 May, 2009
Posts: 60



Thanked: 11 times
My Contributions
Every site event is made using a request to the active site (written in say PHP). Data to that site is passed using GET or POST method. If site is using GET method you simply check the source and find 'form'. Then you call script passing arguments. Example:
http://www.click.com/addpost.php?name=sth&sid=123

however it isn't always that simple. More common method for such things is POST, so you'll have to check language's APIs.

EDIT:
Sorry i missed that you ar using Java. You shoul check http://java.sun.com/j2se/1.4.2/docs/api/ja...Connection.html for more informations.

This post has been edited by Gasper: 29 May, 2009 - 07:37 AM
User is offlineProfile CardPM
+Quote Post

TheBest

RE: Coding A Macroer In Java?

29 May, 2009 - 12:41 PM
Post #3

New D.I.C Head
*

Joined: 24 Mar, 2009
Posts: 4


My Contributions
Alright thanks a lot for the reply.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 09:29PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month