Re: Wait for shortcut - Cancel timeout
Then can you show how your flow looks? Is there a lot of actions between the Wait for shortcut -action and start of the error block / label where the flow goes to when timeout error happens? If so I suggest you cut down actions in between so that there is less chance its gotten to error and on some other actions when you actually press the shortcut.
Maybe make it be in a subflow that only has the on block error and wait for short cut key (or atleast nothing before the Wait for shortcut key). And when it times out have the On block error to be set that if error happens go to the beginning of the error block.

And if you run the flow from the edit mode then make sure your Run delay is at minimum (1)

Other possibility could try making a script like PowerShell script that waits for that shortcut key. I haven't tested if this goes to timeout error at some point if the wait is for hours.
This script waits for Ctrl + Alt + A to be pressed:
Add-Type @"
using System;
using System.Runtime.InteropServices;
public class Keyboard
{
[DllImport("user32.dll")]
public static extern short GetAsyncKeyState(int vKey);
}
"@
function WaitForKeyPress {
param (
[int]$vkCtrl = 0x11,
[int]$vkAlt = 0x12,
[int]$vkA = 0x41
)
while ($true) {
Start-Sleep -Milliseconds 100
$ctrlPressed = [Keyboard]::GetAsyncKeyState($vkCtrl) -lt 0
$altPressed = [Keyboard]::GetAsyncKeyState($vkAlt) -lt 0
$aPressed = [Keyboard]::GetAsyncKeyState($vkA) -lt 0
if ($ctrlPressed -and $altPressed -and $aPressed) {
Write-Output "Ctrl + Alt + A pressed"
break
}
}
}
WaitForKeyPress
If you want to change the shortcut keys here is a list of the virtual key codes:
https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
And change the codes there:
