• 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
Re: Now is: Finder tell block
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Opening SD's EnclosingFolder
  • Next by Date: Re: Opening SD's EnclosingFolder
  • Previous by thread: Re: Now is: Finder tell block
  • Next by thread: change folder name and move-resend
  • Index(es):
    • Date
    • Thread