To use a do while structure it would be
That is the structure but I see that in your code you are setting the .StatusBar="" which looks like it would cause an infinite loopCode:do while not .StatusBar = "Waiting for Prompt: Default Portal:" 'loop untl the status bar changes to this text .TransmitTerminalKey rcVtUpKey .TransmitTerminalKey rcVtSelectKey .TransmitTerminalKey rcVtRemoveKey .Transmit CR .StatusBar = "" .Transmit "Y" .StatusBar = "" .Transmit CR Loop .Transmit CR .Transmit CR




Reply With Quote