开发者

Script in IE to Insert Text at Cursor (in or out of IE)

开发者 https://www.devze.com 2022-12-20 04:25 出处:网络
I need to take text already obtained and stored in a variable and place it in another window: IE or any other windows application.

I need to take text already obtained and stored in a variable and place it in another window: IE or any other windows application.

Context: An asynchronous application is running in IE, most likely in the background, and when an event fires in the application, certain text needs to be inserted wherever the cursor/carrot is.

I am not restricted to any particular technology so if it even needs to be an ActiveX component I am open to anything开发者_开发问答.

This is something due for a project by the end of the week so ANY suggestions/ideas are VERY welcome.

Thank you in advance.


You'll need to write an ActiveX control that calls the SendInput function.

However, this sounds like a dumb idea. What are you trying to do?

0

精彩评论

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