Jump to content

Prompt user for URL, Login and Password and then script opens webpage and logs into site - (Moved)


Recommended Posts

Hello,

I tried looking at InputBox and Global examples to :

1. Prompt user for URL ex: www.gmail.com

2. Prompt User for Username: jimbox@gmail.com

3 Prompt User for password: xxxxxxxx

Part 2:

Firefox webpage opens gmail and automatically inputs credentials

 

Dependence: FireFox is needed, IE or Chrome not used. Thanks!!

See below what I have so far, any direction or help is preferred.

 

#RequireAdmin
#include <MsgBoxConstants.au3>
Run(@ProgramFilesDir & "C:\Program Files\Mozilla Firefox\firefox.exe" & " " & GUICtrlRead($Input1))

$Input1 = InputBox('URL', "Enter gmail URL")
$Input2 = InputBox('Username', "Enter username")
$Input3 = InputBox('Password', "Enter password")

 

Global $url = $Input1
Global $username =$Input2
Global $password =$Input3

 

Edited by FinDaPancake
Link to comment
Share on other sites

  • Developers

Moved to the appropriate AutoIt General Help and Support forum, as the AutoIt Example Scripts forum very clearly states:

Quote

Share your cool AutoIt scripts, UDFs and applications with others.


Do not post general support questions here, instead use the AutoIt Help and Support forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...