Boas, eu até pensei em usar timer:
Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
TextBox1.Text = TextBox1.Text + vbNewLine & GetActiveWindowTitle() + vbNewLine
End Sub
mas fica enchendo com a mesma janela aberta, então, alguém sabe de alguma forma de pegar a janela aberta uma vez só? e quando trocar pegar o titulo dessa nova janela aberta?
Obrigado
Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
TextBox1.Text = TextBox1.Text + vbNewLine & GetActiveWindowTitle() + vbNewLine
End Sub
mas fica enchendo com a mesma janela aberta, então, alguém sabe de alguma forma de pegar a janela aberta uma vez só? e quando trocar pegar o titulo dessa nova janela aberta?
Obrigado
Comment