cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bouillons
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.

1 ACCEPTED SOLUTION

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

3 REPLIES 3
alrez
Community Support
Community Support

Hi,

 

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.

 

https://docs.microsoft.com/en-us/power-automate/ui-flows/inputs-outputs-desktop

 

Regards,

 

Alex

 

-------

 

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

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,051)