Maximilian0017 0 Posted October 18, 2010 Hi,After seeing the ANYGUI_Example_Notepad.au3 i was wondering if it would be possible to build a script that actively looks for file property windows and removes the Shortcut tab.The search function didn't really help either and it seems that ANYGUI doesn't have anything to remove a tab.(p.s. random properties window from the net)Any idea's? Share this post Link to post Share on other sites
Maximilian0017 0 Posted October 18, 2010 Another question, is there some kind of event i can monitor for any kind of window being opened?, would like to remove Sleep(10) and have something that will take the least possible cpu time. ;AutoItSetOption("TrayIconHide",1) ; Hide tray icon AutoItSetOption("WinTitleMatchMode",2) While 1 Sleep(10) $var = WinList("[TITLE:Properties;CLASS:#32770]") For $i = 1 to $var[0][0] If $var[$i][0] <> "" AND IsVisible($var[$i][1]) Then DoSomething($var[$i][1]) EndIf Next WEnd Func IsVisible($handle) If BitAnd( WinGetState($handle), 2 ) Then Return 1 Else Return 0 EndIf EndFunc Func DoSomething($handle) MsgBox(0, "Details", "Title=" & $var[$i][0] & @LF & "Handle=" & $var[$i][1]) EndFunc Share this post Link to post Share on other sites