1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

gmail login

Discussion in 'Programming' started by ssimon171078, May 24, 2015.

  1. #1
    i write vbscript to login to gmail ,how can change browser to firefox and download all attachments with this script?
    On Error Resume Next
    
    Const PAGE_LOADED = 4
    
    Set objIE = CreateObject("InternetExplorer.Application")
    
    Call objIE.Navigate("http://www.gmail.com")
    
    objIE.Visible = True
    
    Do Until objIE.ReadyState = PAGE_LOADED : Call WScript.Sleep(100) : Loop
    
    objIE.Document.all.Email.Value = "test"
    
    objIE.Document.all.Passwd.Value = "12345"
    
    If Err.Number <> 0 Then
    
    msgbox "Error: " & err.Description
    
    End If
    
    Call objIE.Document.all.gaia_loginform.submit
    
    Set objIE = Nothi
    Code (markup):

     
    ssimon171078, May 24, 2015 IP
  2. Anveto

    Anveto Well-Known Member

    Messages:
    697
    Likes Received:
    40
    Best Answers:
    19
    Trophy Points:
    195