Followers 0

# Help! mouseclick, and more "read"

## 46 posts in this topic

see the topic name.

well i have make this script:

While 1
sleep(1500)
MouseMove(506, 559, 10)
sleep(2000)
MouseClick("left")
sleep(5000)
MouseMove(11, 62, 10)
sleep(2000)
MouseClick("left")
sleep(5000)
Wend

I want the Sleep thing delete.. how can i make autoit to click when the site is refreshed. not just click when the sleep delay gone example (2000) and then click, i want to make click when the site is refreshed!

I dont know how toexplain hope someone understand me!

-momo

##### Share on other sites

The IE.au3 UDF of Daleholm may be of use here... (Needs the latest Beta) search for it in the Forums.

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

##### Share on other sites

The IE.au3 UDF of Daleholm may be of use here... (Needs the latest Beta) search for it in the Forums.

<{POST_SNAPBACK}>

Oh, im useing Mozilla Firefox! any problems with this ?? it would be very nice if someone post that code im fucking noob in this hehe

##### Share on other sites

IE.au3 is for Internet Explorer only... I never Scripted with Firefox.

COM with IE is too comfortable that I never tried to use Firefox instead...

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

##### Share on other sites

IE.au3 is for Internet Explorer only... I never Scripted with Firefox.

COM with IE is too comfortable that I never tried to use Firefox instead...

<{POST_SNAPBACK}>

any way to make this work with mozilla firefox ???

the best would be send me the link + code i have no clue about daleholms thing hehehe

##### Share on other sites

Search for it in the Dev-Forum...

And. No... absolutely not compatible with Firefox...

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

##### Share on other sites

Search for it in the Dev-Forum...

And. No... absolutely not compatible with Firefox...

<{POST_SNAPBACK}>

hmm shit okay. why noone make it compatible with firefox then .

Im searching now in developers forum for this internet explorer thing, i must install this and what i should make after ?? just put my code in ?

##### Share on other sites

Why don't YOU do it?

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

##### Share on other sites

Why don't YOU do it?

<{POST_SNAPBACK}>

Im really sorry, but i dont understand any word. I have now downloaded the UDF.

But i have no clue about all. Well its no problem i use Internet explorer, but i want the clicks to be pressed when the site or the button is ready for click. waiting for refreshing!

-momo

##### Share on other sites

$oIE = _IECreate() _IENavigate($oIE, "http://nobrain.ch")
MouseClick("left", $x,$y)
While $oIE.busy Sleep(10) ;Wait for page to finish loading WEnd MouseClick("left",$x2, $y2) ;... ;etc. Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer #### Share this post ##### Link to post ##### Share on other sites $oIE = _IECreate()
_IENavigate($oIE, "http://www4.flirtlife.de/?") MouseClick("left",$506, $559) While$oIE.busy
Sleep(10)
WEnd
MouseClick("left", $11,$62)
;...
;etc.

Is this right what i did ?? thx in advaance.

-momo

##### Share on other sites

$oIE = _IECreate() _IENavigate($oIE, "http://www4.flirtlife.de/?")
MouseClick("left", $506,$559)

$oIE = ÊRROR Error: Unknown function name What does it mean ? #### Share this post ##### Link to post ##### Share on other sites #14 · Posted (edited) Sorry forgot to mention... Copy the IE.au3 UDF inside the Include Directory of your AutoIt Installation (If you didn't already). Then at the following line of Code at the Top of your Script: #include <IE.au3> Edited by Raindancer Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer #### Share this post ##### Link to post ##### Share on other sites Sorry forgot to mention... Copy the IE.au3 UDF inside the Include Directory of your AutoIt Installation (If you didn't already). Then at the following line of Code at the Top of your Script: #include <IE.au3> <{POST_SNAPBACK}> I get error: Error reading the file: IE.au3 i downloaded and installed the latest udf! Im really such a idiot or what ? lol i must creat a IE.au3 my self ? #### Share this post ##### Link to post ##### Share on other sites On an English System you would copy the IE.au3 File to C:\Program Files\AutoIt3\beta\Include\ If you installed it with the Installer of AutoIt. You can also you the following code: #include C:\Path_to_UDF\IE.au3" notice the " and of course you have to replace C:\Path_to_UDF with the correct Path of the Folder where IE.au3 is located in. Did you read the Help file? Read about #Include Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer #### Share this post ##### Link to post ##### Share on other sites On an English System you would copy the IE.au3 File to C:\Program Files\AutoIt3\beta\Include\ If you installed it with the Installer of AutoIt. You can also you the following code: #include C:\Path_to_UDF\IE.au3" notice the " and of course you have to replace C:\Path_to_UDF with the correct Path of the Folder where IE.au3 is located in. Did you read the Help file? Read about #Include <{POST_SNAPBACK}> YOu will not believe i read alot, and my head is going to explode. It still say the IE.au3 isnt there. where the hell i can download this fuck IE.au3 im crieng gr #### Share this post ##### Link to post ##### Share on other sites Download the attached File and Put it to the directory of your includes... Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer #### Share this post ##### Link to post ##### Share on other sites Download the attached File and Put it to the directory of your includes... <{POST_SNAPBACK}> I CANT BELIEVE!! NOW NEW ERROR!! Line 776 (File.....) If IsObj($o_object.elements) Then

If IsObj(\$o_object.e^ERROR

Error: Unable to parse line.

My head omfg, is going to exploode

##### Share on other sites

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer