Re: Tell print/close to the frontmost app
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.