从一个浏览器窗口复制文本到另一个浏览器窗口
我有这两个浏览器窗口,它们在服装列表上的每个订单上都打开,并带有约18K订单。我必须手动从第一个窗口复制值,然后将它们粘贴到第二个窗口中的相应输入上。每个订单都必须重复这一点。
我正在考虑制造一个小工具,该工具允许识别窗口,复制所需的值并将其粘贴到第二个窗口上。 JavaScript&这是否可以html,还是C#?
I have this two browser windows, which are opened for each order on an apparel list with about 18K orders. I have to manually copy the values from the first window and paste them on the corresponding inputs in the second window. This has to be repeated for every single order.
I was thinking about making a small tool which allows to identify both windows, copy the needed values and paste them on the second window. Is this possible with Javascript & HTML, or maybe C#?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
从技术上讲,这无法通过JavaScript实现。您可以使用一些自动化工具,例如自动启用,例如
某些键盘也支持Marco功能。您可以记录一个宏并复制每个记录,如果整个过程都可以重复。
Technically, this cannot be achieved via JavaScript. You can use some automation tools like AutoIt e.g.
Some Keyboards are also supporting Marco functions. You can record a Macro and copy every record if the entire process is repeatable.
我认为,这可以通过镀铬扩展来实现。
通常,Chrome扩展程序需要
I think, this could be achieved with a chrome extension.
In general, the chrome extension needs to do the following
首先,在哪个平台,Windows或其他OS,
两个浏览器窗口是桌面应用程序或Web浏览器,
如果是Web浏览器,则可以尝试使用Selenium或剧作家,可以连接浏览器窗口并从窗口1刮擦数据并填写在窗口2中。
如果它是桌面应用程序或与Web浏览器混合,如果您熟悉Python,您,您,您可以尝试以下Visual Studio Extension Clicknium,它可以在Web和桌面应用上进行自动化,支持Recorde UI元素。
然后,这是从一个应用程序到另一个应用程序进行数据应对的简单方法。
以下是示例代码:
first, in which platform, windows or other os,
and two browser windows are desktop applications or web browser,
if it is web browser, you can try selenium or playwright, can attach the browser window and scraping the data from window 1 and filled in window 2.
if it is desktop application or mixed with web browser, and if you familiar with python, you can try the following visual studio extension clicknium, it can do automation on both web and desktop applation, support recorde the ui elements.
then it is easy way to do data coping from one application to another application.
the following is the sample code: