| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon Nov 16, 2009 11:23 am Post subject: StatusBar retrieving text and taking action |
|
|
i want to take action depending on the message posted on the statusbar but in the help file its written tht it works with standard bars hw abt my gui statusbar its nt standard??? then how i should retrieve the text and take appropriate action
Run C:\xyz.exe
WinWaitActive XYZ
;StatusBarWait, State, , , XYZ
StatusBarWait, State: Ok, 30
if ErrorLevel
MsgBox, The command timed out or there was a problem.
else
MsgBox, The search successfully completed.
i tried with the above code but it didnt worked i mean no message displayed...... |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Nov 16, 2009 6:50 pm Post subject: |
|
|
is XYZ an ahk program?
if not, did u try window spy to see if the text is there? |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 1158 Location: San Diego, California
|
Posted: Mon Nov 16, 2009 8:41 pm Post subject: |
|
|
And you need to know in what part of the statusbar the information appears. I used "AutoIt3 Window Spy" to get typical I.E. statusbar info.
Thats 12 parts that could have text.
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue Nov 17, 2009 8:37 am Post subject: |
|
|
| thanks man...but its not showing anything under statusbar information of autospy tool |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 1158 Location: San Diego, California
|
Posted: Tue Nov 17, 2009 9:49 am Post subject: |
|
|
| what is the real name of the program ? |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Nov 17, 2009 10:05 am Post subject: |
|
|
| its a gui tool of mine developed in labwindows |
|
| Back to top |
|
 |
|