Jump to content
Sign in to follow this  

Animated tray element.

Recommended Posts

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

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
    $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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...