mike1950r Posted April 18, 2023 Share Posted April 18, 2023 (edited) Hi, we have a lot of scripts with same personal library included. In the library is ONE error. When we check the scripts one after one Au3Check.exe reports the library error again for every script. How can we make Au3Check.exe to report this library error only ONCE? Thanks for assistance. cheers mike Edited April 18, 2023 by mike1950r Link to comment Share on other sites More sharing options...
water Posted April 18, 2023 Share Posted April 18, 2023 Why not check the library first and when there are no errors then check all scripts using the library? AutoBert 1 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...
Moderators Melba23 Posted April 18, 2023 Moderators Share Posted April 18, 2023 (edited) mike1950r, Surely the thing to do is to correct the "personal library" to remove the error causing the problem? M23 Edit: water beat me to it! Edited April 18, 2023 by Melba23 AutoBert 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
mike1950r Posted April 18, 2023 Author Share Posted April 18, 2023 Hello, thanks for answering.So there is no way to make Au3Check.exe to check the library included in every script only once? This is a pitty. Thanks anyway. Cheers mike Link to comment Share on other sites More sharing options...
argumentum Posted April 18, 2023 Share Posted April 18, 2023 23 minutes ago, mike1950r said: In the library is ONE error. ... Au3Check.exe reports the library error again for every script. ... How can we make Au3Check.exe to report this library error only ONCE? Interesting. You'd like to: 1) keep the code as is ? 2) don't flood the console with a list that overwhelms the console due to just one line ? 3) skip the function that you know it works even tho it shows as error ? My question is, what is your exact circumstance and desire ?. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted April 18, 2023 Share Posted April 18, 2023 ..in any case, you can read up regarding these: #Au3Stripper_Off Stop the Stripping process below this line #Au3Stripper_On Start the Stripping process below this line #Au3Stripper_Ignore_Funcs= Do not Strip these functions. FuncNames may end with an * to indicated matching FuncNames starting with the specified string. #Au3Stripper_Ignore_Variables= Do not Strip these variables. VarNames may end with an * to indicated matching VarNames starting with the specified string. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
AutoBert Posted April 18, 2023 Share Posted April 18, 2023 11 minutes ago, mike1950r said: So there is no way to make Au3Check.exe to check the library included in every script only once? Using #include-once at top of the library should help. Read https://www.autoitscript.com/wiki/Best_coding_practices#Include-once_directive before. Link to comment Share on other sites More sharing options...
mike1950r Posted April 18, 2023 Author Share Posted April 18, 2023 Hi AutoBert, I have included "#include-once" at top inside the library. But this does not solve my issue. Cheers mike 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