danny0 Posted January 4, 2009 Share Posted January 4, 2009 I have checked my check function and I know it works as it should. Now I am trying to find a value in a row, column, or cell if every box except one is filled. This is done by my FindBlank function. It almost works. I have found the missing number, but I don't know how to place that number in the correct box. Can someone please help. I am also open to ideas to make my script easier to read.Sudoku_Solver.au3 Link to comment Share on other sites More sharing options...
Achilles Posted January 4, 2009 Share Posted January 4, 2009 Try GUICtrlSetData.. I haven't looked at your code but use that to set data in an input box. You can find an example in the helpfile. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
danny0 Posted January 4, 2009 Author Share Posted January 4, 2009 Thank you for your time, but I also need to identify the correct box. I don't know how to do that. Link to comment Share on other sites More sharing options...
GEOSoft Posted January 4, 2009 Share Posted January 4, 2009 If you search Example scripts, there are a couple of Sudok solvers. You could see how they handled the problem. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
danny0 Posted January 4, 2009 Author Share Posted January 4, 2009 I've looked at all of them. Most of them only work some of the time. The ones that work are too complicated for me to understand. I'm just a beginner. I need help with my script and understanding what needed to be done and why. Link to comment Share on other sites More sharing options...
system24 Posted January 4, 2009 Share Posted January 4, 2009 A look on this may help. [center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center] Link to comment Share on other sites More sharing options...
danny0 Posted January 4, 2009 Author Share Posted January 4, 2009 Wow! Thanks. This will help me solve it, but I still have the problem of recording the answer. I need help with that. 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