This is probably the simplest and the most usefull of the code, since it's actually toggling the autohide and not just trying to erase the taskbar.
You just forgot the "exit" argument at the end of the script.
Code:
;Open Taskbar properties, toggle autohide taskbar, apply and close window
;------------------------------------------------------------------------
#!t::
Run, RunDLL32.EXE shell32.dll`,Options_RunDLL 1
WinWait, Taskbar and Start Menu Properties
Send, ua{ESC}
exit
Gav_Oracle wrote:
Forget the above post, I've fixed it!
Re-read Tonne's post and noticed the comment about starting on the line below, moved it down so it now looks like this:
Code:
;Open Taskbar properties, toggle autohide taskbar, apply and close window
;------------------------------------------------------------------------
#!t::
Run, RunDLL32.EXE shell32.dll`,Options_RunDLL 1
WinWait, Taskbar and Start Menu Properties
Send, ua{ESC}
Can't believe that's all that was wrong!
Thanks again Tonne!