Re: Re: Get Text and Autopilots methods

#190740
String
Member

Show how you are using your lastline function.
If you have added this to autopilots example, as described in your other post, get the room handle info first then call your last line function.

In the code you posted, you have

'X = GetTextPal
'X = GetWindowText
For xx = 1 To Len(X)
xxx = Mid(X, xx, 1)

According to that code, the length of X will always be 0.

Did you look how it was done in loco’s AdminBot source as mentioned in your other post?