Sign in to follow this  
Followers 0
sp3tzn4z

Username & Pass

16 posts in this topic

#1 ·  Posted (edited)

Well first of all this is a great program, i started this morning with learning it.

But i wanna get something done because i really want/need it atm :think:

I know i'm rushing into it but i got nothing else to do atm.

I wanna make a GUI for the macro i made today/yesterday (0:09 GMT +1)

Ok this is what i made today but the problem is i want it to be able to be used by more people with not having to change the Username and Password in the code all the time

Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWaitActive("Page Title - Internet Explorer")

MouseClick ( "left", 446, 465, 1)
Sleep (2000)
MouseClick ( "left", 442, 301, 1)
Send ("username")
Mouseclick ( "left", 442, 323, 1)
Send ("password")
Mouseclick ( "left", 471, 344, 1)
Sleep (2000)

While 1
Mouseclick ( "left", 884, 126, 1)
Sleep (2000)
Mouseclick ( "left", 581, 411, 1)
Send ("60")
Mouseclick ( "left", 587, 450, 1)
Sleep (2000)
Mouseclick ( "left", 577, 381, 1)
Send ("60")
Mouseclick ( "left", 569, 452, 1)
Sleep (2000)
Mouseclick ( "left", 884, 144, 1)
Sleep (2000)
Mouseclick ( "left", 584, 407, 1)
Send ("60")
Mouseclick ( "left", 587, 451, 1)
Sleep (2000)
Mouseclick ( "left", 572, 380, 1)
Send ("60")
Mouseclick ( "left", 566, 451, 1)
Sleep (2000)
Mouseclick ( "left", 31, 197, 1)
Sleep (2000)
Mouseclick ( "left", 538, 222, 1)
Sleep (2000)
Mouseclick ( "left", 503, 280, 1)
Sleep (2000)
MouseWheel ( "down")
Sleep (2000)
Mouseclick ( "left", 400, 489, 1)
Sleep (2000)
Mouseclick ( "left", 503, 626, 1)
Sleep (65000)
Mouseclick ( "left", 883, 125, 1)
Sleep (2000)
Mouseclick ( "left", 581, 363, 1)
Send ("60")
Mouseclick ( "left", 586, 451, 1)
Sleep (2000)
Mouseclick ( "left", 575, 430, 1)
Send ("60")
Mouseclick ( "left", 568, 451, 1)
Sleep (2000)
Mouseclick ( "left", 883, 145, 1)
Sleep (2000)
Mouseclick ( "left", 580, 362, 1)
Send ("60")
Mouseclick ( "left", 586, 451, 1)
Sleep (2000)
Mouseclick ( "left", 574, 428, 1)
Send ("60")
Mouseclick ( "left", 567, 452, 1)
Sleep (2000)
Mouseclick ( "left", 31, 196, 1)
Sleep (2000)
Mouseclick ( "left", 537, 223, 1)
Sleep (2000)
Mouseclick ( "left", 503, 281, 1)
Sleep (2000)
MouseWheel ( "down")
Sleep (2000)
Mouseclick ( "left", 400, 388, 1)
Sleep (2000)
Mouseclick ( "left", 504, 625, 1)
Sleep (65000)
Wend

And my idea wus to make a GUI where you enter your username and password and the starts the actions that it does in the code above but i have no clue on how to do it but i used GuiWizard.exe and this is what came out of it.

; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("My Macro V1.0", 291, 180,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Input_1 = GuiCtrlCreateInput("Enter username here", 30, 40, 230, 20)
$Input_2 = GuiCtrlCreateInput("Enter password here", 30, 90, 230, 20)
$Label_3 = GuiCtrlCreateLabel("Username", 30, 20, 100, 20)
$Label_4 = GuiCtrlCreateLabel("Password", 30, 70, 100, 20)
$Button_5 = GuiCtrlCreateButton("Start", 100, 130, 100, 30)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
;;;
    EndSelect
WEnd
Exit

Now my question is if someone wants to point me in the right direction and help me out a bit to make from those two things 1 thing. I would be happy if someone did because some parts from the Scite help file is missing.

Sry if i posted it in the wrong section but i didn't know if i had to post this in GUI because i think there is alot more "coding" to do besides the GUI part (correct me if i'm wrong because i'm a total noob atm and i need all the help i need, either bad or good comments help me so....)

Edited by sp3tzn4z

Share this post


Link to post
Share on other sites



Put your first part into a function, then from the GUI (in the help file you'll see how to use the buttons to call things) you would call to it, also you'll need to pass variables for the username and password, so you'll be looking at GUICtrlRead()

; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("My Macro V1.0", 291, 180,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Input_1 = GuiCtrlCreateInput("Enter username here", 30, 40, 230, 20)
$Input_2 = GuiCtrlCreateInput("Enter password here", 30, 90, 230, 20)
$Label_3 = GuiCtrlCreateLabel("Username", 30, 20, 100, 20)
$Label_4 = GuiCtrlCreateLabel("Password", 30, 70, 100, 20)
$Button_5 = GuiCtrlCreateButton("Start", 100, 130, 100, 30)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button_5
        If GUICtrlRead($Input_1) <> '' And GUICtrlRead($Input_2) <> '' Then
            MyMacro(GUICtrlRead($Input_1), GUICtrlRead($Input_2))
        Else
            MsgBox(0, 'Error', 'You did not fill in a username or password.')
        EndIf
    EndSelect
WEnd
Exit

Func MyMacro($v_UserName, $v_PassWord)
    Run("C:\Program Files\Internet Explorer\iexplore.exe")
    WinWaitActive("Page Title - Internet Explorer")

    MouseClick ( "left", 446, 465, 1)
    Sleep (2000)
    MouseClick ( "left", 442, 301, 1)
    Send ($v_UserName)
    Mouseclick ( "left", 442, 323, 1)
    Send ($v_PassWord)
    Mouseclick ( "left", 471, 344, 1)
    Sleep (2000)

    While 1
        Mouseclick ( "left", 884, 126, 1)
        Sleep (2000)
        Mouseclick ( "left", 581, 411, 1)
        Send ("60")
        Mouseclick ( "left", 587, 450, 1)
        Sleep (2000)
        Mouseclick ( "left", 577, 381, 1)
        Send ("60")
        Mouseclick ( "left", 569, 452, 1)
        Sleep (2000)
        Mouseclick ( "left", 884, 144, 1)
        Sleep (2000)
        Mouseclick ( "left", 584, 407, 1)
        Send ("60")
        Mouseclick ( "left", 587, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 572, 380, 1)
        Send ("60")
        Mouseclick ( "left", 566, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 31, 197, 1)
        Sleep (2000)
        Mouseclick ( "left", 538, 222, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 280, 1)
        Sleep (2000)
        MouseWheel ( "down")
        Sleep (2000)
        Mouseclick ( "left", 400, 489, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 626, 1)
        Sleep (65000)
        Mouseclick ( "left", 883, 125, 1)
        Sleep (2000)
        Mouseclick ( "left", 581, 363, 1)
        Send ("60")
        Mouseclick ( "left", 586, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 575, 430, 1)
        Send ("60")
        Mouseclick ( "left", 568, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 883, 145, 1)
        Sleep (2000)
        Mouseclick ( "left", 580, 362, 1)
        Send ("60")
        Mouseclick ( "left", 586, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 574, 428, 1)
        Send ("60")
        Mouseclick ( "left", 567, 452, 1)
        Sleep (2000)
        Mouseclick ( "left", 31, 196, 1)
        Sleep (2000)
        Mouseclick ( "left", 537, 223, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 281, 1)
        Sleep (2000)
        MouseWheel ( "down")
        Sleep (2000)
        Mouseclick ( "left", 400, 388, 1)
        Sleep (2000)
        Mouseclick ( "left", 504, 625, 1)
        Sleep (65000)
    Wend
EndFunc


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Thx for explaining it in such short and fast way and giving me an example of it.

The helpfile isn't really well explained for me and some things in the helpfile for Scite are missing.

now need to figure out tons of other stuff i'm gonna add but you really gave me a good push in the right direction and i thank you for it :think:

Share this post


Link to post
Share on other sites

Hmmm about the help file... I wrote the button example one in the help file :(:think: (the $msg = part).


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Hmmm about the help file... I wrote the button example one in the help file :):think: (the $msg = part).

suuuuure. i don't see that in any of the change logs... :(

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

suuuuure. i don't see that in any of the change logs... :think:

I know... JPM didn't add it in (my name)... it was .115 I think, that's why I was surprised to see it up there this time since I just re-worked something. Doesn't bother me... I don't need my name in the credits, that help file and this forum helped me quite a bit along the way!! :)

Edit:

And besides that, that one was such a small edition, I don't think I deserve recognition on either :(

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I know... JPM didn't add it in (my name)... it was .115 I think, that's why I was surprised to see it up there this time since I just re-worked something. Doesn't bother me... I don't need my name in the credits, that help file and this forum helped me quite a bit along the way!! :(

Edit:

And besides that, that one was such a small edition, I don't think I deserve recognition on either :think:

you should have used EncodeIt on it to make it look like a more notable submission.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Well i thought i would expand it a little more but once again i can't find the answer to it, and yes i know i'm rushing into it again but i always wanna learn things fast.

i did the following thing:

I added a group in the GUI that contains 2 Radio's

But now i wanna know how i get them to work like i want.

If the first radio ("Point 1") is selected then it needs to start reading the script at where i wrote "Func PointOne", and if the second radio is selected ("Point 2) then it needs to start reading the script at where i wrote "Func PointTwo". But that has to happen after "Func MyMacro" has done his job. And i don't have a clue on how to do that.Can anyone help me with that ?

#region
#include <GuiConstants.au3>

GuiCreate("My Macro", 200, 236,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Group_1 = GuiCtrlCreateGroup("Select you're starting point", 10, 10, 180, 80)
$Radio_2 = GuiCtrlCreateRadio("Point 1", 20, 30, 90, 20)
$Radio_3 = GuiCtrlCreateRadio("Point 2", 20, 60, 90, 20)
$Label_4 = GuiCtrlCreateLabel("Username", 10, 100, 170, 20)
$Label_5 = GuiCtrlCreateLabel("Password", 10, 150, 170, 20)
$Input_6 = GuiCtrlCreateInput("", 10, 120, 180, 20)
$Input_7 = GuiCtrlCreateInput("", 10, 170, 180, 20)
$Button_8 = GuiCtrlCreateButton("Begin", 10, 200, 180, 20)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button_8
        If GUICtrlRead($Input_6) <> '' And GUICtrlRead($Input_7) <> '' Then
            MyMacro(GUICtrlRead($Input_6), GUICtrlRead($Input_7))
        Else
            MsgBox(0, 'Error', 'Fill in username and password first')
        EndIf
    EndSelect
WEnd
Exit

Func MyMacro($v_UserName, $v_PassWord)
    Run("C:\Program Files\Internet Explorer\iexplore.exe")
    WinWaitActive("Webpage - Internet Explorer")

    MouseClick ( "left", 446, 465, 1)
    Sleep (2000)
    MouseClick ( "left", 442, 301, 1)
    Send ($v_UserName)
    Mouseclick ( "left", 442, 323, 1)
    Send ($v_PassWord)
    Mouseclick ( "left", 471, 344, 1)
    Sleep (2000)

    While 1
      Func PointOne
            Mouseclick ( "left", 884, 126, 1)
            Sleep (2000)
            Mouseclick ( "left", 581, 411, 1)
            Send ("60")
            Mouseclick ( "left", 587, 450, 1)
            Sleep (2000)
            Mouseclick ( "left", 577, 381, 1)
            Send ("60")
            Mouseclick ( "left", 569, 452, 1)
            Sleep (2000)
            Mouseclick ( "left", 884, 144, 1)
            Sleep (2000)
            Mouseclick ( "left", 584, 407, 1)
            Send ("60")
            Mouseclick ( "left", 587, 451, 1)
            Sleep (2000)
            Mouseclick ( "left", 572, 380, 1)
            Send ("60")
            Mouseclick ( "left", 566, 451, 1)
            Sleep (2000)
            Mouseclick ( "left", 31, 197, 1)
            Sleep (2000)
            Mouseclick ( "left", 538, 222, 1)
            Sleep (2000)
            Mouseclick ( "left", 503, 280, 1)
            Sleep (2000)
            MouseWheel ( "down")
            Sleep (2000)
            Mouseclick ( "left", 400, 489, 1)
            Sleep (2000)
            Mouseclick ( "left", 503, 626, 1)
            Sleep (65000)
      func PointTwo
            Mouseclick ( "left", 883, 125, 1)
            Sleep (2000)
            Mouseclick ( "left", 581, 363, 1)
            Send ("60")
            Mouseclick ( "left", 586, 451, 1)
            Sleep (2000)
            Mouseclick ( "left", 575, 430, 1)
            Send ("60")
            Mouseclick ( "left", 568, 451, 1)
            Sleep (2000)
            Mouseclick ( "left", 883, 145, 1)
            Sleep (2000)
            Mouseclick ( "left", 580, 362, 1)
            Send ("60")
            Mouseclick ( "left", 586, 451, 1)
            Sleep (2000)
            Mouseclick ( "left", 574, 428, 1)
            Send ("60")
            Mouseclick ( "left", 567, 452, 1)
            Sleep (2000)
            Mouseclick ( "left", 31, 196, 1)
            Sleep (2000)
            Mouseclick ( "left", 537, 223, 1)
            Sleep (2000)
            Mouseclick ( "left", 503, 281, 1)
            Sleep (2000)
            MouseWheel ( "down")
            Sleep (2000)
            Mouseclick ( "left", 400, 388, 1)
            Sleep (2000)
            Mouseclick ( "left", 504, 625, 1)
            Sleep (65000)
    Wend
EndFunc
#endregion --- GuiBuilder generated code End ---

sry if it's in the wrong forum section but i didn't wanna make a new topic in the GUI section because i already started this one yesterday and didn't know where to put it.

Edited by sp3tzn4z

Share this post


Link to post
Share on other sites

Case $msg = $Radio_1 And BitAnd(GUICtrlRead($Radio_1), $GUI_CHECKED) = $GUI_CHECKED
   ;Do something


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Thx SmOke_N for the help :think:

but can you give me a hint on how that would work without interrupting MyMacro Func ??

I wanna understand what its doeing and not just copy and paste it.

Edited by sp3tzn4z

Share this post


Link to post
Share on other sites

Thx SmOke_N for the help :think:

but can you give me a hint on how that would work without interrupting MyMacro Func ??

I wanna understand what its doeing and not just copy and paste it.

It wouldn't interrupt it, it just wouldn't do anything until it returned from it. Or if not in it, would do the actions before it went to it. You can only run 1 function at a time unless you use AdlibEnable() (which you only have control over how often in time it goes to a function), or do ALOT of studying on StdoutRead/StdInWrite/StderrRead, but... that would not be smart IMHO since your having issues with Radio buttons at the moment.

There is a fairly good tutorial that will teach you basics in the short time you are looking for, there's a reading one by LxP and an interactive one by Valuater in the Scripts and Scraps forum called AutoIt 123 I believe. I would suggest strongly that you at least spend a couple of hours today getting the gist of all the opportunites by trying that one. You're understanding and grasping would increas 10 fold I'm sure. I only wish there was something like that when I first started.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Thx for the suggestion about AutoIt 123 i'll take a look at it.

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Well i got it working like i wanted i just replaced the 2 radio's by a combobox and this is what i have :think:, and now that i have this i'm gonna look for something else to add in there.

SmOke_N thank you for the tips and help you gave me.

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form1 = GUICreate("MyMacro", 277, 259, 285, 202)
$Combo1 = GUICtrlCreateCombo("", 8, 200, 259, 21)
GUICtrlSetData(-1, "choice1|choice2")
GUICtrlCreateLabel("Username", 8, 80, 60, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Input1 = GUICtrlCreateInput("", 8, 96, 259, 21, -1, $WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Password", 8, 128, 58, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Input2 = GUICtrlCreateInput("", 8, 144, 259, 21, $ES_PASSWORD, $WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Select current city", 8, 176, 108, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Pic1 = GUICtrlCreatePic("", 8, 8, 259, 64)
$Button1 = GUICtrlCreateButton("Start", 8, 232, 257, 17)

GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button1
        If GUICtrlRead($Input1) <> '' And GUICtrlRead($Input2) <> '' Then
            choosepoint()
        Else
            MsgBox(0, 'Error', 'You did not fill in a username or password.')
        EndIf
    EndSelect
WEnd
Exit

Func choosepoint()
    If GUICtrlRead ($Combo1) = "choice1" Then 
        point1(GUICtrlRead($Input1), GUICtrlRead($Input2))
    ElseIf GUICtrlRead ($Combo1) = "choice2" Then 
        point2(GUICtrlRead($Input1), GUICtrlRead($Input2))
    Else
        MsgBox (0, "Error", "Choose your point")
    EndIf
EndFunc

Func point1($v_UserName, $v_PassWord)
    run("C:\Program Files\Internet Explorer\iexplore.exe")
    winwaitactive("pagetitle - Internet Explorer")
    
    MouseClick ( "left", 446, 465, 1)
    Sleep (2000)
    MouseClick ( "left", 442, 301, 1)
    Send ($v_UserName)
    Mouseclick ( "left", 442, 323, 1)
    Send ($v_PassWord)
    Mouseclick ( "left", 471, 344, 1)
    Sleep (2000)
    
    While 1
        Mouseclick ( "left", 884, 126, 1)
        Sleep (2000)
        Mouseclick ( "left", 581, 411, 1)
        Send ("60")
        Mouseclick ( "left", 587, 450, 1)
        Sleep (2000)
        Mouseclick ( "left", 577, 381, 1)
        Send ("60")
        Mouseclick ( "left", 569, 452, 1)
        Sleep (2000)
        Mouseclick ( "left", 884, 144, 1)
        Sleep (2000)
        Mouseclick ( "left", 584, 407, 1)
        Send ("60")
        Mouseclick ( "left", 587, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 572, 380, 1)
        Send ("60")
        Mouseclick ( "left", 566, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 31, 197, 1)
        Sleep (2000)
        Mouseclick ( "left", 538, 222, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 280, 1)
        Sleep (2000)
        MouseWheel ( "down")
        Sleep (2000)
        Mouseclick ( "left", 400, 489, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 626, 1)
        Sleep (65000)
        Mouseclick ( "left", 883, 125, 1)
        Sleep (2000)
        Mouseclick ( "left", 581, 363, 1)
        Send ("60")
        Mouseclick ( "left", 586, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 575, 430, 1)
        Send ("60")
        Mouseclick ( "left", 568, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 883, 145, 1)
        Sleep (2000)
        Mouseclick ( "left", 580, 362, 1)
        Send ("60")
        Mouseclick ( "left", 586, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 574, 428, 1)
        Send ("60")
        Mouseclick ( "left", 567, 452, 1)
        Sleep (2000)
        Mouseclick ( "left", 31, 196, 1)
        Sleep (2000)
        Mouseclick ( "left", 537, 223, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 281, 1)
        Sleep (2000)
        MouseWheel ( "down")
        Sleep (2000)
        Mouseclick ( "left", 400, 388, 1)
        Sleep (2000)
        Mouseclick ( "left", 504, 625, 1)
        Sleep (65000)
    Wend
EndFunc

Func Point2($v_UserName, $v_PassWord)
    run("C:\Program Files\Internet Explorer\iexplore.exe")
    winwaitactive("pagetitle - Internet Explorer")
    
    MouseClick ( "left", 446, 465, 1)
    Sleep (2000)
    MouseClick ( "left", 442, 301, 1)
    Send ($v_UserName)
    Mouseclick ( "left", 442, 323, 1)
    Send ($v_PassWord)
    Mouseclick ( "left", 471, 344, 1)
    Sleep (2000)
    
    While 1
        Mouseclick ( "left", 883, 125, 1)
        Sleep (2000)
        Mouseclick ( "left", 581, 363, 1)
        Send ("60")
        Mouseclick ( "left", 586, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 575, 430, 1)
        Send ("60")
        Mouseclick ( "left", 568, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 883, 145, 1)
        Sleep (2000)
        Mouseclick ( "left", 580, 362, 1)
        Send ("60")
        Mouseclick ( "left", 586, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 574, 428, 1)
        Send ("60")
        Mouseclick ( "left", 567, 452, 1)
        Sleep (2000)
        Mouseclick ( "left", 31, 196, 1)
        Sleep (2000)
        Mouseclick ( "left", 537, 223, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 281, 1)
        Sleep (2000)
        MouseWheel ( "down")
        Sleep (2000)
        Mouseclick ( "left", 400, 388, 1)
        Sleep (2000)
        Mouseclick ( "left", 504, 625, 1)
        Sleep (65000)
        Mouseclick ( "left", 884, 126, 1)
        Sleep (2000)
        Mouseclick ( "left", 581, 411, 1)
        Send ("60")
        Mouseclick ( "left", 587, 450, 1)
        Sleep (2000)
        Mouseclick ( "left", 577, 381, 1)
        Send ("60")
        Mouseclick ( "left", 569, 452, 1)
        Sleep (2000)
        Mouseclick ( "left", 884, 144, 1)
        Sleep (2000)
        Mouseclick ( "left", 584, 407, 1)
        Send ("60")
        Mouseclick ( "left", 587, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 572, 380, 1)
        Send ("60")
        Mouseclick ( "left", 566, 451, 1)
        Sleep (2000)
        Mouseclick ( "left", 31, 197, 1)
        Sleep (2000)
        Mouseclick ( "left", 538, 222, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 280, 1)
        Sleep (2000)
        MouseWheel ( "down")
        Sleep (2000)
        Mouseclick ( "left", 400, 489, 1)
        Sleep (2000)
        Mouseclick ( "left", 503, 626, 1)
        Sleep (65000)
    Wend
EndFunc
Edited by sp3tzn4z

Share this post


Link to post
Share on other sites

There is a fairly good tutorial that will teach you basics in the short time you are looking for, there's a reading one by LxP and an interactive one by Valuater in the Scripts and Scraps forum called AutoIt 123 I believe.

Do you have a link to LxP texts?

Thanks.


2015 - Still no flying cars, instead blankets with sleeves.

Share this post


Link to post
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
Sign in to follow this  
Followers 0