View Single Post
Originally Posted by whpalmer4 View Post
"self" refers to the object in the script, and id of self will give you the id.
display dialog "My name is " & (name of self as text) & " and my id is " & (id of self as number)
Thanks. I was just coming to reply to my own question with this answer! (Note to self: reading the help files leads to information!)