• 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
Handler Weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handler Weirdness


  • Subject: Handler Weirdness
  • From: "Grimm, Kenneth" <email@hidden>
  • Date: Thu, 27 May 2004 17:13:58 -0400

All:

OS 9.2.2, AS 1.8.3, Script Debugger

For some reason, handlers are being executed that are never called by the
script.

property: blah
(several property declarations here)

global: blah
(several global declarations here)

lines of script here

on handler1
lines of handler code
end handler1

on handler2
lines of handler code
end handler2

on handler3
lines of handler code
end handler3


The script errors on "lines of handler code" in the hander2 area. Handler 2
IS NEVER CALLED from script.

Why is it even executing? This is hitting the "run" button in SDebugger,
debugging off. With debugging on, it stops at the error and highlights all
the code from the error to the end of the lines of code in the script.

What am I missing?

Ken Grimm
Prepress Manager
San Angelo Standard-Times
34 W. Harris
San Angelo Texas 76903
email@hidden
325-659-8357
cell: 325-374-4238
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: List of items of a hard disk
  • Next by Date: Re: Folder Actions: specific complaints please
  • Previous by thread: Prevent control key "run or quit" dialog
  • Next by thread: OK, I give up (Or: How to fill in a cell in Excel 2004)
  • Index(es):
    • Date
    • Thread