开发者

Sending Multiple Words to Another Program

开发者 https://www.devze.com 2023-01-06 10:42 出处:网络
开发者_JS百科How would I output a sentence with VB.NET? Example: Your program and Internet Explorer are open, your program outputs \"http://stackoverflow.com\" and presses \"{ENTER}\", and it will go
开发者_JS百科

How would I output a sentence with VB.NET?

Example: Your program and Internet Explorer are open, your program outputs "http://stackoverflow.com" and presses "{ENTER}", and it will go to the page.

Example: An auto-talking bot for MSN.


If you mean "send a string to a running program", I think you're looking for SendKeys

Edit

SendKeys takes a string argument (that's why it's named SendKeys, not SendKey), so yes, you can send "sentences".

0

精彩评论

暂无评论...
验证码 换一张
取 消