teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

補足を追加

2020/09/25 03:02

投稿

Daregada
Daregada

スコア11990

answer CHANGED
@@ -1,3 +1,8 @@
1
1
  `hotkey`を使ってください。
2
2
 
3
- `pg.hotkey('win')`とか`pg.hotkey('ctrl', 'esc')`とすれば、スタートメニューが開きます。
3
+ `pg.hotkey('win')`とか`pg.hotkey('ctrl', 'esc')`とすれば、スタートメニューが開きます。
4
+
5
+ > The hotkey() Function
6
+ To make pressing hotkeys or keyboard shortcuts convenient, the hotkey() can be passed several key strings which will be pressed down in order, and then released in reverse order.
7
+
8
+ [Keyboard Control Functions — PyAutoGUI documentation](https://pyautogui.readthedocs.io/en/latest/keyboard.html)