Aggro Posted November 12, 2018 Posted November 12, 2018 Hello, I have a question and would really appriciate it of you could answer me to help me resolve this issue. Is there any way to use PixelSearch to recognize things that are moving (not constantly in one spot). Thanks.
FrancescoDiMuro Posted November 12, 2018 Posted November 12, 2018 (edited) @Aggro It depends from what you are trying to automate Edited November 12, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
Aggro Posted November 12, 2018 Author Posted November 12, 2018 22 minutes ago, FrancescoDiMuro said: @Aggro It depends from what you are trying to automate Really just testing things out, made a basic VB app that has an icon going arround the window and testing if I can make autoit jump the mouse to it every 2 seconds. I'm a newbie and just experimenting..
Moderators JLogan3o13 Posted November 12, 2018 Moderators Posted November 12, 2018 So what have you tried on your own? If you are already working in a "basic VB app" which you created, why the switch to AutoIt? How about a screenshot of the app so we can see what you're trying to capture? Help us help you ***In case you missed it, this is a Mod stepping into a thread*** "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Nine Posted November 12, 2018 Posted November 12, 2018 If you are absolutely sure that the color of your PixelSearch doesn't appear anywhere else in the window : yes it would be possible. Otherwise you would need to do an image search... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Aggro Posted November 12, 2018 Author Posted November 12, 2018 29 minutes ago, JLogan3o13 said: So what have you tried on your own? If you are already working in a "basic VB app" which you created, why the switch to AutoIt? How about a screenshot of the app so we can see what you're trying to capture? Help us help you ***In case you missed it, this is a Mod stepping into a thread*** You can do some things easier in AutoIT than in VB. 29 minutes ago, Nine said: If you are absolutely sure that the color of your PixelSearch doesn't appear anywhere else in the window : yes it would be possible. Otherwise you would need to do an image search... That colour doesn't appear anywhere else in the window - how can I do it?
Nine Posted November 12, 2018 Posted November 12, 2018 read pixelsearch autoit help file, the function returns a x,y coordinate “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Moderators JLogan3o13 Posted November 12, 2018 Moderators Posted November 12, 2018 To all - not sure how the Moderation team can state it any more simply: When a Mod is active in a post - STAY OUT! This has been discussed ad nauseam, and yet people still don't think before they type. @Nine the first post came at the same time as my own, so I was willing to let that slide. You should have engaged the gray matter before the second post, however. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Hawlong Posted November 12, 2018 Posted November 12, 2018 Are the things you talk about exist in full screen or part of them?
Aggro Posted November 12, 2018 Author Posted November 12, 2018 Just now, Hawlong said: Are the things you talk about exist in full screen or part of them? It's windowed.
Moderators JLogan3o13 Posted November 12, 2018 Moderators Posted November 12, 2018 3 minutes ago, Hawlong said: Are the things you talk about exist in full screen or part of them? I seriously cannot understand the lack of common sense... @Aggro since you seem unwilling to provide a full answer to my questions above, this thread is locked until you do so via PM. Don't ask the question again. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts