Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-02-2019, 08:10 AM
Ginfizz Ginfizz is offline
Registered User
Join Date: Feb 2019
Posts: 7
WaitForStrings TypeError in Python

This is occurring in Python. When trying to use WaitForStrings I keep receiving a TypeError which reads as follows:
Error: an integer is required
Line 6
My code is as follows:

result = int(crt.Screen.WaitForStrings(">","#"))

the first line is line 6, the offending line. The error persists if I add a timeout value as well.

Does anyone know why this is happening?
Reply With Quote

python , typeerror , waitforstrings

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 02:15 AM.