按键精灵使别的窗口激活成当前窗口的具体操作步骤如下:
我们需要准备的材料有:电脑
1、首先我们打开要激活的窗口,让按键精灵显示出来,在输入框中输入得到窗口句柄的命令:“Hwnd = Plugin.Window.MousePoint()”。
![](https://iknow-pic.cdn.bcebos.com/79f0f736afc379319a03e883e5c4b74543a91134?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
2、然后我们在该页面中在下一行输入激活窗口的命令中输入“Call Plugin.Window.Active(Hwnd)”
![](https://iknow-pic.cdn.bcebos.com/aec379310a55b319799fecdf4da98226cffc1731?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
3、之后我们在该页面中用鼠标左键单击调试按钮,将按键精灵窗口向左移动一点。
![](https://iknow-pic.cdn.bcebos.com/a8ec8a13632762d0347fca15aeec08fa503dc6d3?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
4、最后我们在该页面中将鼠标放到新建文本文档上,按下键盘快捷键f10,新建文本文档自动就激活成功了。
![](https://iknow-pic.cdn.bcebos.com/c75c10385343fbf24bbccf89be7eca8064388f8c?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)