• 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: How to get frontmost application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get frontmost application?


  • Subject: Re: How to get frontmost application?
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 07 Feb 2002 23:03:14 -0800

How about:

set frontApp (path to frontmost application) as string

Then, at end:

tell application frontApp to activate

--
Paul Berkowitz

> From: Jeff Porten <email@hidden>
> Date: Fri, 08 Feb 2002 01:29:15 -0500
> To: <email@hidden>
> Subject: How to get frontmost application?
>
> I would like to run a script that gets the current frontmost application at
> launch, so it can reactivate that application when it's done. Can't figure
> out for the life of me how to do that.
>
> This is for a script that will run as an application in both OS 9 and OS X,
> and will usually run in the background but will self-activate at intervals.
>
> Thanks in advance,
> Jeff Porten
>
>
> -----
> Jeff Porten http://www.jeffporten.com
> State of the Union: Cry Havoc!
>
> CEO, Plenarcast http://www.plenarcast.com
> The Value of a Conference, the Convenience of Home
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >How to get frontmost application? (From: Jeff Porten <email@hidden>)

  • Prev by Date: How to get frontmost application?
  • Next by Date: Re: Coercing date to real
  • Previous by thread: How to get frontmost application?
  • Next by thread: Re: Coercing date to real
  • Index(es):
    • Date
    • Thread