autohotkey not able to get Bing Desktop control -
the bing desktop has win + y hotkey toggle display of itself. want bring foreground win + hotkey.
i met problem can't set focus search box controlfocus, edit1 edit1 classnn reported window spy.
the script posted here:
#i:: ifwinexist, ahk_exe bingdesktop.exe { ifwinnotexist, ahk_class bingtoolband { send #y return } winwait, ahk_class bingtoolband winactivate winwaitactive controlfocus, edit1 return } run "c:\program files (x86)\microsoft\bingdesktop\bingdesktop.exe" return
i figured out ahk_class bingtoolband not top windowtitle of bing desktop. should have used 必应bing 缤纷桌面 instead.
Comments
Post a Comment