Jump to content
Sign in to follow this  

ControlGetText Problem

Recommended Posts

This is my code below.

$sText = ControlGetText("TeamViewer", "Wait for Session", "Edit2")
If $sText = "" Then Exit
MsgBox(0, "ControlGetText Example", "The control text is: " & $sText)

It works provided, the teamviewer app exist or not exist.

But it wont work if the teamviewer app hang/freeze.

Is there a solution for me to check or time out the ControlGetText if teamviewer hang?


Share this post

Link to post
Share on other sites

There is a function for something like that, was called ishungapp, or isapphung

and was possibly created by trancexx (sorry to author if wrong)

In any case a search of example scripts forum will turn it up.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...