jay Posted January 5, 2006 Posted January 5, 2006 (edited) I am running this email program with blat.exe and i cant see the application window when the code runs is there anyway to see the active cmd window when it runs.... $INSTALL = " -install " & (GUICtrlRead($SMTPADD)) & " " & (GUICtrlRead($USERNAME)) MsgBox(0,"Install Msg", $INSTALL) RunWait(@ScriptDir & '\blat.exe' & $INSTALL) MsgBox(0,"Install Msg", @ScriptDir) sleep(5000) $Message = " -serverSMTP " & (GUICtrlRead($SMTPADD)) & " -s " & Chr(34) & (GUICtrlRead($SUBJECT)) & Chr(34) & " -body " & Chr(34) & (GUICtrlRead($BODY)) & Chr(34) & " -u " & (GUICtrlRead($USERNAME)) & " -pw " & (GUICtrlRead($PASSWORD)) & " -t " & (GUICtrlRead($TO)) & " -attach " & (GUICtrlRead($var)) MsgBox(0,"Install Msg", $Message) ;MsgBox(0,"Message String", $Message, $Timeout) RunWait(@ScriptDir & '\blat.exe' & $Message) ;Sleep(4500) ;MsgBox(0,"Test", $Message, $Timeout) Thanks Jay Edited January 5, 2006 by jay
Moderators SmOke_N Posted January 5, 2006 Moderators Posted January 5, 2006 "", @SW_SHOW)? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
jay Posted January 5, 2006 Author Posted January 5, 2006 "", @SW_SHOW)?Could you show a better syntax example
Moderators SmOke_N Posted January 5, 2006 Moderators Posted January 5, 2006 Could you show a better syntax exampleRunWait(@ScriptDir & '\blat.exe' & $INSTALL, "", @SW_SHOW) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
jay Posted January 5, 2006 Author Posted January 5, 2006 RunWait(@ScriptDir & '\blat.exe' & $INSTALL, "", @SW_SHOW)At the end of the line right before the @SW_SHOW there are quotes "", @SW_SHOW) what do those do or mean?
w0uter Posted January 5, 2006 Posted January 5, 2006 (edited) use the default workingdir. read the helpfile. edit* i was first Edited January 5, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
cdkid Posted January 5, 2006 Posted January 5, 2006 (edited) that's the working directory [EDIT] oops posted at the same time Edited January 5, 2006 by cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
jay Posted January 5, 2006 Author Posted January 5, 2006 use the default workingdir.read the helpfile.edit* i was first I did look in the Help file i just did not see the syntax listed for it
Moderators SmOke_N Posted January 5, 2006 Moderators Posted January 5, 2006 Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] ) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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