Jump to content

Piotr12

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Piotr12

  1. Hm I see, well it's a pity. Would be nice if there was AutoIt3CLI.exe. On the other hand, when you run AutoIt3.exe /help, or without any options, won't it print help to cmd window from which you run it? OK, that's why I called it "limitation" (and it's a problem for people like me).
  2. I think here people had similar (same?) problems: https://www.autoitscript.com/forum/topic/133127-print-output-to-the-command-shell-that-sharted-the-script/ https://stackoverflow.com/questions/34761334/print-to-console-command-prompt-in-autoit
  3. Inability to print text (display) in cmd windows which executed the script, without first compiling the script. No, I executed it from cmd window. It does not work that way for me Are you sure you don't mean compiled script? I think that is different - simulating keypresses. That's not what I want.
  4. Thanks, that I wanted to confirm. For me, that's the show stopper. So for curiosity sake, why such limitation?
  5. How do I print to cmd window the script was started from? powershell syntax. The later. When I had script with ConsoleWrite("HElloWorld") and executed it from cmd e.g. AutoIt3.exe myscript.au3, nothing was printed.
  6. No. I want something simple and quick. Even with powershell you can do powershell "& ./script.ps1". And it writes output to cmd it was run from. If I want to, I can redirect it to a file. But I don't have to. I don't have to use any special tool to run it. Just the interpreter. I can probably do sth like powershell -c "command1; command2" (a guess). Too bad it's syntax is broken (IMO).
  7. I want to have something like bash on windows (without bash). I want to automate various small developer tasks. I want to have a script which will compare performance of several different programs. Or recursively delete files matching specific pattern. Or do some text search/grep/etc. Or using it for some job in jenkins. Sky is the limit For all of this, I must have ability to quickly cook up a couple lines of code, have it in a file, and execute it. By "clicking" it from total commander. Or executing from command line. Or from another script.
  8. That's why I wanted to confirm. BTW, why such limitation?
  9. I'm looking for a scripting language. Compiling defeats it's purpose...
  10. Of course not. That was simplification. I want .bat-like echo command.
  11. Hi, I'd like to confirm: I can't simply start my script from a cmd and have it print something there? That is, open notepad++, write two-liner script and just run it? Because yesterday I was like "hurray, finally scripting language on Windows I can use", and today after 10 minutes of trying to print to console I was like "ok, uninstalling".
×
×
  • Create New...