Re: How to get frontmost application?
Re: How to get frontmost application?
- Subject: Re: How to get frontmost application?
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 08 Feb 2002 09:31:24 -0800
On 2/8/02 5:24 AM, "Michelle Steiner" <email@hidden> wrote:
>
On 2/8/02 12:03 AM, Paul Berkowitz <email@hidden> wrote:
>
>
> How about:
>
>
>
> set frontApp (path to frontmost application) as string
>
>
>
> Then, at end:
>
>
>
> tell application frontApp to activate
>
>
But wouldn't the script's applet become the frontmost application when
>
it's launched? Therefore, it would not know what was frontmost just
>
before it was launched. Even worse, launching it would probably make the
>
Finder the frontmost app just before it was launched.
-- not if it's running from another application's internal script menu. Such
apps as I know don't have to be in the front when they run scripts from
timed schedules. I don't know what the situation is here, of course.
--
Paul Berkowitz
_______________________________________________
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.