系统没有办法进行后台组合键操作吗,比如复制以后,在后台进行粘贴,还有进行全选的组合键
RunApp "notepad.exe"
Hwnd = Plugin.Window.Find("notepad", 0)
TracePrint Hwnd
HwndEx = Plugin.Window.FindEx(Hwnd, 0, "Edit", "")
TracePrint HwndEx
Clipboard = Plugin.Sys.GetCLB()
Plugin.bgkms6_10.SendString HwndEx, Clipboard, 0
//Plugin.bgkms6_10.SendString HwndEx, "123", 0
//Plugin.bgkms6_10.KeyDown HwndEx, 17
//Plugin.bgkms6_10.KeyPress HwndEx,65
//Plugin.bgkms6_10.KeyUp HwndEx, 17
Call Plugin.Bkgnd.LeftClick(HwndEx, 0, 0)
Call Plugin.Bkgnd.KeyDown(HwndEx, 17)
Call Plugin.Bkgnd.KeyPress(HwndEx, 65)
Call Plugin.Bkgnd.KeyUp(HwndEx, 17)
Delay 1000
//Plugin.bgkms6_10.KeyDown HwndEx, 17
//Plugin.bgkms6_10.KeyPress HwndEx,67
//Plugin.bgkms6_10.KeyUp HwndEx, 17
//Clipboard = Plugin.Sys.GetCLB()
//TracePrint Clipboard