Jump to content

Recommended Posts

Posted

Hi

Is there a switch to check if Autoit it is compiled, so I can test is the running autoit is compiled or interpreted.

e.g.

if compiled then

....

Posted

Sure. Check macro @Compiled: Returns 1 if script is a compiled executable; otherwise, returns 0.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Maybe naive quest but why and when we check if Autoit is compiled or interpreted.

I dont get it..

Thanks

[font="verdana, geneva, sans-serif"] [/font]

Posted

@Compiled returns 1 if the script is a compiled exe file, and 0 if run (interpreted) from SciTE.

This can be useful if you want to run some functions (check authorization etc.) when run on a customers PC as an exe but suppress the function when you develop and run the script from SciTE.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
;)

My UDFs and Tutorials:

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

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