Jump to content

Status Bar Text


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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