菜单弹出后如何自动关闭

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 菜单弹出后如何自动关闭

Re: 菜单弹出后如何自动关闭

by thqby » 06 Jul 2022, 09:09

菜单弹出时,触发EVENT_SYSTEM_MENUPOPUPSTART事件,监听这个事件,能在弹出时触发回调。

https://gitee.com/orz707/Yzime/blob/master/Lib/srf_init.ahk#L150

菜单弹出后如何自动关闭

by fantasyhk » 04 Jul 2022, 21:44

各位老师好!
menu菜单弹出后,脚本是不是就进入了暂停状态。有没有办法设置比如弹出menu后,过一定时间,自动关闭这个菜单?或者,是否可以用另一个脚本判断该菜单已弹出,如何判断?

Top