• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Capturing current handler name in a string variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Capturing current handler name in a string variable
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Scale a GIF with QT: possible?
  • Next by Date: Re: Definitely a bug
  • Previous by thread: Re: Scale a GIF with QT: possible?
  • Next by thread: Re: Capturing current handler name in a string variable
  • Index(es):
    • Date
    • Thread