johannaguzman Posted 14 hours ago Posted 14 hours ago I’m working on an AutoIt script that automates several file-processing tasks, such as renaming files, moving them to different folders, and extracting data from text files. The script works well when handling a small number of files, but it becomes noticeably slower when processing hundreds of files at once. I’m looking for advice on how to make the script more efficient for larger batches. What are the best practices for optimizing file handling in AutoIt? For example, are there better ways to loop through files, read and write text data, or reduce unnecessary disk operations? Would multithreading be useful in this case, or is there a better approach for improving performance in AutoIt? Any guidance, optimization tips, or sample scripts would be greatly appreciated.
Nine Posted 13 hours ago Posted 13 hours ago @johannaguzman Welcome to the forum. Hard to say without seeing your code. Maybe your script isn't optimized yet. Renaming/moving files are very fast, so I suppose extracting data from text files is the issue in your code... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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