aiter Posted March 12, 2018 Share Posted March 12, 2018 Is there a way to show more than 1 occurence of _ArrayDisplay? I cannot show more than 1 occurence. I have to close the existing occurence before I can view another one. Link to comment Share on other sites More sharing options...
jchd Posted March 12, 2018 Share Posted March 12, 2018 AutoIt being mono-threaded, it isn't possible. What you could do is create your own _ArrayDisplay-looking GUI with all bells and whistles you need and invoke _ArrayDisplay separately. Earthshine 1 This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
KickStarter15 Posted March 12, 2018 Share Posted March 12, 2018 @aiter, Can you provide your code for us to check? Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. Link to comment Share on other sites More sharing options...
jchd Posted March 12, 2018 Share Posted March 12, 2018 I'd add that since _ArrayDisplay internally uses its own message loop, you would have to handle your own array GUI in event mode (2 message loops can't be used at once). This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
orbs Posted March 12, 2018 Share Posted March 12, 2018 another alternative: instead of _ArrayDisplay, write the array to a text file, and ShellExecute that file. so your script can go on about its business while you can view side-by-side as many arrays as you want. you can improve on that by writing the arrays to CSV files, then open several such files inside one Excel workbook. Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
LarsJ Posted March 12, 2018 Share Posted March 12, 2018 The new _DebugArrayDisplay has built-in functionality to do exactly that: #include <Debug.au3> Global $aArray1 = [ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ] Global $aArray2 = [ 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 ] Global $aArray3 = [ 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 ] _DebugArrayDisplay( $aArray1, "$aArray1", "", 0, Default, Default, Default, ShowArray2 ) Func ShowArray2( $p1, $p2 ) _DebugArrayDisplay( $aArray2, "$aArray2", "", 0, Default, Default, Default, ShowArray3 ) EndFunc Func ShowArray3( $p1, $p2 ) _DebugArrayDisplay( $aArray3, "$aArray3" ) EndFunc Decibel and iamtheky 1 1 Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions 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