Capturing current handler name in a string variable
Capturing current handler name in a string variable
- Subject: Capturing current handler name in a string variable
- From: billp <email@hidden>
- Date: Mon, 24 Dec 2001 19:02:05 -0600
Hello.
I have a lengthy script that does a number of searches and replaces in
Word (calling VB). The script relies on probably 60 or more handlers,
and the actual order of execution is changeable, as is the use or non-use
of a number of handlers, due to a decision tree early in the script.
I would like to create a new handler that reads a particular paragraph
from the document after each major step and writes it to a text file.
Let's just say this is paragraph number 355. In addition, above each
writing of paragraph 355, I would like to write the name of the handler
that was being called at the time. This leads to the question: is it
possible in AppleScript to capture the name of a particular handler or
object being referenced at a given time and set it as a string to a
variable?
Thanks!
Bill Planey