Sign in to follow this  
Followers 0
flat5

Only 64KB of window text? Why?

7 posts in this topic

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?

Share this post


Link to post
Share on other sites



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!

Share this post


Link to post
Share on other sites

Afaik it is a windows limitation, not autoit.


Who else would I be?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :ph34r:

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0