Jump to content

Simple & newbie question


gahhon
 Share

Recommended Posts

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\..\Downloads\ALlogo.ico
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Res_HiDpi=y
#AutoIt3Wrapper_Run_Au3Stripper=y
#Au3Stripper_Parameters=/so /rm /pe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

I found out that a lot of sources provided by AutoIT members like what I am recently using is the Metro UDF.

On top of it, it always written the Region of code and red color. Then it also assign some value into some variable.

May I know, what are their use and what is the purpose of doing?

If I remove them, will affect the application?

Thanks

Link to comment
Share on other sites

  • Developers

Those are directive for the AutoIt3Wrapper I wrote and is part of the full SciTE4AutoIt3 installer: https://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3.html

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.
  :)

Link to comment
Share on other sites

9 minutes ago, FrancescoDiMuro said:

@gahhon
The AutoIt3Wrapper Directives change the way your script works.
You can find more about here (what do they mean/are and how to use them) :)

 

 

8 minutes ago, Jos said:

Those are directive for the AutoIt3Wrapper I wrote and is part of the full SciTE4AutoIt3 installer: https://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3.html

Jos

I think I can understand more already.

So the #Region is basically allow you to folding the code within of it.
Then whereas the AutoIt3Wrapper is to do the configuration.

Thanks a lot

Link to comment
Share on other sites

  • Developers

#region is an SciTE AU3Lexer directive which actually doesn't do much other than easy folding a whole block of code. ;) 

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.
  :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...