Jump to content

Help! mouseclick, and more "read"


6momo6
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 45
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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
Link to comment
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 :whistle:

Link to comment
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 :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 ?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

$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

Link to comment
Share on other sites

$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
Link to comment
Share on other sites

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

Link to comment
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 ?

Link to comment
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
Link to comment
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

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