lop3 Posted June 21, 2019 Posted June 21, 2019 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.
Developers Jos Posted June 21, 2019 Developers Posted June 21, 2019 9 minutes ago, lop3 said: #AutoIt3Wrapper_Change2CUI=y This is only for compiling, not running the script! 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.
lop3 Posted June 22, 2019 Author Posted June 22, 2019 (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 June 25, 2019 by lop3 make question clearer
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now