LibertyForAll Posted April 7, 2016 Share Posted April 7, 2016 I want to write some useful plugins for AutoIt, but these libraries will require AutoIt to support multi-threading in order for them to function or be useful, which unfortunately, to my knowledge it does not support. Are there any plans currently in place to bring multi-threading or object oriented support to the language? I know that we have AutoItObject which uses the IDispatch interface in COM, but there is currently no native object oriented support. Such an addition would be great and useful. Returning to the subject of multi-threading, I want to say in addition that some scripts might need to perform certain tasks while at the same time responding to GUI events, but in such a way that the event processing does not slow down the other tasks, and the other tasks do not slow down the event processing. Is there any way to deal with this? Link to comment Share on other sites More sharing options...
JohnOne Posted April 7, 2016 Share Posted April 7, 2016 No MT and no plans for it. In fact it has been explicitly stated it will not support it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
RTFC Posted April 7, 2016 Share Posted April 7, 2016 However, some of what you seek to achieve (event-driven GUI + background tasks) would be possible through multi-processing (not the same thing), with a shared memory space for exchanging data between various collaborating processes (look for inter-process communication solutions on this forum). AutoIt definitely supports multi-processing; you could even hook up several machines in a LAN to work together on a big task (see for example my pooled multi-processing tutorial in the Eigen4AutoIt environment). My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O Link to comment Share on other sites More sharing options...
water Posted April 7, 2016 Share Posted April 7, 2016 Things AutoIt will never do are described here: https://www.autoitscript.com/trac/autoit/wiki/AutoItNotOnToDoList My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki 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