• 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: Lookup if an application...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lookup if an application...


  • Subject: Re: Lookup if an application...
  • From: John Delacour <email@hidden>
  • Date: Thu, 19 Sep 2002 13:43:15 +0100

At 1:48 pm +0200 19/9/02, Bjorn Van Blanckenberg wrote:

I want to lookup if Quark by application file id is running and if it is
running quit it.

No need for all those words, even if it is AppleScript :

set prox to {}
tell app "Finder"
try
set prox to name of processes whose creator type contains "XPR"
end
end
repeat with i in prox
tell app i to quit
end


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

  • Follow-Ups:
    • Re: Lookup if an application...
      • From: Bjorn Van Blanckenberg <email@hidden>
References: 
 >Lookup if an application by application file id is running and if it is running quit it (From: Bjorn Van Blanckenberg <email@hidden>)

  • Prev by Date: iCal notification emails -> mailScript.applescript
  • Next by Date: Re: Tell print/close to the frontmost app
  • Previous by thread: Lookup if an application by application file id is running and if it is running quit it
  • Next by thread: Re: Lookup if an application...
  • Index(es):
    • Date
    • Thread