Jump to content

Recommended Posts

Posted

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?

Posted

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!
  • Administrators
Posted

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.


 

Posted

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
Posted

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:


 

  • 1 month later...
Posted

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!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...