Testing it, I just drew a shape in the frame, then selected the Transform tool, then moved, scaled and rotated, then ran the script. Each time through, it correctly identified the new status (color) of the bounding box, home position = green, transformed position = red.
Could be useful if there were a George command that supplied panning X panning Y scale and angle transform status... even let you update it in a script... I'm still curious what kind of script you are making.
Good luck with it,
Sven
Edit: I just retested some more and you're right it sometimes doesn't work. I think its a problem with how I'm managing the undo stack. Anyway, there's definitely a need for some kind of expanded Transform status command here.