-
Posts
34,987 -
Joined
-
Days Won
351
Jos last won the day on April 3
Jos had the most liked content!
About Jos

Profile Information
-
Member Title
Je maintiendrai
Jos's Achievements
-
[Run] Right way to loop-read StdOut?
Jos replied to littlebigman's topic in AutoIt General Help and Support
Excuse me when you find my previous reply offensive, which isn't intended, but since AI the RTFM has been buried somewhere deep! 😉 anyway, F5/help would have told you that. 🙂 -
[Run] Right way to loop-read StdOut?
Jos replied to littlebigman's topic in AutoIt General Help and Support
It really helps when you also try to understand code before running it. 😉 The @error test is all about "as long as there is a valid RUN() session" keep this loop running. -
[Run] Right way to loop-read StdOut?
Jos replied to littlebigman's topic in AutoIt General Help and Support
That is what your script tells it to do, to repeat the same thing over and over again and also add CRLF when nothing is received. Try: #include <AutoItConstants.au3> $sCMD = @ComSpec & " /c DIR" Local $tline = "" Local $foo = Run($sCMD , "C:\", @SW_SHOW, BitOR($STDERR_CHILD, $STDOUT_CHILD)) While Not @error $cline = StdoutRead($foo) if $cline <> "" Then $tline &= $cline ConsoleWrite($cline) EndIf WEnd ConsoleWrite("Final STDOUT read:" & $tline & @CRLF) ConsoleWrite("Stderr Read:" & StderrRead($foo) & @CRLF) -
isn't opening a folder the same as relaunching? I assume you what explorer to start without showing the window?
-
Xandy reacted to a post in a topic:
SciTE > VScode migration
-
donnyh13 reacted to a post in a topic:
SciTE > VScode migration
-
Just my 2 cents: vsc doesn't have any dynamic autocomplete like i made in the latest version of the lua script, but it can add, as mentioned, the missing includes at the top by using the stuff that is buildin into autoit3wrapper for some years now. For me, on the odd occasion I do some au3 coding, the standard autocomplete in VS Code is in 90% of the cases good enough, and then I trigger the missing includes to get that part done.
-
Works fine for me, so your case must be different. You are sure the code is exactly what you use to test with?
-
Danyfirex reacted to a post in a topic:
Calling one compiled AutoIt script from another compiled script: Pros and Cons
-
donnyh13 reacted to a post in a topic:
Help File/Documentation Issues. (Discussion Only)
-
mLipok reacted to a post in a topic:
Help File/Documentation Issues. (Discussion Only)
-
Help File/Documentation Issues. (Discussion Only)
Jos replied to guinness's topic in AutoIt Technical Discussion
Thought it was in the "Language Reference - Directives" section... guess i was wrong, so that might be a good place to make a general comment about lines starting with # being ignored when containing an unknown directive. -
Help File/Documentation Issues. (Discussion Only)
Jos replied to guinness's topic in AutoIt Technical Discussion
#region has no meaning for autoit3 and is totally ignore as anything not recognised starting with # is, which is mentioned in the helpfile. I added it as mod in the scite lexer and tidy for convineance, so no need to be more specific in the autoit3 helpfile. -
SOLVE-SMART reacted to a post in a topic:
A sign of life; a development update; Sven (SOLVE-SMART) says Goodbye to AutoIt (Community)!
-
donnyh13 reacted to a post in a topic:
A sign of life; a development update; Sven (SOLVE-SMART) says Goodbye to AutoIt (Community)!
-
Doesn't the Help/About tell you its origin?
-
Why is this code running slowly and how fix it? - (Locked)
Jos replied to Drovosek's topic in AutoIt General Help and Support
Welcome to the AutoIt forum. Unfortunately, you appear to have missed the Forum rules on your way in. Please read them now – particularly the bit about staying within the EULA of programs - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question, I hope. The Moderation team