there are no discrete codes for that, but it is possible if you have the MSC-400 processor. Do you also have a MSC-400? I made it work with a MX-5000 and MSC-400. The macro is running in the MSC because it is quite long. This way no command can't get lost on the way. And chances are big it will happen, because the macro is pretty long. Also here and there I had to adapt it, since MS changed something in their UI.
The first thing I did is stopping the time it takes the xbox one to boot. I did it a few times and took the longest time. Then I stopped the time it takes the xbox to boot up from standby. I made a variable called standby which get's set as true once the xbox was started the first time. Next I wrote down the steps to get to the netflix app in the xbox menu including delays and everything. Then you use if else and query the standby variable to know if you need the long or the short delay. After that you rebuild the steps you wrote down. Takes a good amount of time to get it right but it works pretty well (until the next update).