Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PywinAuto を使用してシステム トレイ アイコン (ボリューム) をクリックする方法
ここに最初のボタンをクリックする方法の例があります。info.textを使用して、音量ボタンを探すことができます。
from pywinauto import taskbar sti = taskbar.SystemTrayIcons.WrapperObject() print 'Clicking ', sti.Button(0).info.text sti.Button(0).Click()