Check icns resources of applet

I am having trouble trying to find out wheter an applet has a modified icon in Finder.
Hint http://bbs.applescript.net/viewtopic.php?id=10591 doesn’t seem to offer a solution,
possibly the syntax of:
get resource name small integer (-- index of the desired resource)
type type class (-- type of the desired resource)
from file specification (-- file to read from)
has changed.

Anybody…?