Chaki Posted October 30, 2009 Posted October 30, 2009 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
Chaki Posted October 30, 2009 Author Posted October 30, 2009 Found it. WinWaitActive("GPS") Opt("WinDetectHiddenText", 1) ;0=don't detect, 1=do detect $text = WinGetText("GPS", "") MsgBox(0, "Text read was:", $text)
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