Sunday, June 5, 2011

taskbar - autohide script

run Rundll32.exe C:\WINDOWS\SYSTEM32\SHELL32.DLL`,Options_RunDLL 1
title := "Taskbar and Start Menu Properties"
WinWaitActive %title%,,5
if ErrorLevel
TrayTip,, failed (probably) try again

;ControlGetText,text,Button2
ControlGet, text, Checked,, Button2

;msgbox %text%

ControlSend, Button2,{Space} , %title%
Sleep,500
ControlClick, OK, %title%
Sleep,100
WinClose %title%

No comments: