The Script Runner project consists of multiple scripts designed to work together for monitoring directories, processing files, and automating tasks. The key scripts include _scriptrunner.py, mover.py, WatchCharm.py, and autopy.py.
- Script Runner: Runs multiple Python scripts concurrently.
- Process Management: Starts all specified scripts and waits for them to complete.
- File Monitoring: Monitors a specified source directory for new
.txtfiles. - File Moving: Moves new
.txtfiles to a specified destination directory.
- File Monitoring: Monitors a specified directory for new files.
- File Processing:
- Extracts file extensions from the first line of
.txtfiles. - Moves files to appropriate directories based on extracted extensions.
- Handles files without valid extensions and moves them to a 'processed' directory.
- Extracts file extensions from the first line of
- File Monitoring: Monitors a specified directory for new
.pyfiles. - Script Execution: Automatically runs new Python scripts upon detection.
- Real-Time Logging: Captures console output in real-time and saves it to a log file.
- Desktop Image Capture: Takes a screenshot of the desktop after running the script.
-
Set Up Environment:
- Ensure all required dependencies are installed.
- Modify paths in the scripts to suit your directory structure.
-
Run _scriptrunner.py:
python _scriptrunner.py
-
Monitor Directories:
- The scripts will automatically monitor and process files in the specified directories.
- Enhanced Error Handling: Improve error messages and provide options for recovery.
- Customizable Configurations: Allow users to configure directories, file types, and other settings.
- Additional File Types: Extend support for more file types and processing rules.
- Advanced Logging: Implement more sophisticated logging mechanisms.
- Performance Optimization: Optimize the scripts for faster and more efficient file processing.
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
This project is licensed under the MIT License.