cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MatteCrystal
Frequent Visitor

Launch PAD Flow Via Hotkey?

Right now I just bring up the pad window of my Flows and click the play button to run them. How would I activate a flow by pressing Ctrl + Shift + L for example? 

I would want to access most of my flows this way plus some of my flows rely on acting upon the foreground window but the foreground application will always be PAD if I need to click the play button there to activate the flow. 

I also have a stream deck which I can map launching apps from so if hotkeys aren't possible but directly launching some file is then that would also be helpful. 

3 REPLIES 3
miketran13
Impactful Individual
Impactful Individual

Hi,

 

Unfortunately, you can only have a hotkey for terminating your flows / processes but you do not have hotkeys for starting flows / processes.

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

Is their anyway to start flows by manually clicking a file like myFlow.flow for example? That way I can use streamdeck and or autohotkey to manually start a flow that way?

 

pcand1001
Helper I
Helper I

Here is a workaround.
1) Create a flow like described here Flow for desktop 
2) Create a powershell script like

 

$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("sig", "Hoz_REPLACEME")
$headers.Add("Content-Type", "application/x-www-form-urlencoded")
$headers.Add("Hoz_GREPLACEME", "")

$response = Invoke-RestMethod 'https://prod-32.westus.logic.azure.com:443/workflows/REPLACEME/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=REPLACEME' -Method 'POST' -Headers $headers
$response | ConvertTo-Json

 

3) Create shortcut like

 

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\PowerShell\StartTeller.ps1"

 

4) Give your shortcut a hotkey
startteller.png
Voila

BTY, now that you have a script, you can schedule it with Windows task scheduler...
Also added a copy of a shortcut to shell:startup for something I have to do anytime I reboot the machine.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,611)