Sign in to follow this  
Followers 0
rasim

Animated tray element.

7 posts in this topic

Hi! Create animated tray looks like Posted Image possible in AutoIT?

Share this post


Link to post
Share on other sites



Hi! Create animated tray looks like Posted Image possible in AutoIT?

Create a different image for each frame, and then TraySetIcon the images.

Share this post


Link to post
Share on other sites

Thanks Paulie, a know about this solution, but i think, what exist another (pretty) solution. :D

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Say you used the freeware application called "Icon Developer" which was built by Stardock - you can find it on the web. You would use it to make two icon files, switch tray icons every 600 milliseconds or so, this way:

$icon01 = @ScriptDir & "\pic01.ico"
$icon02 = @ScriptDir & "\pic02.ico"
$switch = False
AdlibEnable("SwitchIcons", 600)
Func SwitchIcons()
    If $switch Then
        TraySetIcon($icon01)
    Else
        TraySetIcon($icon02)
    EndIf
    $switch = Not $switch; brought to you by forum member - rasim
EndFunc  ;==>SwitchIcons
Edited by Squirrely1

Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

Thanks guys. :D

Share this post


Link to post
Share on other sites
Saunders Nice job! I like it! Thank you! :D

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0