Hello,
I am trying to create a script and I can't get the WaitForString line to see the output from the device I am writing the script for. This is the line from the controller that I need to write the WaitForString line to trigger from.
(WP651) (AP group "test") #
This is what I have written so far. The Devname variable listed here is used so the controller name, in this case WP651 can be stored in a variable since the WaitForString will need to see it for the script to work. I have it collected in an input box when the script starts. This variable changes based on which controller the script is ran on, so the name can't be hardcoded.
crt.Screen.WaitForString "(" & Devname & ") (AP group "& sAPgroup &") #"
I think the problem is the WaitForString is not recognizing the quotes around the sAPgroup variable that the controller is inserting. Is there a way to modify this line to see the quotes?
I am trying to create a script and I can't get the WaitForString line to see the output from the device I am writing the script for. This is the line from the controller that I need to write the WaitForString line to trigger from.
(WP651) (AP group "test") #
This is what I have written so far. The Devname variable listed here is used so the controller name, in this case WP651 can be stored in a variable since the WaitForString will need to see it for the script to work. I have it collected in an input box when the script starts. This variable changes based on which controller the script is ran on, so the name can't be hardcoded.
crt.Screen.WaitForString "(" & Devname & ") (AP group "& sAPgroup &") #"
I think the problem is the WaitForString is not recognizing the quotes around the sAPgroup variable that the controller is inserting. Is there a way to modify this line to see the quotes?