bigzep Posted June 27, 2008 Posted June 27, 2008 I have search all over the AutoIt help and in this forum too. Unfortunately, I can't find any solution. ConsoleRead don't work as needed in this case.
ResNullius Posted June 27, 2008 Posted June 27, 2008 I have search all over the AutoIt help and in this forum too. Unfortunately, I can't find any solution. ConsoleRead don't work as needed in this case.There is, using a batch file trick, but in testing it I apparently uncovered a bug in CUI compiled scripts under the latest version of AutoIt, release & beta. If it gets resolved in a future release, I will post the method...
bigzep Posted June 27, 2008 Author Posted June 27, 2008 There is, using a batch file trick, but in testing it I apparently uncovered a bug in CUI compiled scripts under the latest version of AutoIt, release & beta. If it gets resolved in a future release, I will post the method...Thanks for your answer.I considered the idea about a trick with a batch file, but i have not tested it.
SoulA Posted June 27, 2008 Posted June 27, 2008 This is unfortunate I asked about this the other day. Almost requires you to make a CUI program with only cmdline switches or bite the bullet and go GUI.Here was the problem I was having... http://www.autoitscript.com/forum/index.ph...mp;#entry541867
ResNullius Posted June 27, 2008 Posted June 27, 2008 This is unfortunate I asked about this the other day. Almost requires you to make a CUI program with only cmdline switches or bite the bullet and go GUI.Here was the problem I was having... http://www.autoitscript.com/forum/index.ph...mp;#entry541867 It was actually your thread SoulA that started me testing when I remembered the batch file idea.It would be seamless with a console UI app, but that's when I discovered the problem.Posted about the issue (not the technique) here: http://www.autoitscript.com/forum/index.ph...mp;#entry542103
SoulA Posted June 27, 2008 Posted June 27, 2008 I believe I get the gist of the method and probably should work. Some pretty weird behavior that can hopefully be resolved. Making a CUI APP is so much less frustrating.
martin Posted June 27, 2008 Posted June 27, 2008 I believe I get the gist of the method and probably should work. Some pretty weird behavior that can hopefully be resolved. Making a CUI APP is so much less frustrating.If you use ShellExecuteWait("tmpBatFile.cmd") instead of RunWait then it works ok for me. 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.
ResNullius Posted June 27, 2008 Posted June 27, 2008 If you use ShellExecuteWait("tmpBatFile.cmd") instead of RunWait then it works ok for me.Yes, but ShellExecute opens another instance of Comspec to run the batch file, so you can't keep your ConsoleWrites in the same console window
Moderators SmOke_N Posted June 27, 2008 Moderators Posted June 27, 2008 I have search all over the AutoIt help and in this forum too. Unfortunately, I can't find any solution. ConsoleRead don't work as needed in this case.http://www.autoitscript.com/forum/index.ph...st&p=527810Look at Valiks "Helper" functions ... may give some insight to help with your issue, or even enhance it. 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