Jump to content
Sign in to follow this  
6momo6

Help! mouseclick, and more "read"

Recommended Posts

6momo6

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!

thx in advance!

-momo

Share this post


Link to post
Share on other sites
Raindancer

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 this post


Link to post
Share on other sites
6momo6

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 :whistle: im fucking noob in this hehe

Share this post


Link to post
Share on other sites
Raindancer

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 this post


Link to post
Share on other sites
6momo6

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 :whistle:

Share this post


Link to post
Share on other sites
Raindancer

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 this post


Link to post
Share on other sites
6momo6

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 :whistle:.

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 this post


Link to post
Share on other sites
Raindancer

Why don't YOU do it?

Read the UDF... If then questions arise. Ask them in the appropriate Thread...


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

Share this post


Link to post
Share on other sites
6momo6

Why don't YOU do it?

Read the UDF... If then questions arise. Ask them in the appropriate Thread...

<{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!

thx in advance

-momo

Share this post


Link to post
Share on other sites
Raindancer

$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
6momo6

$oIE = _IECreate()
_IENavigate($oIE, "http://www4.flirtlife.de/?")
MouseClick("left", $506, $559)
While $oIE.busy
   Sleep(10)
 ;Wait for page to finish loading
WEnd
MouseClick("left", $11, $62)
;...
;etc.

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

-momo

Share this post


Link to post
Share on other sites
Raindancer

$oIE = _IECreate()
_IENavigate($oIE, "http://www4.flirtlife.de/?")
MouseClick("left", $506, $559)
While $oIE.busy
   Sleep(10)
;Wait for page to finish loading
WEnd
MouseClick("left", $11, $62)
;...
;etc.

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

-momo

<{POST_SNAPBACK}>

Now remove every $-sign in front of the mouse coordinates ($-sign is for variables only).

Then give it a shot... maybe it works... Tell me afterwards... Ask if questions arise...


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

Share this post


Link to post
Share on other sites
6momo6

Now remove every $-sign in front of the mouse coordinates ($-sign is for variables only).

Then give it a shot... maybe it works... Tell me afterwards... Ask if questions arise...

<{POST_SNAPBACK}>

I get error:

Line 14 (File.........)

$oIE = _IECreate()

$oIE = ÊRROR

Error: Unknown function name

What does it mean :whistle:?

Share this post


Link to post
Share on other sites
Raindancer

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
6momo6

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
Raindancer

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
6momo6

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
6momo6

Here: http://www.autoitscript.com/forum/index.php?showtopic=13398

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 :whistle:

Share this post


Link to post
Share on other sites
Raindancer

Ask Dale at his Thread. Maybe he can help you with this error. I don't know enough COM to help you there...


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

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  

×