The Kandie Man Posted March 28, 2006 Share Posted March 28, 2006 Anyway, the title says it all. I was just wondering why AutoIt has a limit of 4096 controls per window and if there is a chance that this limitation could be changed. "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
MHz Posted March 28, 2006 Share Posted March 28, 2006 Amusing count of old Gui.http://www.autoitscript.com/forum/index.ph...3&hl=limit&st=0Times certainly change with requirements. Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 28, 2006 Share Posted March 28, 2006 Are you running into the 4096 limit? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 28, 2006 Moderators Share Posted March 28, 2006 I'm curious if you are running into a 4096 limit... what in the world kind of GUI you've made... I can't imagine that many controls Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
greenmachine Posted March 28, 2006 Share Posted March 28, 2006 I'm curious if you are running into a 4096 limit... what in the world kind of GUI you've made... I can't imagine that many controls I got up to about 2100 on my Sudoku Solver, so I'm about halfway there. I could definitely see a listview getting that large (for example a file-searching engine listing out every picture or something). Link to comment Share on other sites More sharing options...
CyberSlug Posted March 28, 2006 Share Posted March 28, 2006 Amusing count of old Gui.http://www.autoitscript.com/forum/index.ph...3&hl=limit&st=0Nice find I'm curious if you are running into a 4096 limit... what in the world kind of GUI you've made... I can't imagine that many controls It's conceivable with ListView and Tree view since EACH List/TreeItem counts as one control.... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
The Kandie Man Posted March 28, 2006 Author Share Posted March 28, 2006 (edited) Yup, i am running into the limit big time. My Search Engine creates a list view item for every search result. If there is over 4000 search results the ones over 4000 are simply not displayed. If you would like to see it you can find it here:http://www.autoitscript.com/forum/index.php?showtopic=23815 Edited March 28, 2006 by The Kandie Man "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
Uten Posted March 28, 2006 Share Posted March 28, 2006 Yup, i am running into the limit big time. My Search Engine creates a list view item for every search result. If there is over 4000 search results the ones over 4000 are simply not displayed. If you would like to see it you can find it here:http://www.autoitscript.com/forum/index.php?showtopic=23815Just a thought. You probably to make your list view viritual. When the user scrols you have to keep track of it and update the list view. Google for samples in VB code doing just that (through API call's). Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
The Kandie Man Posted March 28, 2006 Author Share Posted March 28, 2006 Thanks i didn't know about that but i would rather try my best to stick with native AutoIt functions if possible. I want to make this program as portable as possible and having it lug a bunch of dll and other libraries with it defeats the point. I will give it a try if there is no other alternative though. "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
randallc Posted March 28, 2006 Share Posted March 28, 2006 Hi, @Kandiman, Did you see my "solution" without SQL in autoit Explorer (last link in my signature) ; uses same principles, but with its own scroll arrows and does not need external progs.. best, randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
The Kandie Man Posted March 28, 2006 Author Share Posted March 28, 2006 I downloaded it. I think it may be what i am looking for, but i keep getting errors when i run it. Autoit3Ex.au3 (23) : ==> Can not redeclare a constant.: Global Const $TVM_INSERTITEM = $TV_FIRST + 0 Global Const ^ ERROR "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
Lazycat Posted March 28, 2006 Share Posted March 28, 2006 Amusing count of old Gui.http://www.autoitscript.com/forum/index.ph...3&hl=limit&st=0LOL But when this topic was actual, GUI functions had not ListView and TreeView... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
randallc Posted March 28, 2006 Share Posted March 28, 2006 Hi,Autoit3Ex.au3 (23) : ==> Can not redeclare a constant.: Global Const $TVM_INSERTITEM = $TV_FIRST + 0 Global Const ^ ERRORI can reproduce that in beta 116, but it is OK still in 114!Go figure...Is this what happens to you too?Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
The Kandie Man Posted March 29, 2006 Author Share Posted March 29, 2006 Yup, that is what was happening. The version 114 is working but the newer 116 isn't. Does anyone know why the newer beta version is erroring out? "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
jpm Posted March 29, 2006 Share Posted March 29, 2006 Yup, that is what was happening. The version 114 is working but the newer 116 isn't. Does anyone know why the newer beta version is erroring out?I don't know what is wrong with your setup of AutoIt beta and Scite, but on mine it is working as a charm. You must see the au3check version equal to 1.54.1.1>Running AU3Check (1.54.1.1) params: from:F:\Program Files\AutoIt3\beta +>AU3Check ended.rc:0 >Running:(3.1.1.116):F:\Program Files\AutoIt3\beta\autoit3.exe "F:\Documents and Settings\Administrator\Desktop\SearchEngine\src\search engine 1.5.1.9b10.au3" When you report problem don't forget this version line. you need to check too the version of GUIListview.au3 (1st line ot it) Link to comment Share on other sites More sharing options...
randallc Posted March 29, 2006 Share Posted March 29, 2006 (edited) Hi,I tried a clean install.1. autoit3 3.1.1 production.2. Scite4AutoIt3. beta 116 (others OK at least to 114i get all sorts of errors ;;Example with this one;>"C:\Program Files\AutoIt3\SciTe\CompileAU3\CompileAU3.exe" /run /beta /ErrorStdOut /in "C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams >Running AU3Check (1.54.1.1) params: from:C:\Program Files\AutoIt3\betaC:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(23,47) : ERROR: $TVM_INSERTITEM previously declared as a 'Const'Global Const $TVM_INSERTITEM = $TV_FIRST + 0~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(25,49) : ERROR: $TVM_SETIMAGELIST previously declared as a 'Const'Global Const $TVM_SETIMAGELIST = $TV_FIRST + 9~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(26,46) : ERROR: $TVM_SETITEM previously declared as a 'Const'Global Const $TVM_SETITEM = $TV_FIRST + 13~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(28,41) : ERROR: $TVI_FIRST previously declared as a 'Const'Global Const $TVI_FIRST = 0xFFFF0001~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(30,37) : ERROR: $TVIF_IMAGE previously declared as a 'Const'Global Const $TVIF_IMAGE = 0x0002~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(31,38) : ERROR: $TVIF_HANDLE previously declared as a 'Const'Global Const $TVIF_HANDLE = 0x0010~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(32,43) : ERROR: $TVIF_SELECTEDIMAGE previously declared as a 'Const'Global Const $TVIF_SELECTEDIMAGE = 0x0020~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(33,40) : ERROR: $TVIF_CHILDREN previously declared as a 'Const'Global Const $TVIF_CHILDREN = 0x0040~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(35,36) : ERROR: $TVIS_CUT previously declared as a 'Const'Global Const $TVIS_CUT = 0x0004~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(36,42) : ERROR: $TVIS_DROPHILITED previously declared as a 'Const'Global Const $TVIS_DROPHILITED = 0x0008~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(37,37) : ERROR: $TVIS_BOLD previously declared as a 'Const'Global Const $TVIS_BOLD = 0x0010~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(38,40) : ERROR: $TVIS_EXPANDED previously declared as a 'Const'Global Const $TVIS_EXPANDED = 0x0020~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(40,37) : ERROR: $TVGN_ROOT previously declared as a 'Const'Global Const $TVGN_ROOT = 0x0000~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3 - 13 error(s), 0 warning(s)!>AU3Check ended.rc:2>Exit code: 0 Time: 19.970What am I doing wrong with a clean install?Have you tried this?Best, Randall.PSC:\Program Files\AutoIt3\beta\Include\GUIListView; Include Version:1.56 (3/14/2006)Edit; I have got the Scite version right now; edited above; so all versions look correct? n'est-ce pas? Edited March 29, 2006 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
jpm Posted March 29, 2006 Share Posted March 29, 2006 (edited) are you installing with the setup.exe or with the .zip?the only difference I can see is I do1. 3.1.12. 3.1.1.1163. Scite4. Scite updateedit:all with setup.exeThat's a question for JdeB I cannot really answer of what can be wrong with what you are doing Edited March 29, 2006 by jpm Link to comment Share on other sites More sharing options...
Danny35d Posted March 29, 2006 Share Posted March 29, 2006 (edited) "C:\Program Files\AutoIt3\SciTe\CompileAU3\CompileAU3.exe" /run /beta /ErrorStdOut /in "C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams >Running AU3Check (1.54.1.1) params: from:C:\Program Files\AutoIt3\betaC:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(23,47) : ERROR: $TVM_INSERTITEM previously declared as a 'Const'Global Const $TVM_INSERTITEM = $TV_FIRST + 0~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(25,49) : ERROR: $TVM_SETIMAGELIST previously declared as a 'Const'Global Const $TVM_SETIMAGELIST = $TV_FIRST + 9~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(26,46) : ERROR: $TVM_SETITEM previously declared as a 'Const'Global Const $TVM_SETITEM = $TV_FIRST + 13~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(28,41) : ERROR: $TVI_FIRST previously declared as a 'Const'Global Const $TVI_FIRST = 0xFFFF0001~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(30,37) : ERROR: $TVIF_IMAGE previously declared as a 'Const'Global Const $TVIF_IMAGE = 0x0002~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(31,38) : ERROR: $TVIF_HANDLE previously declared as a 'Const'Global Const $TVIF_HANDLE = 0x0010~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(32,43) : ERROR: $TVIF_SELECTEDIMAGE previously declared as a 'Const'Global Const $TVIF_SELECTEDIMAGE = 0x0020~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(33,40) : ERROR: $TVIF_CHILDREN previously declared as a 'Const'Global Const $TVIF_CHILDREN = 0x0040~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(35,36) : ERROR: $TVIS_CUT previously declared as a 'Const'Global Const $TVIS_CUT = 0x0004~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(36,42) : ERROR: $TVIS_DROPHILITED previously declared as a 'Const'Global Const $TVIS_DROPHILITED = 0x0008~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(37,37) : ERROR: $TVIS_BOLD previously declared as a 'Const'Global Const $TVIS_BOLD = 0x0010~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(38,40) : ERROR: $TVIS_EXPANDED previously declared as a 'Const'Global Const $TVIS_EXPANDED = 0x0020~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3(40,37) : ERROR: $TVGN_ROOT previously declared as a 'Const'Global Const $TVGN_ROOT = 0x0000~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^C:\Program Files\AU3PROGS\SearchEngine\Autoit3Ex.au3 - 13 error(s), 0 warning(s)!>AU3Check ended.rc:2>Exit code: 0 Time: 19.970Hi randllac, I have the same errors when I used the latest beta 116, I also notice that GUITreeView.au3 was updated and alredy include all those varibables. Once you remark those line your script work fine.Edit: This is the link about the new updates Edited March 29, 2006 by Danny35d AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line 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