Jump to content

More of a compiler question


Recommended Posts

Hey guys!

Is there any way to make the Autoit compiler recognise user defined includes? I have a bunch of functions that I have written myself that I would like to have as an include for the certain task at hand. Is there any way that I can have autoit complete the syntax for me for my own defined functions (just like it does for msgbox, guiCTRLcreate, etc.)?

Thanks guys!

Link to comment
Share on other sites

  • Developers

:) Are you talking about the AutoComplete function of SciTE ?

If so, look at the SciTE4AutoIt3 Helpfile that comes with the full installer and look for "User Call Tips"

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

  • Developers

You can add them to the file called properties\au3.UserUdfs.properties and they will get the same color as the standard UDFs.

the layout of au3.UserUdfs.properties is:

;User UDFs 
au3.keywords.user.udfs=_test _test2 _test3 \
    _test4 _test5 _test6 _test7 _test8 \
    _test9

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...