Results 1 to 3 of 3

Thread: Script to auto-click "Allow" Outlook promt

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2012
    Posts
    3

    Script to auto-click "Allow" Outlook promt

    I am trying to automate the sending of an email through VB Script, but am receiving this message:



    I can get the script to activate the window via:
    Code:
    Set objShell = WScript.CreateObject("WScript.Shell")
    
    Do Until Success = True
        Success = objShell.AppActivate("Microsoft Office Outlook") 
        Loop
    I need a piece of code that will automatically click this "Allow" button. I can't really use sendkeys because this will be running while my PC is locked. My employer has my outlook locked down, so adjusting settings isn't an option. Any help would be great.
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width