Pywin32 control windwos toolbar.How to get or send click message those buttons in toolbar?
up vote
0
down vote
favorite
Controls the operation of Windows forms. How to operate the button in the toolbar window. Cannot get the handle in toolbar.
I got one handle for toolbar window ,then there are some buttons in toolbar.I want to distinguish them and click them.
h = win32gui.FindWindow(None,'window')
t = win32gui.FindWindowEx(h, None, 'ToolbarWindow32', None)
-------line----------
I change the module to do the same things.
Now i use pywinauto to control it.I still get the object for toolbar but i have no way to click the button in toolbar.Anybody help?Thank you.
pywin32
add a comment |
up vote
0
down vote
favorite
Controls the operation of Windows forms. How to operate the button in the toolbar window. Cannot get the handle in toolbar.
I got one handle for toolbar window ,then there are some buttons in toolbar.I want to distinguish them and click them.
h = win32gui.FindWindow(None,'window')
t = win32gui.FindWindowEx(h, None, 'ToolbarWindow32', None)
-------line----------
I change the module to do the same things.
Now i use pywinauto to control it.I still get the object for toolbar but i have no way to click the button in toolbar.Anybody help?Thank you.
pywin32
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Controls the operation of Windows forms. How to operate the button in the toolbar window. Cannot get the handle in toolbar.
I got one handle for toolbar window ,then there are some buttons in toolbar.I want to distinguish them and click them.
h = win32gui.FindWindow(None,'window')
t = win32gui.FindWindowEx(h, None, 'ToolbarWindow32', None)
-------line----------
I change the module to do the same things.
Now i use pywinauto to control it.I still get the object for toolbar but i have no way to click the button in toolbar.Anybody help?Thank you.
pywin32
Controls the operation of Windows forms. How to operate the button in the toolbar window. Cannot get the handle in toolbar.
I got one handle for toolbar window ,then there are some buttons in toolbar.I want to distinguish them and click them.
h = win32gui.FindWindow(None,'window')
t = win32gui.FindWindowEx(h, None, 'ToolbarWindow32', None)
-------line----------
I change the module to do the same things.
Now i use pywinauto to control it.I still get the object for toolbar but i have no way to click the button in toolbar.Anybody help?Thank you.
pywin32
pywin32
edited 14 hours ago
asked 16 hours ago
M cache
335
335
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407865%2fpywin32-control-windwos-toolbar-how-to-get-or-send-click-message-those-buttons-i%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown