SoW Posted March 2, 2007 Posted March 2, 2007 I am not at home at the moment, so I do not have the code, but I am wondering what variable type or what to write as the variable code or something for a variable that is going to hold a lot of text (maybe 200+?). It will also haev special characters such as hyphens (-) and percent signs (%). I was using FileReadLine and stored it as a variable and showed it in my GUI List like GUICtrlCreateListViewitem() <-- using that -- But it dislpays the line, and cuts off so I have to drag the bar over to the right. Except, when I start dragging the bar, it does not show more of the text, it just makes the text disappear! Help!
lod3n Posted March 2, 2007 Posted March 2, 2007 (edited) As per the FAQ:http://www.autoitscript.com/autoit3/docs/faq.htm15. What are the current technical limits of AutoIt v3?Here are details of the current technical limits of AutoIt. Please note that some of the limits are theoretical and you may run into performance or memory related problems before you reach the actual limit. Maximum length of a single script line: 4,095Maximum string length: 2,147,483,647 charactersNumber range (floating point): 1.7E–308 to 1.7E+308 with 15-digit precisionNumber range (integers): 64-bit signed integerHexadecimal numbers: 32-bit signed integer (0x80000000 to 0x7FFFFFFF)Arrays: A maximum of 64 dimensions and/or a total of 16 million elementsMaximum depth of recursive function calls: 384 levelsSimultaneous open files: 64Simultaneous active HotKeys: 64Maximum number of variables in use at one time: No limitMaximum number of user defined functions: No limitMaximum number of GUI windows: 1024Maximum number of GUI controls per window: 4096So you've got some room to work with there. So it sounds like there might be a problem with your GUI. Post the code here when you get back home. Edited March 2, 2007 by lod3n [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
lod3n Posted March 2, 2007 Posted March 2, 2007 Ooh, did a little research, looks like a limitation on Windows' Listview control:http://www.thescripts.com/forum/thread364645.htmlWhy the length of the text of listview item is limited to 259 character isbecause that the listview is design for display collection of objects likefiles and not for general purpose control. So it is similar to the filenamelength limitation in the windows file system's MAX_PATH.So you are going to need to use something else to display your data. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
SoW Posted March 2, 2007 Author Posted March 2, 2007 Thanks for the help, now I need to figure out what to use.
lod3n Posted March 2, 2007 Posted March 2, 2007 Well, you could keep it as it is, but put a GUICtrlCreateEdit at the bottom, which shows the long string when you click on the listview item. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
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