web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Window wasnt found aft...
Power Automate
Unanswered

Window wasnt found after running winword.exe

(0) ShareShare
ReportReport
Posted on by 4

I am struggling to get the WindowHandle working so i can focus Word to send it a KeyPress, am i doing something stupid?  

 

Untitled.png

I have the same question (0)
  • mwd86 Profile Picture
    100 on at

    opening word may take too long. put a "wait for window" in front of the "focus window".

  • oxmc Profile Picture
    4 on at

    Wait for window just hangs, and adding wait 10 seconds doesnt help either...

    hang.png

  • oxmc Profile Picture
    4 on at

    wait.png

    wait.png
  • mwd86 Profile Picture
    100 on at

    do not use the "Window Handle" variable but select a ui elemet.

     

    or use the wait for window and the "window handle" varwindow.jpg

  • mwd86 Profile Picture
    100 on at

    the UI element version works for me.

  • mwd86 Profile Picture
    100 on at

    try this variante

    word.jpgfocus.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard