如何获得剪贴板的contnet

编程入门 行业动态 更新时间:2024-10-21 10:05:54
本文介绍了如何获得剪贴板的contnet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们如何通过程序获取剪贴板的内容?

解决方案

ad写道:

我们如何通过程序获取剪贴板的内容?

客户端(在用户的PC上):你不能。你无法访问它...... 服务器端: msdn.microsoft/library/de...classtopic.asp - craig Microsoft MVP - ASP / ASP.NET

MSIE支持获取用户的剪贴板。 一旦获得,很容易传输到服务器。 Craig Deelsnyder < cdeelsny@NO_SPAM_4_MEyahoo> schreef in bericht 新闻:uH ************** @ TK2MSFTNGP15.phx.gbl ...

ad写道:

我们如何通过程序获取剪贴板的内容?

客户端(在用户的PC上) ):你不能。你无法访问它...... 服务器端: msdn.microsoft/library/de...classtopic.asp - Craig Microsoft MVP - ASP / ASP.NET

使用Javascript命令 document.execCommand(''paste''); 这里有更多细节.. http:// msdn.microsoft/library/de...xeccommand.asp 我认为这只适用于IE和浏览器设置可以阻止粘贴 操作.. " ad"写道:

我们如何通过程序获取剪贴板的内容?

Hi, How can we get the content of clipboard with program?

解决方案

ad wrote:

Hi, How can we get the content of clipboard with program?

client-side (on the user''s PC): you can''t. you don''t have access to it... server-side: msdn.microsoft/library/de...classtopic.asp -- craig Microsoft MVP - ASP/ASP.NET

MSIE supports obtaining the user''s clipboard. Once obtained it is easy to transmit to the server. "Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo> schreef in bericht news:uH**************@TK2MSFTNGP15.phx.gbl...

ad wrote:

Hi, How can we get the content of clipboard with program?

client-side (on the user''s PC): you can''t. you don''t have access to it... server-side: msdn.microsoft/library/de...classtopic.asp -- craig Microsoft MVP - ASP/ASP.NET

Using Javascript Command document.execCommand(''paste''); more details here .. msdn.microsoft/library/de...xeccommand.asp I think this works only in IE and Browser settings can block the paste operation.. "ad" wrote:

Hi, How can we get the content of clipboard with program?

更多推荐

如何获得剪贴板的contnet

本文发布于:2023-11-03 15:20:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555436.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:剪贴板   如何获得   contnet

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!