Re: Now is: Finder tell block
Re: Now is: Finder tell block
- Subject: Re: Now is: Finder tell block
- From: email@hidden
- Date: Tue, 5 Mar 2002 13:28:56 EST
Forgive me if this issue has already been addressed, but I'm wondering if
using a handler offers any relief to the dangers of nested tell blocks. In
other words:
on doQuarkStuff()
tell application "QuarkXpress" to do something clever
end tell
end doQuarkStuff
tell application "Finder"
if (get something important) is true then
my doQuarkStuff()
end if
end tell
Obviously, this bogus script could easily be flattened out. But sometimes
you're deep in a tell block to one application and then need to find out
something from another. In such a case, is there any advantage to using a
handler?
Robert Kyle
Star Tribune
Minneapolis
_______________________________________________
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.