• 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: Tell print/close to the frontmost app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tell print/close to the frontmost app


  • Subject: Re: Tell print/close to the frontmost app
  • From: Andy Wylie <email@hidden>
  • Date: Fri, 20 Sep 2002 07:21:54 +1200

on Thu, 19 Sep 2002 14:14:08 +0100 John Delacour wrote:

>That no longer works with OS X, and luckily OS X doesn't need that
>coercion any more. In this case, since print and close are core
>verbs, it's possible to use the name.
>
>
>tell application "Finder"
> set varApp to "" & (name of processes where it is frontmost)
>end tell
>tell application varApp to close window 1

Does nesting the app tell work in ecks?

_____________________________ Andy
_______________________________________________
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.

  • Follow-Ups:
    • Re: Tell print/close to the frontmost app
      • From: John Delacour <email@hidden>
  • Prev by Date: Sounding multiple beeps - a new solution!
  • Next by Date: Re: Queuing a Eudora message...
  • Previous by thread: Re: Sounding multiple beeps - a new solution!
  • Next by thread: Re: Tell print/close to the frontmost app
  • Index(es):
    • Date
    • Thread