I have the full macro working, except it is not consistent. There seem to be 2 problems.
Problem 1:
The first command is Text Type: <SHIFTD><HOME><SHIFTU> to highlight the ticker that I just typed and then I do a clipboard copy. This works the first time and maybe the second and third time I run the macro, but after a few runs it seems to stop working. I put in a delay of 2 seconds so I can see what is happening. When it stops working the text is not highlighted but the cursor goes to the start. So the <HOME> command still runs, but it is like the SHIFT key is not being pressed. What could cause the macro to start behaving differently?
Problem 2:
The TradeStation behavior is also inconsistent. I'm calling Window Activate, then Type Clipboard Text, then Text Type: <ENTER> and then Wait for Text Playback. In some cases this works and at other times it seems the platform was activated but the text did not go through. I'm wondering if this might be a timing issue and I need to delay just a little bit after activating the window.