Jump to content

Recommended Posts

Posted (edited)
#include <IE.au3>
#include <GUIConstants.au3>
global $Input1 = "*"
global $Input2 = "*"
$Group1 = GUICtrlCreateGroup("Twitter", 8, 0, 265, 129)
$Button1 = GUICtrlCreateButton("Go", 176, 48, 75, 25)
$Button2 = GUICtrlCreateButton("StopScript", 176, 96, 75, 25)
$Input1 = GUICtrlCreateInput("Input1", 32, 48, 121, 21)
$Label1 = GUICtrlCreateLabel("UserName", 56, 24, 62, 17)
$Input2 = GUICtrlCreateInput("Input2", 32, 96, 121, 21)
$Label2 = GUICtrlCreateLabel("Password", 56, 72, 66, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
         case $Button1
            Button1()
         case $Button2
            Button2()
    EndSwitch
WEnd

func Button1()
   GUICtrlRead($Input1 & $Input2)
    _IECreate('http:\\www.twitter.com\firedragon172')
EndFunc

func Button2()
   Exit
EndFunc


 

i need help, the GUI is not appearing after the internet explorer

any reason why or something missing

Edited by JLogan3o13
Removed password
Posted

#include <IE.au3>
#include <GUIConstants.au3>
global $Input1 = "firedragon172"
global $Input2 = "werewolf"
$Group1 = GUICtrlCreateGroup("Twitter", 8, 0, 265, 129)
$Button1 = GUICtrlCreateButton("Go", 176, 48, 75, 25)
$Button2 = GUICtrlCreateButton("StopScript", 176, 96, 75, 25)
$Input1 = GUICtrlCreateInput("Input1", 32, 48, 121, 21)
$Label1 = GUICtrlCreateLabel("UserName", 56, 24, 62, 17)
$Input2 = GUICtrlCreateInput("Input2", 32, 96, 121, 21)
$Label2 = GUICtrlCreateLabel("Password", 56, 72, 66, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
         case $Button1
            Button1()
         case $Button2
            Button2()
    EndSwitch
WEnd

func Button1()
   GUICtrlRead($Input1 & $Input2)
    _IECreate('http:\\www.twitter.com\firedragon172')
EndFunc

func Button2()
   Exit
EndFunc
 

i need help, the GUI is not appearing after the internet explorer

any reason why or something missing

 
Posted

BTW: When posting code please use the AutoIt code tags of the editor (the "<>" button). Makes your code much easier to read ;)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

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
  • Recently Browsing   0 members

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