• 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: Simple newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple newbie question


  • Subject: Re: Simple newbie question
  • From: KOENIG Yvan <email@hidden>
  • Date: Mon, 12 May 2008 20:16:37 +0200

You may try:

tell application "Finder"
try
if "App1" is not in (get every process ) then open application "App1"
open application "App2"
end try
try
if "App1" is in (get every process ) then quit application "App1"
quit application "App2"
end try
end tell


Yvan KOENIG (from FRANCE lundi 12 mai 2008 20:16:32)


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Simple newbie question (From: ba95 <email@hidden>)

  • Prev by Date: Simple newbie question
  • Next by Date: Human readable event codes
  • Previous by thread: Simple newbie question
  • Next by thread: Re: Simple newbie question
  • Index(es):
    • Date
    • Thread