web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard