cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Send multiple keys with one Send Keys option

Is it possible to send multiple keys with one send keys option. It is not supposed to display the text in my screen but be used as shortcut keys

1 ACCEPTED SOLUTION

Accepted Solutions
sakula1996
Responsive Resident
Responsive Resident

Hi @Anonymous ,

Yes, it's possible to send multiple keys using send keys action

Examples (with key combinations):

 

Copy --> {Control}({C}) 

Excel select all rows --> {Control}({Shift}{Down})

 

Examples (without key combinations):
Example2 --> Trace456{Tab}{Enter}

 

Hope this will help 🙂

View solution in original post

9 REPLIES 9
Henrik_M
Super User
Super User

Yes. Look at the documentation page: Mouse and keyboard - Power Automate | Microsoft Docs

 

Henrik_M_0-1611148413178.png

 

sakula1996
Responsive Resident
Responsive Resident

Hi @Anonymous ,

Yes, it's possible to send multiple keys using send keys action

Examples (with key combinations):

 

Copy --> {Control}({C}) 

Excel select all rows --> {Control}({Shift}{Down})

 

Examples (without key combinations):
Example2 --> Trace456{Tab}{Enter}

 

Hope this will help 🙂

Anonymous
Not applicable

Hi,

How to send keys for Control+Shift+Alt+Right+Right+Right+Right+Right.  I would like to select and copy certain data range from pdf file

I will show you an example, maybe this will help 

{F}{End}{Up:4}{Enter}{Right}{Home}{Down:7}{Enter}

See bold above for how to send the same key multiple times

Rajiv03
Frequent Visitor

I have been trying to used send keys for copy, {LControlKey}({C}) to copy some contents on the webpage. Send keys for paste is working but this copy action, can't be done. Do I need to change any settings from this send keys settings?

Rajiv03_0-1647227340715.png

 

 

Ahammad_Riyaz
Super User
Super User

Hi @Anonymous 

 

Yes, it's possible to send multiple keys using send keys action

Examples 

 

Copy --> {Control}({C}) 

Even same you can copy paste so it will be replicate twice.

Plz refer:https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/mouseandkeyboard#sendkeys

 

Regards

Ahammad Riyaz

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

av00
Frequent Visitor

I want to trigger the keyboard shortcut i.e Ctrl+Alt+Shift+1 through "Send Keys". I already tried {Control}({Alt}{Shift}{1}). But it's not working. Please help.
Thanks in advance.
AV00

So{Control}(c) means hold control and press c, then release both.

 

{Control}c would press/release control and then press/release c.  

I believe you are missing your parenthesis from the subsequent modifier keys. 

try this:

 

{Control}({Alt}({Shift}({1}())))

 

Hi Michael,

Thanks for your quick response.

I am sorry but still, it is not working. I am using that shortcut key to execute my google script in Google Sheets. I have also used the "Press/Release key" Action. But I am unable to execute the shortcut keys.

Thanks,

Av00

Helpful resources

Announcements
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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (3,442)