• 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: Prevent application launching?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent application launching?


  • Subject: Re: Prevent application launching?
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 26 Mar 2002 21:21:51 -0800

On 3/26/02 4:28 PM, "Mr Tea" <email@hidden> wrote:

> This from Mr Tea - dated 26/3/02 10:58 pm:
>
>> This from Brad Knabel - dated 26/3/02 10:29 pm:
>>
>>> Is there a way to either:
>>> 1. Prevent an Applescript from launching an application if it's not running?
>>> or
>>> 2. Determine the frontmost application from within an AppleScript?
>
> Sorry, Brad, my earlier reply was incomplete. To get the frontmost
> application you need something like 'name of (every application process
> whose frontmost is true', wrapped in a Finder 'tell' block.
>
> T.
>
or 'path to frontmost application as string' not wrapped in a Finder block.

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

References: 
 >Re: Prevent application launching? (From: Mr Tea <email@hidden>)

  • Prev by Date: Scripting EPS creation from inDesign
  • Next by Date: Re: [OFF] NeXT stupidity (was Re: Finding folder from its id)
  • Previous by thread: Re: Prevent application launching?
  • Next by thread: Re: Prevent application launching?
  • Index(es):
    • Date
    • Thread