Developers Jos Posted January 31, 2016 Developers Share Posted January 31, 2016 It does help when you download and install the Full SciTE4AutoIt3 package as that will help you avoiding errors since that will run au3check on each run. As to your RunWait: you are using doublequotes inside of a double quoted string so you need to double them like: Local $iReturn = RunWait(@ComSpec & " /c @powershell -NoProfile -ExecutionPolicy Bypass -Command ""iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin") 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. Link to comment Share on other sites More sharing options...
choward Posted January 31, 2016 Author Share Posted January 31, 2016 That did allow the command to run but I want it to be invisible and then output to the GUI. Which fails on line 10. Link to comment Share on other sites More sharing options...
Developers Jos Posted January 31, 2016 Developers Share Posted January 31, 2016 .. for that you need to look at Run() using the StdoutRead and StderrRead reading options and the parameter to hide the cmd window. 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. Link to comment Share on other sites More sharing options...
choward Posted January 31, 2016 Author Share Posted January 31, 2016 I think I'll probably just stick to the batch file. Link to comment Share on other sites More sharing options...
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