Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Using <CTRL> and <Alt> combinations fails in UI Flow

Hi, I noticed that when I record keyboard actions using <CTRL> or <Alt>, this consistently fails on replay. For example, I can't get my head around how the sequence <press CTRL> <press and release F12> and then <release CTRL> should be entered in the SendKeys action. The "release CTRL" is important, because as far as I can observe, the key is "stuck" and preventing the following actions of executing correctly.


Accepted Solutions

The syntax for <Alt>O is <VK_LMENU><VK_O/></VK_LMENU>

The slashes need to be specified as for well-formed XML

View solution in original post

Community Support
Community Support



Looking through our documentation below; it seems like this should be working. I'm not certain what exactly is occurring. Can you double check the documentation? Is there any other communities members that might know what the issue is here? Feel free to chime in if you might know the answer.








Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It seems that for Alt and Ctrl combinations, there should be a corresponding KeyDown and KeyUp code, but I have not yet found the correct syntax that consistently works on replay. If this were properly documented I would not even need the recorder. Just enter the right keys and values directly into the UI flow script.

The syntax for <Alt>O is <VK_LMENU><VK_O/></VK_LMENU>

The slashes need to be specified as for well-formed XML

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,384)