Jump to content

Recommended Posts

Posted

I can run a script from the cmd box just by typing the the name of the script, such as "MyScript.au3", but I don't get any output from consolewrite() commands. Google suggested I could pipe the output to more, but this:

MyScript.au3 | more

didn't work.

Any suggestions? I want to be able to see the line numbers when bugs crop up, but I also want to be able to see the consolewrite() output. If I compile, I get the output, but not line numbers.

Posted

I created mystub.exe, put that and the test1.au3 file in the folder with autoit3.exe and nothing happens, I end up with a ready and waiting command prompt with no "hallo" being output.

Quote

 

C:\AutoIt>mystub.exe /AutoIt3ExecuteScript test1.au3

C:\AutoIt>

 

 

  • Developers
Posted

Yes that could be the case since a default was changed since then not to allow to use an compiled script as stub.
Add this line to your stub to change that default and recompile the stub:

#pragma compile(AutoItExecuteAllowed, true)

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

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