Showing results for 
Search instead for 
Did you mean: 
New Member

Simulate Keyboard Key Press/Hold

I'm trying to simulate the Send Mouse click (down), Wait, Send mouse click (up) action, but with a generic keyboard key (e.g., "f"). I'd like to be able to specify the key and the "hold down" duration. I know this can be done for the Cntrl, Shift, and Alt, but my use case requires a typical alphanumeric key. I tried the Desktop recorder, but upon playback, it didn't really replicate the key hold. Any ideas? Thanks.

New Member

bump, I'm after the same functionality

Super User
Super User

Looks like AutoHotKey can do this.  I haven't ever used it, but I would research setting this up in AutoHotKey, and then you have to find out how you can use PAD to call a simple AutoHotKey script.


Best of Luck!

Helpful resources

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.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,952)