■ SendKeys 함수를 사용해 키 입력하는 방법을 보여준다.
▶ 예제 코드 (PY)
1 2 3 4 5 6 7 |
import win32com.client shell = win32com.client.Dispatch("WScript.Shell") shell.SendKeys("%") # ALT 키 |
※ pip install pywin32 명령을 실행했다.
.NET6 .NET8 .NETCORE .NETFRAMEWORK 2D AI ANIMATION C# CHART COLLECTION COMMON COMMUNITY TOOLKIT CONCURRENCY CONTROL DATA DATABASE DATE DEVEXPRESS DOCUMENT EDITOR FILE GRAPHICS GRID IMAGE LANGCHAIN LLM MATH MAUI MICROSOFT NETWORK OPENAI ORACLE OS PACKAGE POWERSHELL PYTHON SCOTTPLOT STRING SYSTEM TEECHART TOOL UWP WINFORM WINUI3 WPF