d00dness Posted July 23, 2012 Share Posted July 23, 2012 Good afternoon. I was wondering if there was a function that detects icon changes. I want to be able to fire off different functions if the icon changes to a different icon. Thanks... Link to comment Share on other sites More sharing options...
GajjarTejas Posted July 23, 2012 Share Posted July 23, 2012 First use resHacker to extract destination icon then compare it. Link to comment Share on other sites More sharing options...
JohnOne Posted July 23, 2012 Share Posted July 23, 2012 You could use _AreIconsEqual() to make a func yourself maybe. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Zedna Posted July 23, 2012 Share Posted July 23, 2012 I want to be able to fire off different functions if the icon changes to a different icon.Do you mean icon of your GUI window or application icon of external application or tray icon of your/external application? Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
d00dness Posted July 23, 2012 Author Share Posted July 23, 2012 Sorry about that, an application icon... Tks for the responses also.... Link to comment Share on other sites More sharing options...
Zedna Posted July 23, 2012 Share Posted July 23, 2012 (edited) There is window's message WM_SETICON so you can use GUIRegisterMessage() for this message if it's your own application/window.http://msdn.microsoft.com/en-us/library/windows/desktop/ms632643%28v=vs.85%29.aspx Edited July 23, 2012 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Attckdog Posted July 23, 2012 Share Posted July 23, 2012 If it's a simple change of the image a single pixel search might work, maybe slow? A true renaissance man Link to comment Share on other sites More sharing options...
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