본문 바로가기
프로그래밍/C#

[C#] 키보드 출력을 이용한 매크로

by JR2 2021. 3. 16.

docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys.send?redirectedfrom=MSDN&view=net-5.0#System_Windows_Forms_SendKeys_Send_System_String_

 

SendKeys.Send(String) Method (System.Windows.Forms)

Sends keystrokes to the active application.

docs.microsoft.com

11cc.tistory.com/8

 

Namespace: System.Windows.Forms

SendKeys.Send("A"); //A키 입력

SendKeys.Send("{enter}"); //Enter키 입력

SendKey.Send("^c"); // ctrl+c 입력

 

댓글