01-15-2025, 02:58 PM
LitDev,
In my program I put the following:
While key <> "Return"
key = GraphicsWindow.Lastkey
EndWhile
LDTextWindow.SendKey(GraphicsWindow.Title,"Space") 'Send a Space key so initially LastKey is not Return
key=GraphicsWindow.LastKey
TW.WriteLine(key)
GraphicsWindow.LastKey still thinks it was the "Return" key
Then I tried just this:
While key <> "Return"
key = GraphicsWindow.Lastkey
EndWhile
TextWindow.WriteLine("H")
When I run this and hit the return key it doesn;t do the TW. Any idea?
In my program I put the following:
While key <> "Return"
key = GraphicsWindow.Lastkey
EndWhile
LDTextWindow.SendKey(GraphicsWindow.Title,"Space") 'Send a Space key so initially LastKey is not Return
key=GraphicsWindow.LastKey
TW.WriteLine(key)
GraphicsWindow.LastKey still thinks it was the "Return" key
Then I tried just this:
While key <> "Return"
key = GraphicsWindow.Lastkey
EndWhile
TextWindow.WriteLine("H")
When I run this and hit the return key it doesn;t do the TW. Any idea?