SendKeys or SendTextEntry to a game

后端 未结 1 1442
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-26 03:32

I want to make a program to save some server IP addresses and use one of them whenever the user want to use it.

And the game does not support to the copy paste command.

相关标签:
1条回答
  • 2021-01-26 04:09

    How to move the cursor or simulate clicks for other applications?

    see Pietu1998's answer about uiaccess

    Right click on your project and do "Add-->New Item"

    Choose Application Manifest File.

    Change:

    <requestedExecutionLevel level="asInvoker" uiAccess="false" />
    

    to:

    <requestedExecutionLevel level="asInvoker" uiAccess="true" />
    
    0 讨论(0)
提交回复
热议问题