BrewManNH Posted April 2, 2020 Share Posted April 2, 2020 Post your script that is having the problem, or a runnable example script that shows the issue for you and we will be able to help you with it. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Nine Posted April 2, 2020 Share Posted April 2, 2020 21 minutes ago, serena_knight said: redim $xy[2][1] PixelSearch returns a 1D array not a 2D like you seem to believe 12 minutes ago, serena_knight said: $xy = pixelsearch($ul,$top,$hrt,$bbot,0,1,$win) You are missing color code in there Your code is fully wrong with only a few lines, why do you think that we are skeptical about the rest of your script ? “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) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
serena_knight Posted April 2, 2020 Author Share Posted April 2, 2020 sorry i forgot to put in the color on the sample Link to comment Share on other sites More sharing options...
Bert Posted April 2, 2020 Share Posted April 2, 2020 Serena - is there some reason why you have to use pixel search? It is the WORST way to do what you are attempting. You have said you are trying to see what text is there and move the mouse to it. Have you made any attempt to hook into the control in question and just read it? There are MANY examples here in the forum on how to do it. Can you at least show a partial screenshot of the text you are trying to read? Maybe the name of the application? If you provided the name of the application then there is a very high chance there is ready made code for you to use and you don't have to beat your head against the wall trying to do this. So far you have had MANY people try to help you and your responses are NOT helping yourself. This isn't hard. Just answer our questions in this simple form: Quote Name of Application ______________________________________ Have you tried to hook into the control directly? YES or NO. Are you willing to show a screenshot of the application? YES or NO. (If yes to this question - please attach screenshot.) Help us help you. I will assume if you ignore all of what I'm saying then you are on your own. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Aelc Posted April 2, 2020 Share Posted April 2, 2020 1 hour ago, serena_knight said: the values of $ul, $top, $hrt, $bbot, $win ? for example 1 hour ago, serena_knight said: besides the problem of violating company policy there is the problem of coping anything off my remote access to my computer at work and then pasting it here, the company security system blocks any such copy/paste attempt. I would love to show you everything, can't well so you want to tell us you cant show us a code without breaking security rules? even if you delete the data which are for it? it seems like you don't want any help even if you asked for it why do i get garbage when i buy garbage bags? Link to comment Share on other sites More sharing options...
serena_knight Posted April 2, 2020 Author Share Posted April 2, 2020 (edited) how can i give you a script that runs and needs a webpage and the database behind it. all i want is a way to move a mouse pointer to a highlighted text like movemouse(highlighted text) is there anyway other than pixelsearch.? Edited April 2, 2020 by serena_knight Link to comment Share on other sites More sharing options...
serena_knight Posted April 2, 2020 Author Share Posted April 2, 2020 there is no answer on this site, i found some that asked what i am trying to do and there were no real answers, i have search for vbscript examples and there are none. there is a pixelsearch sample for vbscript, which is a little different than autoit. but that would be a pain to try,, thats it i give up will tell that user that that this script will not work, thanks for all the help Link to comment Share on other sites More sharing options...
Danp2 Posted April 2, 2020 Share Posted April 2, 2020 21 minutes ago, serena_knight said: how can i give you a script that runs and needs a webpage and the database behind it Why can't you put together a short "demonstration" script using a publicly available website (Google, Yahoo, etc)? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Bert Posted April 3, 2020 Share Posted April 3, 2020 11 hours ago, serena_knight said: there is no answer on this site, i found some that asked what i am trying to do and there were no real answers, i have search for vbscript examples and there are none. there is a pixelsearch sample for vbscript, which is a little different than autoit. but that would be a pain to try,, thats it i give up will tell that user that that this script will not work, thanks for all the help and I see you COMPLETELY ignored the simple questions I gave you. Seeing you are not even bothering to help yourself, I'm out. Aelc 1 The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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