xgjengen Posted February 3, 2017 Share Posted February 3, 2017 Hey guys! Im new when it comes to scripting and i follow some videos on how to make clicks and such. So i will say i know the basics alrady. However, im having a really big problem When i run the script is works fine with the clicks and all. But if i run it one or two more times it just moves to very inaccurate positions. YES, i have tried mulitple times to change positions and such but no luck. My script is working its just so inaccurate that im unable to use it. Are there any solution for this? Im trying to make a macro for runescape btw. I have also set the camera to a specific position. I have also tried other camera angles, no luck there either. Making more smoother macro movements does not seem to work aswell. I have also tried to have clicks away from the minimap, since i know some youtuber had problem with inaccuracy because of this. I came here because i was googling and did not see anyone else having this problem, or mentioning it. So if someone have a solution, i would be happy!! All i have seen are people trying to change the resolution. But it has nothing to do with that. Link to comment Share on other sites More sharing options...
jdelaney Posted February 3, 2017 Share Posted February 3, 2017 (edited) ControlClick is 100% accurate as long as the control and window are enabled (and sometimes required to be active) and ready to pick up the clicks...some apps require a longer click to get to that though, via AutoItSetOption. MouseClick and Send are not going to be a reliable way to get a repeatable script. With the above as a general statement, it would help to know what is being automated, a sample script, etc. Edited February 3, 2017 by jdelaney xgjengen 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
xgjengen Posted February 3, 2017 Author Share Posted February 3, 2017 (edited) Hi and thanks for such a fast answer! Im making a script for runescape. Im just testing it out before im really going to work big time on it My script looks like this. It is atm pretty short. What it is basicly going to do is to go into a resetangle. Wich means its going to position correctly. This works great, and i have never had problems. But the Func Dooropen is the one i have all the inaccurate problems with <snip> Edited February 3, 2017 by Melba23 Code removed Link to comment Share on other sites More sharing options...
xgjengen Posted February 3, 2017 Author Share Posted February 3, 2017 15 minutes ago, jdelaney said: ControlClick is 100% accurate as long as the control and window are enabled (and sometimes required to be active) and ready to pick up the clicks...some apps require a longer click to get to that though, via AutoItSetOption. MouseClick and Send are not going to be a reliable way to get a repeatable script. With the above as a general statement, it would help to know what is being automated, a sample script, etc. I have tried to change the mouseclick positions many times. I have also tried other macro programs where no scripting is needed and still inaccurate. Link to comment Share on other sites More sharing options...
Somerset Posted February 3, 2017 Share Posted February 3, 2017 reported. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 3, 2017 Moderators Share Posted February 3, 2017 xgjengen, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts