Jump to content
Sign in to follow this  
ChrisBarber

SciTE editor

Recommended Posts

I am a relatively new AutoIt user. I am currently using AutoIt to create a series of Console application (run from command line). is it possible to modify the Ctrl+F7 function to include the /console parameter?

Thanks for any help,

Chris.

Share this post


Link to post
Share on other sites

Add the following line to the top of your code:

#AutoIt3Wrapper_Change2CUI=y

SciTE uses a wrapper (Imaginatively called AutoIt3Wrapper) that acts as a pre-compiler (and post-compiler) that will allow you to do alot more than the standard Aut2Exe. I believe that that particular directive does not require the full SciTE4AutoIt3 package, but haven't tested so can't be sure.

Oh yes... And Welcome to the Forums ;)

Mat

Share this post


Link to post
Share on other sites

Mat,

Thanks for the tip, however, it did not work. When I click on the compile option or press Ctrl+F7 the following is displayed in the output window

>"C:\Program Files\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "D:\My Documents\My AutoIT\webvalidate.au3"

Which leads me to believe that the command is stored in a config file or something. I have looked at the Properties file and API file but neither have anything that looks likely.

Thanks for the welcome, I hope to be able to post some answers here instead of just questions.

Chris.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...