Sign in to follow this  
Followers 0
WayneCusack

Clipboard Pop-Up Help

3 posts in this topic

I am trying to automate a routine that visits a web site, collects some data and copies it temporarily to the clipboard before I work with it.  The process is generating a warning pop-up that disrupts the automation, and I have not been able to get rid of it.  I would appreciate suggestions for either blocking the pop-up or making it go away.  Here's the relevant portion of the code:

$text1=MouseClickDrag("left", 270, 170, 700, 190)
_IEAction($oIE,"copy")
$text1=_ClipBoard_GetData()
$var1=StringInStr($text1,"matching")
 
The popup occurs after the 2nd line.  It asks if I am willing to allow the process to access the clipboard.  I have identified the pop-up as a window titled "Internet Explorer" and the class is "#32770".  The default button declines to allow the procedure to access the clipboard.  I have tried various means to block or close the window or to click on the button that allows access to the clipboard, all without success.

 

Share this post


Link to post
Share on other sites



Hello

IE is generating the pop-up (not your script).

Check in IE :

Tools - Internet Options - Security - Internet - Custom level - Scripting zone - Allow programmatic clipboard access.

Most likely now IE has the option "Prompt" activated.

Good luck

1 person likes this

Share this post


Link to post
Share on other sites

Thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0