Sign in to follow this  
Followers 0
jWalker

Get Window Information without API ??

3 posts in this topic

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...

Share this post


Link to post
Share on other sites



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 connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

Share this post


Link to post
Share on other sites

hmm i will try it now.. thanks

will post the result

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0