Sign in to follow this  
Followers 0
ChrisBarber

SciTE editor

7 posts in this topic

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

MPH,

Thanks, I'll give it a try.

Chris.

Share this post


Link to post
Share on other sites

Ah right then...

I recommend you install the full SciTE4AutoIt3 then, it has a lot of very good tools and you'll be able to use the above method.

Editor Page

Download page (you want the top installer)

It has everything you'll ever need ;)

Mat

Share this post


Link to post
Share on other sites

To all:

Thanks for all the help. I have it working just about the way I would like to have, even found out a few new tricks.

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  
Followers 0