In case you look here again.
For the numerical keys use macros:
Do an IF command, click IF, select Press Time, use 1 second. Under IF use the desired numerical IR code.
Then under the ELSE insert the JUMP command to the desired destination.
Short press will operate the desired numerical key. Long press will Jump to the desired device/location.