I'm trying to create a VB script to Navigate to a Website, SelectAll, Copy and then save the copied data from the clipboard to a text file, but I'm stuck! :(
Here is what I got so far:
With CreateObject("InternetExplorer.Application")
.Navigate "https://www.microsoft.com"
Do Until .ReadyState = 4: Wscript.Sleep 100: Loop
.Visible = true
With .Document
.execCommand "SelectAll"
.execCommand "Copy"
End With ' Document
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…