gpt4 book ai didi

Autohotkey:打开 Windows 资源管理器并等待事件窗口,然后再继续

转载 作者:行者123 更新时间:2023-12-02 01:48:41 24 4
gpt4 key购买 nike

真的很挣扎。

我需要在指定的域中简单地打开一个 Windows 资源管理器窗口,等待它处于事件状态然后继续。这是我目前所拥有的:

#::
{
WinGet, old_active, ID, A
Run, explore C:\Users\Nathan\Documents\Test FDA

loop{
WinGet, new_active, ID, A
if(ahk_id %new_active% != ahk_id %old_active%)
{
WinMaximize, A
break
}
}
return
}

编辑解决了?>>>

不知道 WINDOW SPY 的存在 :(((

浪费了很长时间,这很有效。

[::

{

Run explore C:\Users\Nathan\Documents\Test FDA

WinWaitActive Test FDA

WinMaximize A

return

}

最佳答案

这个怎么样?

"F12::窗口浏览器: WinWaitActive, Windows 资源管理器,, 0.01 如果错误级别 { 转到 WINDOWEXPLORER } 别的 {; SoundBeep 4500, 30 返回 }"

关于Autohotkey:打开 Windows 资源管理器并等待事件窗口,然后再继续,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24070236/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com