flat5 Posted August 25, 2004 Posted August 25, 2004 I am trying to retrieve large amounts of a text from a window. For some reason, WinGetText states a 64KB limit that appears to be correct - after a certain size, the text becomes severely truncated (not to 64 KB, but much less, it seems). How do I get around this? Why this 64KB limitation?
Andre Posted August 25, 2004 Posted August 25, 2004 Hi, Perhaps an Windows Limit ? Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
this-is-me Posted August 25, 2004 Posted August 25, 2004 Afaik it is a windows limitation, not autoit. Who else would I be?
Administrators Jon Posted August 25, 2004 Administrators Posted August 25, 2004 IIRC the limit is 32KB for windows text. The APIs say that 64KB is the limit but we found that under windows 9x you get really odd and random crashes if you use > 32KB.
flat5 Posted August 25, 2004 Author Posted August 25, 2004 Afaik it is a windows limitation, not autoit. <{POST_SNAPBACK}>Hmm, well that is odd considering the window seems to have no trouble displaying the full amount of text. Only AutoIt has trouble retreiving it. I will have to check carefully to see if it is actually the 64KB limit I am running into. The symptom is that the text, at some size, comes back severely truncated. Thanks.
Administrators Jon Posted August 25, 2004 Administrators Posted August 25, 2004 Hmm, well that is odd considering the window seems to have no trouble displaying the full amount of text. Only AutoIt has trouble retreiving it. I will have to check carefully to see if it is actually the 64KB limit I am running into. The symptom is that the text, at some size, comes back severely truncated. Thanks. See: http://msdn.microsoft.com/library/en-us/wi.../wm_gettext.asp To get more text than that from a rich text control you have to use other means. We've never bothered to be honest as it's never been a major (or even minor) issue
Zest Posted October 4, 2004 Posted October 4, 2004 I'm sorry to reopen this thread, but I'm also desperate for a way to retrieve >32kb of text from a text window without having to use mouse input. (btw I have also experienced that IRL 32kb is the limit and not 64kb as stated in the manual.) Please do try to get rid of this limitation or try to increase the limit as much as possible! Or is there a workaround? for all the rest Autoit just rules! greetz!
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