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: 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.