Sign in to follow this  
Followers 0
Arthur Jay

Status Bar Text

6 posts in this topic

I wrote the following program:

Global $x

MouseClick( "left", 155, 585)

Sleep(2000)

MouseMove( 80, 130)

Sleep(1000)

$x = StatusbarGetText("Internet Explorer address")

MsgBox(0, "String contents", $x)

Internet homepage is minimized before I run it. The MouseClick statement maximizes it, and the MouseMove statement moves the cursor so that the address appears in item 1 of the Status Bar Text list in AU3Info, which is open. However, the string is blank when I write to the MsgBox. Where did I go wrong?

Arthur Jay

Share this post


Link to post
Share on other sites



maybe?

I don't understand your reply

Arthur Jay
AutoItSetOption("WinTitleMatchMode", 2)

Share this post


Link to post
Share on other sites

add it to the top of your script and give it a try

OK, it works. Now can you tell me why? Is this something I have to do each time I get some text like this? And does the string in that code change with sircumstances?

Arthur jay

Share this post


Link to post
Share on other sites

OK, it works. Now can you tell me why? Is this something I have to do each time I get some text like this? And does the string in that code change with sircumstances?

Arthur jay

It depends how exact you define your Window title.

Default is "Starting with" matching ... with this option set matching changes to "anywhere in the title" ...

See Helpfile for detailed explanation.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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