kev51773 Posted February 15, 2022 Posted February 15, 2022 I need to be absolutely certain that I add a couple of lines to the start of every script I ever write before it's compiled. Is there any way I can automate this so that the compile process checks for the existence of these lines and either errors or automatically adds them if required. Anyone have any ideas how to achieve this? I'm running the full version of scite is this helps.
Nine Posted February 15, 2022 Posted February 15, 2022 #include "MyLines.au3" Maybe ? “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
Developers Jos Posted February 15, 2022 Developers Posted February 15, 2022 (edited) ...OR use an autoit3 script that does this task, which you run before the compiler process using the auroit3wrapper directies. Edited February 15, 2022 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
kev51773 Posted February 15, 2022 Author Posted February 15, 2022 I was trying to automate the process and enforce it. I'm forgetful and it's critcally important. I managed to figure it out. I modified AutoIt3Wrapper.au3 to check my scripts prior to doing anything else at all.
Developers Jos Posted February 15, 2022 Developers Posted February 15, 2022 Don't modify autoit3wrapper as that means you can't upgrade anymore but rather do as I indicated! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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