1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| boucle:
Clipboard.Clear()
p.X = 117
p.Y = 111
Cursor.Position = p
System.Threading.Thread.Sleep(1000)
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0) 'Enfonce le bouton de la souris
System.Threading.Thread.Sleep(500)
p.X = 162
p.Y = 111
Cursor.Position = p
System.Threading.Thread.Sleep(500)
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0) ' le relève
SendKeys.Send("^{c}")
' System.Threading.Thread.Sleep(1000)
'If googletr <> "Afficher" Then
googletr = Clipboard.GetText()
'End If
'googletr = My.Computer.Clipboard.GetText()
If googletr <> "Afficher" Then GoTo boucle |
Partager