Some times, when you call one of your handlers within a ââ?¬Å?tell blockââ?¬, it will be redirected to the targeted application and it will try to execute it as part of its commands; so, this will throw an error. To execute your handler, you will need to add an of me reference following your handler call (or use the possesive my). For example:
tell application "Finder"
-- Do Stuff
myHandler() of me
my ownHandler()
end tell