Re: [python-win32] COM: control menu bar

2018-09-30 Thread Emre CETIN via python-win32
nted: Edit | Select All. It provided me with the following line: WM_COMMAND wNotifyCode:0 (sent from a menu) wID:57642. How can I use this class ID (57642) in Python to act as if it was clicked/pressed? E m r e On Saturday, September 29, 2018, 1:55:37 AM GMT+3, James Scholes wrote: Emre

Re: [python-win32] COM: control menu bar

2018-09-28 Thread Emre CETIN via python-win32
d. E m r e On Tuesday, September 25, 2018, 5:40:49 PM GMT+3, Emre CETIN via python-win32 wrote: Hello Simon. Thank you for your response. I had read of pywinauto but hadn't used it before. After your advise i have been working on it for hours. But unfortunately i can not get th

Re: [python-win32] COM: control menu bar

2018-09-25 Thread Emre CETIN via python-win32
. I'm still stuck :/ E m r e On Tuesday, September 25, 2018, 1:33:01 AM GMT+3, Simon McConnell wrote: I haven't used it myself but I believe this is what pywinauto does:  http://pywinauto.github.io On Tue, 25 Sep 2018 at 02:04 Emre CETIN via python-win32 wrote: Hi, I am writ

[python-win32] COM: control menu bar

2018-09-24 Thread Emre CETIN via python-win32
Hi, I am writing a script to automate a program named Golden Software Surfer. I am using import win32com.client in Python during this process. At one point though i can not get past a certain step of my code. The reason is because Surfer's automation utility (Scipter) does not allow that part to

Re: [python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
an import for it to work: import win32com.client from win32com.client import CastTo  # tried adding this line but it didn't change the error. E m r e On Tuesday, May 22, 2018, 11:09:45 PM GMT+3, Emre CETIN via python-win32 wrote: Thank you for your reply. I wanted to

Re: [python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
x27;t change the error. E m r e On Tuesday, May 22, 2018, 11:09:45 PM GMT+3, Emre CETIN via python-win32 wrote: Thank you for your reply. I wanted to try it but for seom reason the code that has been running without a problem suddenly gave this error: import win32com.client srf = win

Re: [python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
0C02A351Cx0x1x4' has no attribute 'CLSIDToClassMap' Any idea of what this is and how to solve it? E m r e On Tuesday, May 22, 2018, 8:14:34 PM GMT+3, Tim Roberts wrote: Emre CETIN via python-win32 wrote: > Hi, I've been looking for a solution to this

[python-win32] COM Automation: Problem Accessing Property of Object

2018-05-22 Thread Emre CETIN via python-win32
Hi, I've been looking for a solution to this question for some time now. Hopefully you could help me out. There's a program (Golden Software Surfer) that I have successfully automated using Python COM. I normally am able to control every portion I need. The part I have trouble accessing is under