You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just modify application.py about def print_identifiers():
the third line from bottom
print(output.encode(locale.getpreferredencoding(), errors='backslashreplace'))
to be
print(output)
Hello,V
when i used print_control_identifiers() ,i got something like these
Control Identifiers:
b'\nNotepad - '\xce\xde\xb1\xea\xcc\xe2 - \xbc\xc7\xca\xc2\xb1\xbe' (L782, T215, R2016, B1030)\n['Notepad', '\xce\xde\xb1\xea\xcc\xe2 - \xbc\xc7\xca\xc2\xb1\xbe', '\xce\xde\xb1\xea\xcc\xe2 - \xbc\xc7\xca\xc2\xb1\xbeNotepad']\nchild_window(title="\xce\xde\xb1\xea\xcc\xe2 - \xbc\xc7\xca\xc2\xb1\xbe", class_name="Notepad")'
b' | \n | Edit - '' (L790, T265, R2008, B1022)\n | ['\xce\xde\xb1\xea\xcc\xe2 - \xbc\xc7\xca\xc2\xb1\xbeEdit', 'Edit']\n | child_window(class_name="Edit")'
b' | \n | StatusBar - '' (L790, T1000, R2008, B1022)\n | ['StatusBar \xb5\xda 1 \xd0\xd0\xa3\xac\xb5\xda 1 \xc1\xd0', '\xce\xde\xb1\xea\xcc\xe2 - \xbc\xc7\xca\xc2\xb1\xbeStatusBar', 'StatusBar']\n | child_window(class_name="msctls_statusbar32")'
I know they were about controls info ,however these texts of controls were bytes,so how can make them to be decoded?
The text was updated successfully, but these errors were encountered: