Aug 22, 2002 #1 Seb104 IS-IT--Management Aug 22, 2002 3 FR Hi, I need to paste the content of the clipboard (text)into an HTML page. I am surprised because no VBscript methods seems to do that. Can somebody help? Seb.
Hi, I need to paste the content of the clipboard (text)into an HTML page. I am surprised because no VBscript methods seems to do that. Can somebody help? Seb.
Aug 23, 2002 #2 BehnamPro Programmer Aug 22, 2002 29 IR This code is used in VB,so i don`t know is it used in VBS or not. You can use Clipboard object: txt=clipboard.GetText if that code occured an error try this one too: set cl=CreateObject("Clipboard.Application" txt=cl.GetText Behnam2204@yahoo.com BehnamPro Upvote 0 Downvote
This code is used in VB,so i don`t know is it used in VBS or not. You can use Clipboard object: txt=clipboard.GetText if that code occured an error try this one too: set cl=CreateObject("Clipboard.Application" txt=cl.GetText Behnam2204@yahoo.com BehnamPro
Aug 29, 2002 Thread starter #3 Seb104 IS-IT--Management Aug 22, 2002 3 FR Hi BenhamPro, Thks for your answer. However, I can't manage to make that work... Here's my -simplified- .asp file: <HTML> <BODY> <script language="VBScript"> dim clip set cl = createobject("clipboard.application" clip = cl.gettext document.write clip </script> </BODY> </HTML> Upvote 0 Downvote
Hi BenhamPro, Thks for your answer. However, I can't manage to make that work... Here's my -simplified- .asp file: <HTML> <BODY> <script language="VBScript"> dim clip set cl = createobject("clipboard.application" clip = cl.gettext document.write clip </script> </BODY> </HTML>