Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Automatically include the #include

$
0
0
Sorry for the stupid title but i don't know how to call it ( and how to search it )

I have three question based on the same subject

FIRST If i have a script like:
[ autoit ]      
And i'll try to execute i have an error because i don't have add at the top:
[ autoit ]      
#include <Misc.au3> ; >>>>>>>>>>> THIS! If _IsPressed("10") Then ConsoleWrite("OK")
It's possible to add automatically the required #include without write it manually?

SECOND If i have a script like:
[ autoit ]      
#include <ProgressConstants.au3> ; unnecessary #include <ListViewConstants.au3> ; unnecessary #include <WindowsConstants.au3> ; unnecessary #include <GUIConstantsEx.au3> ; unnecessary #include <GUIConstants.au3> ; unnecessary #include <GuiListView.au3> ; unnecessary #include <Constants.au3> ; unnecessary #include <GuiEdit.au3> ; unnecessary #include <WinAPI.au3> ; unnecessary #include <Array.au3> ; unnecessary #include <Date.au3> ; unnecessary #include <File.au3> ; unnecessary #include <Misc.au3> ; I NEED THIS ONLY! If _IsPressed("10") Then ConsoleWrite("OK")
It's possible to remove automatically the unecessary #include?

THIRD Based on the script of the second question, if i have add to a script an unecessary #include but in the script i don't have "call" it, it's just one line of unecessary code or in the build i have all the include file?

I have the last stable + scite full.
Thanks for the help

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>