Opened 11 years ago
Closed 11 years ago
#2436 closed Feature Request (Rejected)
AutoIt Command Line Interpreter
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | Cc: |
Description
AutoIt3.exe is a GUI application so a console isn't allocated for it when it is runs. All console output (i.e. ConsoleWrite) is ignored. You HAVE to compile a .au3 as a console application for it to run in a command prompt.
We need a console AutoIt3Console.exe that can be called from the command prompt. .au3c files (or whatever) could be registered to run AutoIt3Console so that you could natively run .au3c files from a command prompt by simply typing "clean_temp.au3c".
I think using AutoIt to make command line programs would make AutoIt way more useful for creating administrative and miscellaneous utilities.
AutoIt3 isn't really designed for GUIs. I mean, it's difficult to use AutoIt to create a proper GUI application that's event driven. Using input and message boxes are very similar to using console write and read.
Are most AutoIt3 scripts event GUI applications? Mine aren't. Most scripts would run better as console applications, hence why I believe full support for command line interpretation should be added.
I can't run .au3 files from a command prompt and would like to!
Thanks for such fantastic software!
Attachments (0)
Change History (3)
comment:1 Changed 11 years ago by TicketCleanup
- Version 3.3.8.1 deleted
comment:2 Changed 11 years ago by Mat
For completeness, the original forum topic can be found here: http://www.autoitscript.com/forum/topic/154089-autoit-useconsole/
I think you'll find that almost all programs in AutoIt are GUI based. When you say it's difficult to create a proper GUI application that's event driven then I think you are being very unfair, and the only language I have ever used that is easier to create and use GUIs in is C#, and even then the only reason it beats AutoIt is because of visual studio, the language itself doesn't make GUIs any easier.
Console programs are very rarely used, and the lack of a proper console library shows that. There has been some interest in it, but in two years I've had at most 10 people show a genuine interest in my console.au3.
For now, I would have though MHz solution would be good enough.
This feature does not have to be added to the AutoIt interpreter either, so if you can come up with a solution (possibly using what MHz has already) that is satisfactory, then an MVP like myself could add it to the installer.
comment:3 Changed 11 years ago by Jon
- Resolution set to Rejected
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Automatic ticket cleanup.