cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bouillons
Helper IV
Helper IV

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

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,908)