On Sep 30, 2018, at 6:25 AM, Emre CETIN via python-win32 
<python-win32@python.org> wrote:
> 
> Hello James. Thank you for your advice. I ran Spy++. At the logging options I 
> selected the menu bar portion of the other program. I selected WM_COMMAND 
> only and then chose  all "Additional Windows" (except for the All Windows in 
> System). Then I clicked one of the menu items I wanted: 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?

That's not a class ID, it's a window ID.  You can trigger that by sending the 
exact same message you saw here.
— 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to