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 / Use keyboard keys as i...
Power Automate
Answered

Use keyboard keys as is, not just typing

(0) ShareShare
ReportReport
Posted on by 39

Hi fellows,

 

I'm trying to find a way the navigate between buttons and blanks.

It is rather hard to do so when there are no keys to use, such as:

  • Left, right, up, down
  • Tab, Page-up, Page-down

And there's no explanation of "Send text as hardware keys", what does that mean?

 

Thanks!

Helliton

I have the same question (0)
  • FUS Profile Picture
    150 on at

    I have a similar challenge.

    In a window I use the right control button to navigate to next screen... and when I record my actions I get "{RControlKey}()".
    However, when I replay it that part is "skipped".

    In real life I might enter "Test1" then use the Right Control key and then type "Test2"
    But when I run the line "Test1{RControlKey}()Test2"... the result is that on the first page it says "Test1Test2".

  • Verified answer
    adijain Profile Picture
    Microsoft Employee on at

    @HellitonWoo The "Send Keys" Action sends keystrokes to the application that is currently active. It can either be sent in the background as a software input or can be mimicked like from a keyboard when sent as hardware keys. To simulate key-presses inside a Send Keys Action, use the following notation: {KeyCode}. where KeyCode is the capital form of the letter itself for letters A-Z. OemSemicolon for ';', Oemplus for '+', Oemcomma for ',', OemMinus for '-', OemPeriod for '.', OemQuestion for '?', Oemtilde for '~', OemOpenBrackets for '[', OemPipe for '|', etc. 

     

    In your case you can use:

    Capture5.JPG

    Capture6.JPG

     

     

  • adijain Profile Picture
    Microsoft Employee on at

    Hello @FUS , please utilize Test1{RControlKey}Test2 for your case.

  • FUS Profile Picture
    150 on at

    Thanks @adijain for the tip... but it didn't work.... {RControlKey} just getting skipped... even if I send it as "Hardware keys".

    Even tried to use screenrecord to get the "{RControlKey}" so I know it's the same... but still doesn't work.


    Then I tried others like {Tab}, {F11} & {Enter}... and those seem to work just as expected.

     

    I wonder if it has anything to do with the system I'm using, but since everything else works, why would this one key not work?

  • HellitonWoo Profile Picture
    39 on at

    @FUS I found this page, which seems explaining all the key references described by @adijain 

    https://referencesource.microsoft.com/#windowsbase/Base/System/Windows/Input/Key.cs,e89a228c9dc1bd2c,references

     

    You can try these:

    {RightCtrl}

     

     

  • FUS Profile Picture
    150 on at

    Thanks for the tip @HellitonWoo.
    But unfortunately didn't "{RightCtrl}" work either... it just printed it out on the screen as text. 😞

  • adijain Profile Picture
    Microsoft Employee on at

    Hello @FUS  I am sorry to hear that but {RControlKey} is the correct keycode to send right control key. Could you try adding a wait time after the control key is sent? You can do that within send keys action by using this key code {Delay 1000} - this will allow you to "wait" for 1 second prior to sending the rest keystrokes that follow this modifier. I would also suggest using just the key code {ControlKey} for sending any of the control keystroke, and see if that works for your use case. 

  • FUS Profile Picture
    150 on at

    Hi @adijain.
    It didn't work, but I did try to use Crtl in word where it worked, so I tried other "specialkeys" in the application which worked.
    So I decided to look deeper into the application and found out that the PC key (Right Ctrl) uses a function for "Enter" and so did (Keypad Enter).


    With some experimenting I found out that {Keypad} had the desired effect... even though I'm using a laptop without a keypad.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I also have similar issue. Can i have syntax for "CTRL+Home"?

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    {Control}({Home})

     

    For special keys, parenthesis identify a hold down for whatever is inside it, so '{Control}{Home} is pressing Control, then pressing Home, but by putting Home in parenthesis after Control, it is Control + Home.

     

    Good luck!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard