Sign in to follow this  
Followers 0
Chaki

How do you search for Hidden Text?

2 posts in this topic

Hi everyone! I'm a noob. This is my 2nd day using autoit and I've been working on my first script for almost 10 hours straight. I'm addicted to autoit now haha!

Ok so.. I have "Window Info tool" running and it has some information i want to use. But I don't know how to assign it to a variable.

>>>> Hidden Text <<<<

2195,2705

I'll try to explain but please bare with me and remember i'm a noob.

For example:

$position=@hiddentext

So whatever hiddentext is, it will be stored into $position. I don't know how to do that.

At the moment Window Info Tool shows Hidden Text as 2195,2705.

So $position would equal 2195,2705.

Cuz what I want to is

IF

Share this post


Link to post
Share on other sites



Found it.

WinWaitActive("GPS")

Opt("WinDetectHiddenText", 1) ;0=don't detect, 1=do detect

$text = WinGetText("GPS", "")

MsgBox(0, "Text read was:", $text)

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