AutoFan Posted April 23, 2020 Posted April 23, 2020 Is it possible to do something like this ? #include "%AUTOIT_LIBRARY%\mylib.au3" with %AUTOIT_LIBRARY% is an environment variable defined as "C:\Mycode\AUTOIT_LIBRARY"
Nine Posted April 23, 2020 Posted April 23, 2020 No, if you read the help file about the topic #include, it clearly states that you cannot use any kind of variables into it. But you can use what was discussed earlier in this thread. “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
AutoFan Posted April 24, 2020 Author Posted April 24, 2020 On 4/22/2020 at 9:11 PM, Nine said: No, if you read the help file about the topic #include, it clearly states that you cannot use any kind of variables into it. But you can use what was discussed earlier in this thread. Thanks for the link!
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