Re: Prevent application launching?
Re: Prevent application launching?
- Subject: Re: Prevent application launching?
- From: Emmanuel <email@hidden>
- Date: Wed, 27 Mar 2002 00:31:36 +0100
At 11:29 PM +0100 26/3/02, Brad Knabel wrote:
>
>
1. Prevent an Applescript from launching an application if it's not running?
Test if the app is in Finder's list of processes before launching the script.
>
2. Determine the frontmost application from within an AppleScript?
Ask Finder. "frontmost" is a property of processes (and of Finder).
Emmanuel
_______________________________________________
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.