Owendon Posted May 20, 2020 Posted May 20, 2020 hello, i have a problem with the coordinates of the mouseclick, what happens is that yesterday i develop a program that double-click a specific part and obtained a data, what happens is that today i run the program again and click on different coordinates, i review the coordinates of the screen again and these changed, someone can explain why this happens?
careca Posted May 20, 2020 Posted May 20, 2020 how did you obtain those coordinates? are they absolute? Maybe you got relative, and are expecting that they work as absolute.. can't tell Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
Owendon Posted May 20, 2020 Author Posted May 20, 2020 13 minutes ago, careca said: how did you obtain those coordinates? are they absolute? Maybe you got relative, and are expecting that they work as absolute.. can't tell First I got them with au3record, today reading I found that almost nobody recommended au3record then I got it with autoit window info, but what worries me is that it changes again, I explain a little better, the automation double clicks on a data, gives ctrl + c and this saves it in a variable that is later saved in a database. I apologize my english is not very good to say.
alienclone Posted May 21, 2020 Posted May 21, 2020 as careca mentioned, there are two different options for coordinates, there are absolute and relative. absolute refers to the screen, so no matter what is on the screen it will click the coordinates given. relative refers to the window of the program you are trying to click on, so no matter where the window of the program is positioned on the screen it will click the coords within the programs window. you can change which one your script uses with this option. If @error Then MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!") EndIf "Yeah yeah yeah patience, how long will that take?" -Ed Gruberman REAL search results | SciTE4AutoIt3 Editor Full Version
Bert Posted May 22, 2020 Posted May 22, 2020 you may want to try reading the control itself. That way is MUCH more stable. The Vollatran project My blog: http://www.vollysinterestingshit.com/
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