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
Answered

On/Off Button

(0) ShareShare
ReportReport
Posted on by 9

Hi,

i wanted to make a on/off button that not only sees if i press the button (F5) but also can start and stop a script with the same button. 

Thanks!

I have the same question (0)
  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @LightningKing 

     

    It's better if you can give more details what you want is on / off button, but where exactly you need and tell me are you using Power Automate Desktop?

     

    Regards,

    Srini

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @LightningKing 

     

    Are you talking about how to run a flow and run a flow with keyboard shortcurt ?

    Nived_Nambiar_0-1698250402542.png

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • LightningKing Profile Picture
    9 on at

    Thanks, it's pretty much what I was looking for!

  • LightningKing Profile Picture
    9 on at

    By an on/off button I mean that when the program is on, I can immediately pause it with a quick key (f5). And i am indeed working with ms power automate destop on a laptop

  • Verified answer
    Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @LightningKing 

     

    Now if you are running in an Attended Mode, then I believe you can set to your flows to start the flow by going to the 3 dots next to your flow and choose the properties, there it will prompt for "Run with keyboard shortcut" you can set your short cut to start but you will get pause button then you can click that button to pause your flow, I believe currently we don't have shortcut for stop

     

    Srini007_0-1698659850271.png

     

    If you desktop flow is running through cloud flow then you can go to settings next to your environment and you will have different properties to set

     

    Srini007_1-1698659933848.png

     

    Srini007_2-1698659999422.png

     

    It's better to keep different keys, instead of one

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Regards,

    Srini

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 227

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard