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 Automate
Suggested Answer

Send Keys

(1) ShareShare
ReportReport
Posted on by 6
I want to send key when focus on browser , Ctrl+1 ,

I used {Control}({1}) , but its working .

I want to switch from browser one tab to other . 
sendkry.jpg
I have the same question (0)
  • Suggested answer
    WillSG Profile Picture
    352 Moderator on at
    Hi    I hope you are doing well.

    The reason why it is not working is because you are using plain numbers, and you should use the Insert Special Keys numbers defined in PAD.

    For example, instead of 1 you should utilize “NumPad1” and instead of 2, you should use “NumPad2”.



    Here is the snippet code tested to switch from one tab to another.

    MouseAndKeyboard.SendKeys.FocusAndSendKeys TextToSend: $'''{Control}({NumPad1})''' DelayBetweenKeystrokes: 10 SendTextAsHardwareKeys: False
    MouseAndKeyboard.SendKeys.FocusAndSendKeys TextToSend: $'''{Control}({NumPad2})''' DelayBetweenKeystrokes: 10 SendTextAsHardwareKeys: False

    There are also better ways to switch from one tab to another, but for now, that should do the trick.

    Please let me know if it works, happy automating!


    If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.
     
    Additionally, I offer specialized consultancy and development services leveraging PAD. If you're interested in exploring these services further, feel free to DM me, and we can initiate a discussion.

    Finally, here is my YOUTUBE CHANNEL please subscribe to my channel and connect with me on LinkedIn Profile.

    Kind regards,
     
    Will SG
    Founder & Director
    RAMSolutions
    www.ramscr.com

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 707

#2
Haque Profile Picture

Haque 475

#3
Valantis Profile Picture

Valantis 456

Last 30 days Overall leaderboard