tlokz Posted September 23, 2008 Posted September 23, 2008 Ok is there any way that can successfully clean all orphaned icons from a tray? I used a func I coded a while ago for a while but its not very effective and requires an extra include just for that func. It doesn't clean the hidden ones also Inital Func:Func _CleanTray() Local $desktophandle = _WinAPI_GetDesktopWindow() Local $desktopheight = _WinAPI_GetClientHeight($desktophandle) Local $desktopwidth = _WinAPI_GetClientWidth($desktophandle) Local $firstcoordx = (800 / 1024) * $desktopwidth Local $bothcoordy = (755 / 768) * $desktopheight Local $secondcoordx = (1000 / 1024) * $desktopwidth MouseMove($firstcoordx, $bothcoordy, 0) MouseMove($secondcoordx, $bothcoordy, 10) MouseMove($firstcoordx, $bothcoordy, 10) EndFunc ;==>_CleanTrayAny better way to do this?
herewasplato Posted September 23, 2008 Posted September 23, 2008 Try the code in this post by Valik:http://www.autoitscript.com/forum/index.ph...ost&p=52523 [size="1"][font="Arial"].[u].[/u][/font][/size]
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