SweatyOgre Posted June 2, 2004 Share Posted June 2, 2004 I can't figure it out for the life of me, especially since its a section of script Larry helped me with. Here's the error:Here's the code:$XY = PixelSearch(314, 192, 507, 389, 0x7898D8) Sleep(3500) MouseClick("left",$XY[0],$XY[1], 1, 0) Link to comment Share on other sites More sharing options...
CyberSlug Posted June 2, 2004 Share Posted June 2, 2004 You can copy the text of most message boxes to the clipboard by pressing Ctrl+C The result looks like the following: --------------------------- Sample --------------------------- Example message --------------------------- OK --------------------------- Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
SweatyOgre Posted June 3, 2004 Author Share Posted June 3, 2004 It gave me the error when i used @error, so I took it out, and it is giving me the same error, so I figured that wasn't the problem. Link to comment Share on other sites More sharing options...
SweatyOgre Posted June 5, 2004 Author Share Posted June 5, 2004 nobody knows what it is? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 5, 2004 Developers Share Posted June 5, 2004 (edited) did you try Larry's code ? The issue is that if the Pixelsearch fails, it doesn't return an Array and thus gives this error if you try to access it in that way. Edited June 5, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SweatyOgre Posted June 9, 2004 Author Share Posted June 9, 2004 I originally used Larry's code, and got the exact same error with it. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2004 Developers Share Posted June 9, 2004 I originally used Larry's code, and got the exact same error with it.just being persistent here: .... Larry's code look good...: you didn't change itat all and it give an error telling you that it isn't an Array ?? Sure you didn't put another statement between these lines: $XY = PixelSearch(314, 192, 507, 389, 0x7898D8) If Not @ERROR Then SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Nutster Posted June 13, 2004 Share Posted June 13, 2004 You can copy the text of most message boxes to the clipboard by pressing Ctrl+C The result looks like the following: --------------------------- Sample --------------------------- Example message --------------------------- OK ---------------------------:iamstupid: I can not get that to work in Windows 95 and 98. I do not know about other OS's. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... 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