![]() |
IOBit Software
|
|
|
||||||
| Programming Place to discuss programming including HTML, Java, C++, MySQL and others. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
Need help in scripting a batch file for automatic login in a website (for example www.gmail.com). The batch file will contain the username & password for logging in. It's a windows system. Please help. |
| Sponsored links |
|
|
|
#2
|
||||
|
||||
|
You can't send keystrokes to a GUI using batch. You could try the SendKeys Method in a VBScript.
Regards GermanOne |
| The Following User Says Thank You to GermanOne For This Useful Post: | ||
slyclam (02-01-12) | ||
|
#3
|
||||
|
||||
|
I'm not sure if this meets your goal or not but Thunderbird will send and receive email through gmail and store your username and password so it all happens by a single click.
Otherwise, there are applications like Roboform that manage your online user accounts.
__________________
Communicate! . . . It can't make things any worse. |
|
#4
|
|||
|
|||
|
@GermanOne: Thanks for the info. I'll try to find a solution to my problem using this.
@shnerdly: That was not what I meant. Thanks anyways. |
|
#5
|
|||
|
|||
|
You need to provide more information about what exactly you want to do.
One option you could try would be finding a way to get cURL to do this; it lets you make HTTP requests from a command line or a script file; although I don't know if it will work with Gmail because Google uses cookies and advanced authentication, not just standard HTTP authentication. If you elaborate on why you want to do this from a batch file we can probably help you find a way to do it. |
| Sponsored links |
|
|
![]() |
| Tags |
| automation, batch, dos, windows |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Batch RAR? | Keyser Söze | Software | 2 | 06-26-07 18:34 |
| Automate file move? | Stygiis | Software | 1 | 10-17-06 14:40 |
| Need to automate a file move every night | themeaner | Programming | 1 | 04-06-05 10:26 |
| LOL, Batch help | Sara | Programming | 2 | 09-21-04 17:19 |
| Batch Job | DanMan | Software | 1 | 03-15-04 20:45 |