armando7712 Posted November 4, 2023 Share Posted November 4, 2023 Dear friends, I need to create an application with a ListView where data will be loaded and updated every x seconds. I wanted to understand if AutoIt can achieve this because I also need to process the data inside the ListView simultaneously with the data updates. I thought that perhaps a multithreaded language might be required, or if AutoIt can handle it in some way. Could you please advise me on the best way to proceed? Thanks you. Link to comment Share on other sites More sharing options...
Andreik Posted November 4, 2023 Share Posted November 4, 2023 Your description it's not very detailed and it really depends on how data is updated and processed. But generally if you have large sets of data to update and also to process data simultaneously a multithreaded language might be more appropriate. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
armando7712 Posted November 4, 2023 Author Share Posted November 4, 2023 Thank you, I suspected that it couldn't be done in AutoIt and that a programming language with stronger multithreading capabilities was needed. Link to comment Share on other sites More sharing options...
jchd Posted November 4, 2023 Share Posted November 4, 2023 My guess is that for refreshing moderate volume data "every x seconds" AutoIt is more than sufficient, unless x < 0.1 but then what the heck a ListView? 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...
Andreik Posted November 5, 2023 Share Posted November 5, 2023 13 hours ago, armando7712 said: Thank you, I suspected that it couldn't be done in AutoIt and that a programming language with stronger multithreading capabilities was needed. I didn't said that it cannot be done in AutoIt. Give us more details so we can give you a more precise answer. Dan_555 1 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
armando7712 Posted November 6, 2023 Author Share Posted November 6, 2023 I have noticed that AutoIt is not multithreaded, even though I have seen some attempts to make it so. In practice, I need to manage a data stream in blocks of 13 data points. There can be anywhere from 1 block of 13 to 100 blocks of 13. Within these blocks, the data points vary randomly over time. I need to be able to populate them into a ListView based on a logic provided in a comment within the blocks. While one thread updates the ListView data, I also need to perform operations on the ListView and the received data. However, I don't think this can be achieved with AutoIt. I believe it would be easier to use a more structured programming language. Link to comment Share on other sites More sharing options...
jchd Posted November 6, 2023 Share Posted November 6, 2023 (edited) Your choice, but nothing seems to preclude using AutoIt. What is the expected refresh rate of the input data stream/listview? How much times does it take for a human user of the listview to view/select/pick item(s) within anything between 13 and 1300 lines? Anyway, multithreading is evil. Edited November 6, 2023 by jchd 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...
armando7712 Posted November 6, 2023 Author Share Posted November 6, 2023 o thanks i know is fu... evil a multi. but is necessary because i have in some time high frequently refresh rate and i must use in simultaneous with the guy Link to comment Share on other sites More sharing options...
jchd Posted November 6, 2023 Share Posted November 6, 2023 And the user will be able to monitor and act upon a largish listview at high frequently refresh rate ? Rain man to the rescue! RTFC 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...
armando7712 Posted November 6, 2023 Author Share Posted November 6, 2023 yes because not all part of stream data change you can see increase something and when you want you will apply mod at line , but dont worry i try in python also i dont like ufff but thanks so much for suggest Link to comment Share on other sites More sharing options...
jchd Posted November 6, 2023 Share Posted November 6, 2023 Wish you best of luck with your project. 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...
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