RE: Handler Weirdness (Solution?)
RE: Handler Weirdness (Solution?)
- Subject: RE: Handler Weirdness (Solution?)
- From: "Grimm, Kenneth" <email@hidden>
- Date: Fri, 28 May 2004 09:47:52 -0400
This is strange. The script lines were commented out that called the
handlers. When I deleted the commented code I didn't need, the handlers were
no longer called and the script executed perfectly.
So it seems that the commented code was somehow being invoked anyway. The
code is gone, script works, so time to move on.
*Adds another "Strange But True" episode to "Life of A Scripter" soap*
Ken
>
----------
>
From: Grimm, Kenneth
>
Sent: Thursday, May 27, 2004 4:13 PM
>
To: Applescript Users
>
Subject: Handler Weirdness
>
>
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.
_______________________________________________
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.