C# 模拟按键 抛弃sendkeys 使用WindowsInput
今天同事问起Sendkeys 发送时不能带空格,因为之前被sendkeys坑过,所以想起了WindowsInput好用.改了几串代码就满足了需求.
以下实例为自动打开windowssecurity
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Tex.
原创
2020-08-21 15:27:26 ·
2104 阅读 ·
0 评论