#NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseUpx=n #AutoIt3Wrapper_Res_Comment=SlideshowToggle #AutoIt3Wrapper_Res_Description=SlideshowToggle #AutoIt3Wrapper_Res_Fileversion=1 #AutoIt3Wrapper_Res_LegalCopyright=©2009 Michael Michta #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ;Toggles the display of the slideshow gadget on the Windows Sidebar #NoAutoIt3Execute $Handle=WinGetHandle("Slide Show") $State=WinGetState($Handle) $NewState=@SW_HIDE If Not BitAnd($State,2) then $NewState=@SW_SHOW $State=WinSetState($Handle,"",$NewState)