MarioX Posted November 14, 2005 Share Posted November 14, 2005 It's probably a dumb question, but how to compile/build AutiIt program for running it from a cmd shell, like the old pkzip.exe or rar.exe for example, that run without graphics GUI and output messages in text mode only ? Thanks for any advice Link to comment Share on other sites More sharing options...
MHz Posted November 14, 2005 Share Posted November 14, 2005 In Helpfile under contents section AutoIt -> Using AutoIt -> Compiling Scripts. Look at Method 3 - The Command Line. Link to comment Share on other sites More sharing options...
MarioX Posted November 14, 2005 Author Share Posted November 14, 2005 Thanks for your help. Mario Link to comment Share on other sites More sharing options...
MarioX Posted November 14, 2005 Author Share Posted November 14, 2005 (edited) Ops, I had read the suggested help file but it's not what I mean, I probably wrote in confused way... I wonder if using AutoIt is possible made "command mode" program, like fdisk or format for example. Thanks again for any clarification. Edited November 14, 2005 by MarioX Link to comment Share on other sites More sharing options...
w0uter Posted November 15, 2005 Share Posted November 15, 2005 there is some thread in the dev forum (i thought), search the board. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
jefhal Posted November 15, 2005 Share Posted November 15, 2005 (edited) Thanks for any adviceHow about looking at "$cmdline" in the help file. This lets you take parameters on the command line. I always use it as follows, so that if the user forgets to put in the command line parameter it pops open an inputbox. However, you could put in an error message instead that just shows the proper useage of your exe:if $CmdLine[0] = "" Then $var = InputBox("Enter parameter", "Please enter a parameter","default") Else $var = $CmdLine[1] EndIfAlso, be sure to read up on "@sw_hide" to hide any dos boxes that are launched when you use "run". As for writing to the command line from your program, I don't believe you can do that, but will have to rely on "msgbox" or "splashtext" or "tooltip" for output. Edited November 15, 2005 by jefhal ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
MarioX Posted November 15, 2005 Author Share Posted November 15, 2005 Command line parameters handling could be a useful thing to know, thanks for the information. 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