Maximilian0017 Posted October 18, 2010 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?
Maximilian0017 Posted October 18, 2010 Author 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now