6momo6 Posted September 7, 2005 Share Posted September 7, 2005 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 More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 Search for it in the Dev-Forum... And. No... absolutely not compatible with Firefox... Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 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 ? Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 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 More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 $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 Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 $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 More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 $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 More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 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 = ÊRRORError: Unknown function nameWhat does it mean ? Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 (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 September 7, 2005 by Raindancer Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 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.au3i 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 More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 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 More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 On an English System you would copy the IE.au3 File toC:\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 More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 Here: http://www.autoitscript.com/forum/index.php?showtopic=13398Download the attached File and Put it to the directory of your includes... Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer Link to comment Share on other sites More sharing options...
6momo6 Posted September 7, 2005 Author Share Posted September 7, 2005 Here: http://www.autoitscript.com/forum/index.php?showtopic=13398Download 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) ThenIf IsObj($o_object.e^ERRORError: Unable to parse line.My head omfg, is going to exploode Link to comment Share on other sites More sharing options...
Raindancer Posted September 7, 2005 Share Posted September 7, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now