1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "%f", True
WshShell.SendKeys "i", True
Sleep 10
'WshShell.SendKeys "{tab 2}", True
WshShell.SendKeys " ", True
WshShell.SendKeys "{tab 3}", True
WshShell.SendKeys "~", True
Sleep 600
WshShell.SendKeys NomFichier, True
WshShell.SendKeys "~", True
Sleep 10
WshShell.SendKeys "{tab 3}", True
WshShell.SendKeys "~", True
If LongPx = 0 Then
Exit Sub
End If
Sleep 10
MyData.SetText LongPx
MyData.PutInClipboard
WshShell.SendKeys "^v", True
WshShell.SendKeys "{tab}", True
Sleep 10
MyData.SetText LargPx
MyData.PutInClipboard
WshShell.SendKeys "^v", True |
Partager