151
General Software Discussion / Re: Advice needed on AHK script
« on: May 08, 2013, 05:24 AM »
Just tried the new version of CleanTray, it removed all 4 icons instantly, it left 4 empty spaces at the right hand end of the tray (with the Task Manager NOT running), it rearranged the icons. Basically it's doing the same as the previous version.
It would appear to be true that it is the taskkill command that is causing the icons to be left behind but I could not find anything else that would shut all 3 (XP) or 4 (7) programs down and remove the icons at the same time.
The program I put together from the script I found works, as I said above the way I put it together may not be very elegant but what surprised me was that I finished up with a 2kb script while the other 2 scripts I found at the same time are both 8kb.
Not only does it work but it has no unwanted side effects like leaving empty spaces or rearranging icons, anything else we came up with might be more elegant but it would not do a better job.
I think I'll leave this one as is and try to sort out the few other's I am working on.
It would appear to be true that it is the taskkill command that is causing the icons to be left behind but I could not find anything else that would shut all 3 (XP) or 4 (7) programs down and remove the icons at the same time.
The program I put together from the script I found works, as I said above the way I put it together may not be very elegant but what surprised me was that I finished up with a 2kb script while the other 2 scripts I found at the same time are both 8kb.
Not only does it work but it has no unwanted side effects like leaving empty spaces or rearranging icons, anything else we came up with might be more elegant but it would not do a better job.
I think I'll leave this one as is and try to sort out the few other's I am working on.