phuocvovan Posted December 13, 2016 Posted December 13, 2016 (edited) Hi guys. I got some problems with Pixelsearch. $coord = PixelSearch(0, 0, @DesktopWidth,@DesktopHeight , 0xFFF200) If Not @error Then $handle = WinGetHandle("D-com 3G","") MouseClick("primary", $coord[0], $coord[1], 1, 0) EndIf It was working well on my pc. But when i bring it to another computer. It wasn't working correctly. I think the problem related to the resolution of the screen. I used windows with 100% size of text,apps, and other item. It worked correctly. But when i change to 125 %. It didn't work Thanks in advance Edited December 13, 2016 by phuocvovan
careca Posted December 13, 2016 Posted December 13, 2016 What happens if you add some shade variation? also, how did you get the color? in case you dont know, the autoit info tool retrieves the color in the "mouse" tab. But i suppose that if it worked in another pc... 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
phuocvovan Posted December 13, 2016 Author Posted December 13, 2016 26 minutes ago, careca said: What happens if you add some shade variation? also, how did you get the color? in case you dont know, the autoit info tool retrieves the color in the "mouse" tab. But i suppose that if it worked in another pc... I used Autoit info. That application is too funny. when i am 100% screen. autoit info can get hex color . But when it is 125 %. It's can't get
Bert Posted December 13, 2016 Posted December 13, 2016 PixelSearch is horribly unreliable as you have experienced. May I suggest a different approach? Take a look at this: 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