Sign in to follow this  
Followers 0
zone97

Collect Text From Control?

3 posts in this topic

#1 ·  Posted (edited)

How would I get some text from a "label" on another application. Say there was a word displayed as a static lable on an application and I wanted to collect that text and store it as a verable in my program, how could i do that?

Thanks.

Scratch that found the code... ControlGetText.

Edited by zone97

 

Spoiler

WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]
Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ]

 

Share this post


Link to post
Share on other sites



Ok so now I have another problem, what i am tring to do is write an auto program update routine. Here is how it should work.

read an ini file and get the current version #, compair that against the running application.

If the versions match, do nothing, if they don't down the program and copy the new exe from a common location, then restart again.

the problem is my application that needs updating stays in the hidden in the tasktray. Where the ControlGetText can not see it? Any ideas how to get arround this with out bringing it out of the tasktray?


 

Spoiler

WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]
Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ]

 

Share this post


Link to post
Share on other sites

You know application "path\name"?

FileGetVersion ( "filename" [,"stringname"] )

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