Gillboss Posted April 14, 2008 Share Posted April 14, 2008 its not Work sucefully somtime work somtime dont work i mean somtime click somtime dont click MouseClick("Left" ,796,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,827,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,860,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,893,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,926,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,958,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) Link to comment Share on other sites More sharing options...
spudw2k Posted April 14, 2008 Share Posted April 14, 2008 Use SendControl or send keys instead of mouse click if possible, it's more accurate for automation. What are you trying to automate? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Gillboss Posted April 14, 2008 Author Share Posted April 14, 2008 the problem is that the bot not send the "clicks" sometime yes and sometime no.. Link to comment Share on other sites More sharing options...
spudw2k Posted April 14, 2008 Share Posted April 14, 2008 Does increasing the sleep time help? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Gillboss Posted April 14, 2008 Author Share Posted April 14, 2008 no.. the mouse all the time move, but not all the time click.. Link to comment Share on other sites More sharing options...
duckling78 Posted April 14, 2008 Share Posted April 14, 2008 (edited) Maybe try changing the "MouseClickDelay" and "MouseClickDownDelay" values? They default to 10 ms. By the way, what application are you automating? Opt("MouseClickDelay", "50") Opt("MouseClickDownDelay", "50") ClickIt(796) ClickIt(827) ClickIt(860) ClickIt(893) ClickIt(926) ClickIt(958) Func ClickIt($x, $y = 386) MouseClick("primary", $x, $y, 1, 1) Sleep(500) MouseClick("primary", 707, 576, 1, 1) Sleep(1000) EndFunc Edited April 14, 2008 by duckling78 Link to comment Share on other sites More sharing options...
Gillboss Posted April 14, 2008 Author Share Posted April 14, 2008 so if its my project: MouseClick("Left" ,796,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,827,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,860,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,893,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,926,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) MouseClick("Left" ,958,386) Sleep(500) MouseClick("Left" ,707,576) Sleep(1000) how should it seem? ty Link to comment Share on other sites More sharing options...
duckling78 Posted April 14, 2008 Share Posted April 14, 2008 Add the following to the top of your script: Opt("MouseClickDelay", "50") Opt("MouseClickDownDelay", "50") Change the "50" to different values until the program you're trying to click in accepts your clicks more regularly. Link to comment Share on other sites More sharing options...
Gillboss Posted April 14, 2008 Author Share Posted April 14, 2008 well it slove but i have more problem: Send("1") Opt("MouseCoordMode", 1) MouseClick("Right",1000,71) Opt("MouseClickDownDelay", $Speed) Send("2") Opt("MouseCoordMode", 1) MouseClick("Right",1000,71) Opt("MouseClickDownDelay", $Speed) Send("3") Opt("MouseCoordMode", 1) MouseClick("Right",1000,71) Opt("MouseClickDownDelay", $Speed) the mouse move and click but the bot not send the numbers good.. Link to comment Share on other sites More sharing options...
duckling78 Posted April 14, 2008 Share Posted April 14, 2008 Try adding the following to the top of your script: Opt("SendKeyDownDelay", 50) Link to comment Share on other sites More sharing options...
Gillboss Posted April 14, 2008 Author Share Posted April 14, 2008 Thanks work!!!! You are Wise 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