Animate dock icon...is it possible?

Hi!

I want for users of my application to see change of status on dock icon.
Example is MacOSX Mail ( number of mails in red star ), Adium ( online, offline, … status ) or Toast 8 ( animated when starts and ends burning media ).

Is there a simple way to do this with applescript like:

Tell application “Name”
Change application icon
End tell

Thanks in advance

No.

Hi Duke, take a look at Growl

Thanks for fast reply!

Growl is cool but unfortunately I need to do this only with applescript.
If it can’t be done this way I can’t implement this feature…:frowning:

I think that Growl have to be installed on Mac that runs the script, right?
Or there is a way to call Growl abilities without install anything?

as 1802 mentioned, Growl is a background application with can be simply operated by Applescript.
AFAIK there is no direct way to access and change the dock icons

I have found this post: http://bbs.applescript.net/viewtopic.php?pid=63368

Does it help? I have tried the code but it is not working. What has to be changed?

Hi Duke,

your example ist AppleScript Studio code, Apple’s Developer Software,
it doesn’t work in Script Editor.

Oh, I didn’t know. Tell me if I am wrong…If I create an application with Applescript Studio and place it in my application folder, can I then use it with applescript to call this Applescript Studio application?

Sorry for this questions but I have never used applescript before.

Thanks

you can run this code from an AppleScript Studio application.
But you cannot change the icon with plain vanilla AppleScript targeting the application