c# Sending keyboard commands to another window / process

后端 未结 3 1367
温柔的废话
温柔的废话 2020-12-01 07:58

I am trying to write a program that will take a line of data and pass it into another window / process.

This is the code I have so far, but I have not been able to w

3条回答
  •  旧巷少年郎
    2020-12-01 08:38

    Considering that you know when and what keyboard command you gonna send to Outlook process, you need to use SendMessage Windows API function.

    Just a sample

提交回复
热议问题