join Posted February 10, 2009 Posted February 10, 2009 Hi there! i been seeing all those new windows etc etc, but where can i get the old like CMD window for autoit? i mean, so the user can type commands, read text etc, is there any possible way to do that? thx!
martin Posted February 10, 2009 Posted February 10, 2009 Hi there! i been seeing all those new windows etc etc, but where can i get the old like CMD window for autoit? i mean, so the user can type commands, read text etc, is there any possible way to do that? thx!Do you mean a command window where you can type things like $text = FileRead("something.txt")?if so then why? If you don't want a gui then you can have scripts without them, and if you want the CMD window you can use Run("cmd.exe") I expect I don't understand what you want to do. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
join Posted February 11, 2009 Author Posted February 11, 2009 i mean, can i use autoit scripts in a cmd window? so like cmd but it does autoit commands.
martin Posted February 11, 2009 Posted February 11, 2009 i mean, can i use autoit scripts in a cmd window? so like cmd but it does autoit commands.Sounds like the first suggestion in my previous reply.Can yo give an example of what commands you would want to type and why you would want to do that rather than write a script which would be much easier? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
AlanB Posted February 11, 2009 Posted February 11, 2009 Sounds like the first suggestion in my previous reply.Can yo give an example of what commands you would want to type and why you would want to do that rather than write a script which would be much easier?Suppose I'm not sure how a command works. I type it on the AutoIt console. It does something wrong. I type something else. Bingo! Copy into my script.
martin Posted February 11, 2009 Posted February 11, 2009 Suppose I'm not sure how a command works. I type it on the AutoIt console. It does something wrong. I type something else. Bingo! Copy into my script.I don't see the need. First you look in the help to see how some function is to be used and study the example. Then you can use SciTE as your text editor and it gives a hint on what parameters are needed as you type in a function. Then if you make any errors they will be pointed out when you try to run the script. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
KaFu Posted February 12, 2009 Posted February 12, 2009 (edited) You can compile scripts to run from command prompt only, chose 'Create CUI instead of GUI.exe' in compiler. Input / Output should work via StdinWrite() / StdoutRead() or/and ConsoleRead() ConsoleWrite() (didn't tried that yet). To capture .exe call parameters look for 'Command Line Parameters' in the help-file. Edited February 12, 2009 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
StrategicX Posted February 13, 2009 Posted February 13, 2009 Ha, this cmd gives me an idea for development ...hmm.. I dont remember where i saw it, but didnt someone make a small script or addon for SciTE that enables you to run a .Au3 script without saving it? Im thinking of making a CMD based Au3 script to do sort of the same thing... but with certain commands like with Nomadmemory, see with me I am constantly testing new addresses/offsets and memory editing for games with nomadmemory.au3, so like using the cmd based program to input a nomad command like _MemoryWrite() or read and use the an address to test.. this would save alot of time, since I have to write a small script, save it, then run it to test .. Just an idea hehe sorry offtopic hey but if you just want a console based compiled au3 app... well Au3 wasnt designed to make console apps.. But just search "Console" in these forums and theres a nice console library that will help you make a console app.... I give mad props to the author of that library... I personally love cmd/console DOS based apps... But I guess im just old fashion .. >.> goodluck mate *WoW Dev Projects: AFK Tele Bot development journalSimple Player Pointer Scanner + Z-Teleport*My Projects: coming soon.Check out my WoW Dev wiki for patch 3.0.9!http://www.wowdev.wikidot.com
Zedna Posted February 13, 2009 Posted February 13, 2009 Also look at #AutoIt3Wrapper_Change2CUI=y It's available in full Scite4Autoit3. Resources UDF ResourcesEx UDF AutoIt Forum Search
maqleod Posted February 15, 2009 Posted February 15, 2009 (edited) Also look at #AutoIt3Wrapper_Change2CUI=y It's available in full Scite4Autoit3. http://www.autoitscript.com/forum/index.ph...image+converter I wrote this not too long ago, using AutoIt3Wrapper to change it to be a command line application during compile. In any case, this is a very basic example of a command line application in AutoIt. Edited February 15, 2009 by maqleod [u]You can download my projects at:[/u] Pulsar Software
BrettF Posted February 15, 2009 Posted February 15, 2009 I don't see the need. First you look in the help to see how some function is to be used and study the example. Then you can use SciTE as your text editor and it gives a hint on what parameters are needed as you type in a function. Then if you make any errors they will be pointed out when you try to run the script.+1 There.What the OP wants is stupid IMO. There is no need. It overcomplicates everything.This can be done with a simple GUI with few styles and such too...Cheers,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Mobius Posted February 15, 2009 Posted February 15, 2009 +1 There.What the OP wants is stupid IMO. There is no need. It overcomplicates everything.This can be done with a simple GUI with few styles and such too...Cheers,BrettYou have really surpassed yourself with your own Ignorance Kid.
BrettF Posted February 15, 2009 Posted February 15, 2009 PFffft.... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
join Posted February 16, 2009 Author Posted February 16, 2009 yee, sure, you ca compile it as command line, but i mean, i want to make CMD COMMANDS, soyou can use the damn cmd window for something, like execute codes or show text...
KaFu Posted February 16, 2009 Posted February 16, 2009 You can compile scripts to run from command prompt only, chose 'Create CUI instead of GUI.exe' in compiler. Input / Output should work via StdinWrite() / StdoutRead() or/and ConsoleRead() ConsoleWrite() (didn't tried that yet). To capture .exe call parameters look for 'Command Line Parameters' in the help-file. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
join Posted February 18, 2009 Author Posted February 18, 2009 none of them work -.-, i been looking in help file 2, nada. plz make an example script, thx!
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