I have done this before to animate an OSX dock icon, when something happens in the app.. But for the life of me i cant seem to get it to work today.
Am i missing something obvious..?
I have a png image on the card "test.png" id = 1986
I have tried to switch out the dock icon for the png using the following commands but none are now successful. I don't remember it being more difficult than this. I am wondering if it is still supported in Lion.
Code: Select all
set the icon of this stack to 1986
Code: Select all
set the icon of this stack to img "test.png"
Code: Select all
set the icon of this stack to the short id of img "test.png"