jWalker Posted January 20, 2012 Share Posted January 20, 2012 Hey, i am scripting a little program for another program. Our machine program cant work with folders wit over 500 files oO So i wrote a little program that copies the needed files into a temporary folder and keeps the folder on an limited amount of 50. After you searched the needed file it copies it and pastes the name into the actual programs searchmask. For this are some buttonpushes needed that i want my program to do. Press F2, then F1, then copy and then OK. so far so good but as you all know, sleep between these button-pushes is really not the best method. What if the program hangs for a moment and the sleep is over so the button gets pushed too early? it will not work for then. So is there any possibility to read out information of an program? just like what is the text of this button..? I think not.. But if you know something please let me know. If you need more info about the programs just ask Screenshots may also be available... Link to comment Share on other sites More sharing options...
bogQ Posted January 20, 2012 Share Posted January 20, 2012 do autoit win info tool can read from them? if yes then you can do something like this to read from button (based on notepad save msgbox) Local $sText = ControlGetText("[CLASS:#32770]", "", "[CLASS:Button; INSTANCE:1]") MsgBox(0, "ControlGetText Example", "The control text is: " & $sText) TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
jWalker Posted January 20, 2012 Author Share Posted January 20, 2012 hmm i will try it now.. thanks will post the result 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