Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


accessing clipboard using ie/html

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,47165
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> accessing clipboard using ie/html
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 accessing clipboard using ie/html - 5/17/2007 5:54:23 AM   
  Newbie123

 

Posts: 4
Score: 0
Joined: 8/7/2005
Status: offline
I am trying to access the clipboard. A common solution to I have seen to do this is to be is via html file. something like

   Dim ie
   Set ie = CreateObject("InternetExplorer.Application")
   ie.Navigate("about:blank")
   msgbox ie.document.parentwindow.clipboardData.GetData("Text")

The probel with this is that I get the following warning which interrupts my script.

"Do you want to allow this page to pasteinformation from your clipboard?"

Is there anyway I can get past this? I do not have access to change my ie security settings.

Any ideas?

Many Thanks


I
 
 
Post #: 1
 
 RE: accessing clipboard using ie/html - 5/18/2007 3:45:58 AM   
  dm_4ever


Posts: 2724
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
Not sure how to get around this without modifying the security setting which you said you can't do.

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Newbie123)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> accessing clipboard using ie/html Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts