Results 1 to 1 of 1

Send keystroke to third party window

  1. #1
    MTD072 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Sep 2017

    Send keystroke to third party window

    Hi Experts.

    I'm trying to send a keystroke to a third party window. Sounds simple, yes? Doesn't mean I'm getting it...

    I'm working within a fairly heavily locked down system so I'm limited as to what data I can access and what programs I can use, hence why I'm using VBA and not a stand alone compiler.

    The window in question identifies as "" and it opens whenever a user attempts to send an email (to force users to include a protective marking on every email).

    I effectively need to send either a {space} or an {enter} (yes, I'm thinking sendkeys for simplicity sake) to this window to allow full automation. As it stands, the user is having to click OK on the window with each emailed report.

    The window itself does not have a visible title when it displays.

    I assume it is possible to bring this window to the front by the windows handle and then send the keystroke to it, but I'm a little stumped on how to get there.

    If anyone can assist, it would be greatly appreciated.


    Last edited by MTD072; 08-06-2018 at 11:01 PM. Reason: found a typo

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 01-17-2018, 05:07 PM
  2. Send email window to top
    By LonghronJ in forum Modules
    Replies: 3
    Last Post: 01-10-2018, 02:32 PM
  3. Replies: 10
    Last Post: 12-05-2017, 12:14 AM
  4. Replies: 4
    Last Post: 04-28-2014, 08:07 AM
  5. Open Outlook window but don't send
    By Paul Taylor in forum Access
    Replies: 2
    Last Post: 04-07-2011, 10:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Tech Forums: Microsoft Office Forums