pywinauto icon indicating copy to clipboard operation
pywinauto copied to clipboard

Is pywinauto's type_keys characters only 249 long?

Open xiaoxiaohuayu opened this issue 1 year ago • 4 comments

Expected Behavior

`

创建当前页面列表

app = pywinauto.Desktop() dlg = app["打开"] dlg.print_control_identifiers() dlg["文件名(&N):Edit"].set_edit_text(“”) ` image

Normal should be all entered

Actual Behavior

Just like the situation in the diagram below image

Short Example of Code to Demonstrate the Problem

app = pywinauto.Desktop() dlg = app["打开"] dlg.print_control_identifiers() dlg["文件名(&N):Edit"].set_edit_text(“”)

Specifications

  • Pywinauto version: 0.6.6

  • Python version and bitness: Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32

  • Platform and OS: Win11

xiaoxiaohuayu avatar Sep 28 '24 05:09 xiaoxiaohuayu

Hello @xiaoxiaohuayu,

I think you need to use semicolon ' ; ' character to separate the file names given in the edit box.

cassini1010 avatar Sep 28 '24 10:09 cassini1010

Hello @xiaoxiaohuayu,

I think you need to use semicolon ' ; ' character to separate the file names given in the edit box.

@cassini1010 I thought that would not work, but I tried it and it was just as I said.

xiaoxiaohuayu avatar Sep 28 '24 12:09 xiaoxiaohuayu

So did it work now? sry i dint get you😑

cassini1010 avatar Sep 30 '24 14:09 cassini1010

So did it work now? sry i dint get you😑

Sorry, there may be some problems with the language translation. The method you mentioned did not work. Later I used win32gui to solve it. But I still hope to use pywinauto to solve it.

xiaoxiaohuayu avatar Oct 03 '24 13:10 xiaoxiaohuayu