HKL:=DllCall("LoadKeyboardLayout", Str, 0x08040804, UInt, 1)
ControlGetFocus, ctl, A
SendMessage, 0x50, 0, HKL, %ctl%, A
;假设任务栏在屏幕底部
SysGet, VWidth, 78
SysGet, VHeight, 79
VWidth := Round(VWidth/2)
VHeight := VHeight-10
BlockInput on
ControlClick,X%VWidth% Y%VHeight%, ahk_class Shell_TrayWnd,, R
Sleep, 300
Send, {t}
Sleep, 300
Send ^#{right}
Sleep, 300
Send, {n}
Sleep, 500
ControlClick, Edit1, 新工具栏 - 选择文件夹,, L
Sleep, 300
Send, %APPDATA%\Microsoft\Internet Explorer\Quick Launch
Sleep, 500
ControlClick, Button1, 新工具栏 - 选择文件夹,, L
Sleep, 500
IfWinExist, 新工具栏 - 选择文件夹
{
WinActivate
ControlClick, Button1, 新工具栏 - 选择文件夹,, L
return
}
BlockInput on
ControlClick,X%VWidth% Y%VHeight%, ahk_class Shell_TrayWnd,, R
Sleep, 300
Send, {L}