ZoomToRange not working in Python OLE

I do have a problem with OLE automation.

import win32com.client as win32
amiB = win32.Dispatch('Broker.Application')
amiW = amiB.ActiveDocument.ActiveWindow;
amiW.ZoomToRange( '2019-01-01','2019-01-12' );  

Throws the following error:

  File "D:/PythonProjekte/AmibrokerCreatingImages/tset2.py", line 11, in <module>
    amiW.ZoomToRange( '2019-01-01','2019-01-12' );

TypeError: 'bool' object is not callable

Does anyone have a idea what the problem might be? Why ZoomToRange might be a bool object???

I have same problem , @Tomasz or anyone can help me.

import win32com.client
AB = win32com.client.Dispatch("Broker.Application")
AB.Visible = 1
AW = AB.ActiveWindow
AW.ZoomToRange("01-01-2022","01-01-2023")

ERROR:
Traceback (most recent call last):
  File "<pyshell#47>", line 1, in <module>
    AW.ZoomToRange("01-01-2022","01-01-2023")
TypeError: 'bool' object is not callable

Thanks for help.