Jump to content

Anyway to make mouse movements hidden?


Regency
 Share

Recommended Posts

I tried getting the control id from the autoit window tool but cant get the id for Firefox. I cant get a number for it to click on the login box and type the words in.. anyone know how to fix this with this type of script?

Run("C:\Program Files\Mozilla Firefox\firefox.exe http://www.Themafianetwork.net www.google.com")
AutoItSetOption("WinWaitDelay", 250)
WinWaitActive("TheMafiaNetwork - Mozilla Firefox")
Sleep(2000)
;Moves and clicks on Accout login.
MouseMove(572, 334, 10)
MouseClick("left")
Send("Amped")
Sleep(1000)
;Moves mouse away for my own cool reasons.
MouseMove(741, 335)
MouseClick("left")
Sleep(1000)
;Moves and clicks password login.
MouseMove(575, 359, 10)
MouseClick("left")
Send("****")
Sleep(1000)
;Clicks login
MouseMove(597, 437, 10)
MouseClick("left")
Sleep(4000)
;Scrolls down so it can click Crimes, and GTA's.
MouseClick("left", 169, 713, 33)

$begin = ""
$begin2 = ""
MyFunction()
$begin = TimerInit()
$begin2 = TimerInit()

While 1
    Sleep(10)
    $dif = Int(TimerDiff($begin)/1000)
    If $dif >= (2 * 60) Then 
        MyFunction()
        $begin = Timerinit()
        Endif
WEnd



Func MyFunction()
    MouseClick("left", 35, 416, 2);Crimes       Noted line down to other noted line
    Sleep(1000)
    MouseClick("left", 419, 414, 1);Sells Pirated Software
    Sleep(3000)
    $dif2 = Int(TimerDiff($begin2)/1000)
    If $dif2 >= (4 * 60) Then
        MouseClick("left", 36, 430, 1);Clicks Gta's
        $begin2 = TimerInit()
    EndIf
    Sleep(1000)
    MouseClick("left", 447, 413, 1);Clicks Residental Area
    Sleep(900)
    MouseClick("left", 604, 541, 1); Steals Car
EndFunc  ;==>MyFunction
Link to comment
Share on other sites

There is a HUGE IE.au3 UDF for Internet Explorer.

Is there a reason you MUST use firefox for automation?

Not exactly, but its what i mainly use and dont have sp2 installed and dont have IE7 so will the IE func still work and be worth writing in?

Link to comment
Share on other sites

Not exactly, but its what i mainly use and dont have sp2 installed and dont have IE7 so will the IE func still work and be worth writing in?

Dude, I gave you a working script for IE that doesn't need the mouse...

Link to comment
Share on other sites

Do you mean that this question was asked earlier under a different topic and you gave him some code in response?

Dude, I gave you a working script for IE that doesn't need the mouse...

...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
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...