Maras Posted May 31, 2004 Posted May 31, 2004 Hi all, I got problem when operating on DOS app. It fills inputs very slow. It's about 1char/1sec - too slow for me. Any idea to speed it up ? Thanks & greets, Maras
Maras Posted June 1, 2004 Author Posted June 1, 2004 Does not help. Problem is, that when typing in DOS window it is slow too. So AutoIt only types (send key by key), any it is slow. Maybe i should change something in DOS window... but what ? Maras
tutor2000 Posted June 1, 2004 Posted June 1, 2004 Does not help. Problem is, that when typing in DOS window it is slow too. So AutoIt only types (send key by key), any it is slow. Maybe i should change something in DOS window... but what ?MarasNever tried it but can you put all the text into a var then send it all at once? Probably still write one at a time. Why are you writing to a dos window?Rick
Maras Posted June 4, 2004 Author Posted June 4, 2004 Hi It's in var. I have to insert data from file to old fashion (16bit) dos app. I do not know any other option like only typeing all data. Problem is that it works very very slow... Do not know what i have to set. Maras
pekster Posted June 4, 2004 Posted June 4, 2004 If it's some 3rd party application that isn't detecting the keys when you type them at a fast enough speed, there is nothing AutoIt can do directally to change that. Instead, you should play around with your application to see if you can increase the key polling so that it will accept typed text faster. If you figure out a way to do that, you could probably have AutoIt set the faster key polling for you so that it could send information faster. Another suggestion: if you cannot increase the rate at which the application detects keys, you should try to decrease the speed at which AutoIt is sending the keys so that they don't stack up and have a chance of getting lost. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.
Maras Posted June 14, 2004 Author Posted June 14, 2004 Thanks for your sugestion. Everything is correct. When typeing by hands it works fast enough, but using AutoIt is slower. I do not know why. It's 3 chars per 2 sec. IMO very, very slow. Maybe i should set something in dos console, but i have no idea what. It is old fashion clipper app. If any idea let me know please. Maras
pekster Posted June 14, 2004 Posted June 14, 2004 Another suggestion: if you cannot increase the rate at which the application detects keys, you should try to decrease the speed at which AutoIt is sending the keys so that they don't stack up and have a chance of getting lost.Did you try this? Hint: look up the AutoItSetOption function, and see what it says about SetKeyDelay. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.
Maras Posted June 15, 2004 Author Posted June 15, 2004 I use SetKeyDelay =5, when i down to 3 it starts lose characters. So i keep it = 5 for safety. Maras
hama Posted June 24, 2004 Posted June 24, 2004 Try to put the text into the clipboard and then paste it to the DOS application window - an old trick under AutoIt 2. Hope it helps.
Doxie Posted June 24, 2004 Posted June 24, 2004 Not that i know if this will help, but try to change the buffer size and number of buffers. Were ever i lay my script is my home...
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