gpt4 book ai didi

popup - 脚本 : How to give focus to popup window

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:55:44 33 4
gpt4 key购买 nike

我正在以这种方式制作新窗口:

var WSHShell = WScript.CreateObject("WScript.Shell");
WSHShell.Popup("This is popup.");

但是窗口出现在另一个窗口下面。我怎样才能把它移到前面?

最佳答案

也许这会有所帮助:

WScript.Shell.Popup has an undocumented value for the nType parameter which causes the resulting dialogs/popups to “stay on top” / in foreground, meaning that they cannot be hidden by other windows or dialogs: 4096.

WScript.CreateObject("WScript.Shell").Popup("Message", 0, "Title", 4096);

关于popup - 脚本 : How to give focus to popup window,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2261434/

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