Jump to content

Recommended Posts

Posted

I'm trying to run the same command that SciTe code editor runs, to run an au3 script in a Windows cmd window.
It runs, but it's weird. It runs in the background, the process isn't visible in task manager. And only if I close task manager it appears as "AutoIt Script" in task manager.
None of the ConsoleWrite outputs come through to the cmd window.

I have added C:\Program Files (x86)\AutoIt3\ to my system path.
I'm running it like this
"C:\Program Files (x86)\AutoIt3\autoit3_x64.exe" /ErrorStdOut "C:\blah\myscript.au3"

I do have this at the top of my script #AutoIt3Wrapper_Change2CUI=y

Backstory
I much prefer coding in Atom.io code editor. It has an addon that does syntax highlighting.
My atom.io editor is actually in Linux.
It has a terminal window.
I was hoping to SSH (or whatever one does to get onto a windows computer) in to the windows VM and then run the AutoIt3 script like that. Then ctrl-C to kill it.
So I can iterate like that.
So as a starting point I'm trying to run an au3 script in a Windows cmd window.

Posted (edited)

@Jos yes I thought that was probably the case but tried it anyway, because I was out of ideas.

Do you know how to run an au3 script in a cmd window and get the stdout and stderr in the cmd window?

Edited by lop3
make question clearer

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