View Single Post
Quote:
Originally Posted by whpalmer4 View Post
"self" refers to the object in the script, and id of self will give you the id.
Code:
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!)