1838636 Members
2484 Online
110128 Solutions
New Discussion

How to do auto program

 
intp
Frequent Advisor

How to do auto program

hi,

i need something like the following...

1) when i execute a program (any programming language or any method), it needs to
open a web browser fills in the data required.

is this possible in c programming ? if so can someone send a simple example c program which opens a webbrowser and fills in some data.

I'm trying to fill in my timesheet(its in a web browser) automatically :) Damn every week i need to do the same stupid thing. :) Please help

Thanks.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: How to do auto program

Shalom,

If your browser runs on windows there are open source windows scripting tools that will do it with a lot less code.

As an aside, time sheets are supposed to be filled out by a person not a program. Its also ill advised to use automated programs to click web ad's or do other things that can clog bandwidth and potentially get you into a bit of trouble.

Good Luck,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: How to do auto program

You don't need C but HTML.

You can call most of the browsers only with an URL as argument. This will open a page only, but not fill the forms.

Most browsers have a function "autofill", but you need to go to every field.

Some tools are available in the web (for windows mostly) to recoed your entries and fill it automatically.

If your application is allowing it, you can save an offline copy of the page and modify the source.

You will find a
and and several tags. Within the INPUT you can add a VALUE="your_input_value". if you open this offline page, all your fields have the values you want.

You can even automate the "click" for submit.

Good luck!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
intp
Frequent Advisor

Re: How to do auto program

any tools ..any websites ? that you can suggest , where i can find these tools ?
Torsten.
Acclaimed Contributor

Re: How to do auto program

Search the web for terms like "autofill forms" or something or go with the offline method.

The tools can even auto-assign points ;-))

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!