lightwave Posted September 28, 2009 Share Posted September 28, 2009 Hi,I've started fiddling with the Tesseract OCR script from seangriffin which is great. Using his example code I created a very basic script using his _TesseractScreenCapture UDF which seems very simple to use:$ocrtest = _TesseractScreenCapture(0, "", 1, 2, 434, 299, 1243, 895, 1)Seems to work. Splendid! However then I came to use the _TesseractWinCapture UDF which takes two additional parameters "title", "text" prior to those parameters above. Whether I enter a window title or a handle, I always get the error:_WinAPI_CreateCompatibleBitmap: The parameter is incorrect.I searched the forums and didn't find anything related to this error. The good news is I suppose I'm doing something right as I run the script and it selects the window before throwing the error.Any help appreciated! Link to comment Share on other sites More sharing options...
Inverted Posted September 28, 2009 Share Posted September 28, 2009 Shouldn't you post in that thread, maybe the author will see it and help you directly. Link to comment Share on other sites More sharing options...
lightwave Posted September 28, 2009 Author Share Posted September 28, 2009 Shouldn't you post in that thread, maybe the author will see it and help you directly.I'd love to, but at the top of that forum it clearly states:This is not a general support forum!This is a more appropriate thread I believe, although I agree, I might get more focused eyeballs in the other thread. Nothing I can do about that really - just following the rules. Link to comment Share on other sites More sharing options...
Inverted Posted September 28, 2009 Share Posted September 28, 2009 I think that rule means that one shouldn't post new threads about questions they have. I'm pretty sure the thread of a "working script" is just there to provide support and discussion for that script ! 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