如何获得剪贴板的contnet [英] How to get the contnet of clipboard
问题描述
我们如何通过程序获取剪贴板的内容?
ad写道:
我们如何通过程序获取剪贴板的内容?
客户端(在用户的PC上):你不能。你无法访问它......
服务器端:
http://msdn.microsoft.com/library/de...classtopic.asp
-
craig
Microsoft MVP - ASP / ASP.NET
MSIE支持获取用户的剪贴板。
一旦获得,很容易传输到服务器。
Craig Deelsnyder < cdeelsny@NO_SPAM_4_MEyahoo.com> schreef in bericht
新闻:uH ************** @ TK2MSFTNGP15.phx.gbl ...ad写道:
我们如何通过程序获取剪贴板的内容?
客户端(在用户的PC上) ):你不能。你无法访问它......
服务器端:
http://msdn.microsoft.com/library/de...classtopic.asp
-
Craig
Microsoft MVP - ASP / ASP.NET
使用Javascript命令
document.execCommand(''paste'');
这里有更多细节..
http:// msdn.microsoft.com/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:
http://msdn.microsoft.com/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.com> 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:
http://msdn.microsoft.com/library/de...classtopic.asp
--
craig
Microsoft MVP - ASP/ASP.NET
Using Javascript Command
document.execCommand(''paste'');
more details here ..
http://msdn.microsoft.com/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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!