Jump to content

Recommended Posts

Posted

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

Posted

Found it.

WinWaitActive("GPS")

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

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

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...