Question Locked

How to: Batch File to Login To Chosen Websites...?

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I create a Batch File to Login-in into the following websites?

-----------------------------------
One website's sourcecode fragment looks like:
-----------------------------------


class="login">Password:

-----------------------------------
Another website's sourcecode looks like this:
-----------------------------------

.....
User name:

Password:

.....

8 replies

by thumbsup2

First of all, you can't post code here in the forums. It gets executed instead of displayed.

Second, it appears as though you're asking for an awful lot from a FREE forum. Have you taken any classes yet in HTML, PHP or even JavaScript specifically aimed at Sessions and Secure Logins? I don't think so because if you had, you wouldn't be asking "how to use Web-page Source Code". Perhaps you should consider hiring a consultant.

by jpmyers15

Why respond if you are not going to be very helpful?

by seanferd

You aren't being very helpful, either. The OP is an idiot who didn't even check his post after posting, and never considered that code would be rendered.

Believe me, community members know what they are doing. They will sometimes be a bit harsh, but have their reasons.

You will also notice the OP never came back, never provided the code. He didn't care. (edit: Well, he did mark Jackie's post as helpful, but didn't bother to comment or display the code properly.)

Pfft. All that aside, welcome to TR! :) I see from your other posts that you are trying to move up in the IT food chain. I wish you the best of luck, as you seem to already have the qualifications.

by rob miners

with a script file. All of the instructions are in here. You will be looking for WshShell.SendKeys
and some keywords are
WScript.Sleep 1000
WshShell.AppActivate

Windows Script 5.6 Documentation

http://www.microsoft.com/downloads/details.aspx?FamilyID=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en

Edit to add some extra information.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome. ;) :D

by jpmyers15

Thanks, I appreciate the best wishes. I am definitely trying to move up or at least get into a better position for the long term. My current position is moving away from real IT work and it's kind of hurting my resume! Good luck to you

by seanferd

Don't you just hate it when you aren't doing the work you were hired to do?

Been there, done that. In my case, it only related to job satisfaction (and heavy lifting), and a realization the company was imploding a bit. It had no real effect on any career path I may have fantasized that I had.

This discussion is closed to new replies.